473,395 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Hyperthreading & VC7.1

Does VC7.1 support hyperthreading?

I looked in the documentation but I could find no reference at all.
Nov 16 '05 #1
8 1641
Andrew Maclean wrote:
Does VC7.1 support hyperthreading?

I looked in the documentation but I could find no reference at all.


Hyperthreading is supported by Windows XP, Windows 2000 SP3 (I believe) and
Windows Server 2003. There's no compiler support necessary. The
OS-provided support simply exposes multiple "virtual processors", so a
machine with a single HT-capable CPU will appear to have two processors.

-cd
Nov 16 '05 #2
> Hyperthreading is supported by Windows XP, Windows 2000 SP3 (I believe)
and
Windows Server 2003. There's no compiler support necessary. The
OS-provided support simply exposes multiple "virtual processors", so a
machine with a single HT-capable CPU will appear to have two processors.


Intel recommends that Hyper-Threading should be disabled for *all* Win2000
systems (at least it's still posted at their site)
Nov 16 '05 #3
Hi John,
Intel recommends that Hyper-Threading should be disabled for *all* Win2000
systems (at least it's still posted at their site)


Weird. Anyway, for anyone interested in this, there's a good article (albeit
a little bit old) from MS regardgin HT support for windows here:
http://www.microsoft.com/windows2000...yperthread.asp

--
Tomas Restrepo
to****@mvps.org
Nov 16 '05 #4
Hi John,
http://www.intel.com/support/platfor...iid=ipp_htm+os


Sounds like a little FUD to me. The page clearly mentions at the begining
that it references OSs with HT optimizations, which indeed Win2k doesn't
have. In particular, it has two problems:
1- It cannot distinguish between logical and physical processors, which has
licensing issues
2- because of 1, the OS doesn't take into account the difference when
scheduling threads, leading to sub-optimal scheduling (because of possible
extra context changes when moving threads between physical processors)

It works, though, from what little I've seen...
--
Tomas Restrepo
to****@mvps.org
Nov 16 '05 #6

"John Smith" <_nospam@_nospam.com> wrote in message news:el**************@TK2MSFTNGP12.phx.gbl...
Hyperthreading is supported by Windows XP, Windows 2000 SP3 (I believe)

and
Windows Server 2003. There's no compiler support necessary. The
OS-provided support simply exposes multiple "virtual processors", so a
machine with a single HT-capable CPU will appear to have two processors.


Intel recommends that Hyper-Threading should be disabled for *all* Win2000
systems (at least it's still posted at their site)


I use XP and disabled HT because it seem compile time goes up with it enabled.
I turn it on for testing/bebugging purposes (short of using a dual processor system)

So I'm not sure VC7.1 is multithreaded optimized. (compile process)
What I noticed also in the compile process is bunch of dead CPU time,
so I'm guessing the the compiler dont build an async queue of file to read/write ?

Stephan
Nov 16 '05 #7
Stephan Schaem wrote:
I use XP and disabled HT because it seem compile time goes up with it
enabled.
I turn it on for testing/bebugging purposes (short of using a dual
processor system)

So I'm not sure VC7.1 is multithreaded optimized. (compile process)
What I noticed also in the compile process is bunch of dead CPU time,
so I'm guessing the the compiler dont build an async queue of file to
read/write ?


Correct. The compiler is a completely synchronous, single-threaded process.

I use XP and leave hyperthreading enabled because I feel that it improves
overall system performance, especially when running a compute-intensive
application. The performance of a single-threaded application will likely
be lower with HT enabled, but the impact that compute-intensive process has
on system responsiveness (mouse responsiveness, for example) is greatly
reduced over the non-HT case.

-cd
Nov 16 '05 #8
Whidbey alpha has support for maximum concurrent builds. And you can specify
how many. It's pretty nice for HT and more than one CPUs.

"Stephan Schaem" <ss*****@seriousmagic.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

"John Smith" <_nospam@_nospam.com> wrote in message news:el**************@TK2MSFTNGP12.phx.gbl...
Hyperthreading is supported by Windows XP, Windows 2000 SP3 (I
believe) and
Windows Server 2003. There's no compiler support necessary. The
OS-provided support simply exposes multiple "virtual processors", so a
machine with a single HT-capable CPU will appear to have two
processors.
Intel recommends that Hyper-Threading should be disabled for *all* Win2000 systems (at least it's still posted at their site)


I use XP and disabled HT because it seem compile time goes up with it

enabled. I turn it on for testing/bebugging purposes (short of using a dual processor system)
So I'm not sure VC7.1 is multithreaded optimized. (compile process)
What I noticed also in the compile process is bunch of dead CPU time,
so I'm guessing the the compiler dont build an async queue of file to read/write ?
Stephan

Nov 16 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BlackHawke | last post by:
Hello! I have a java application (a game) which is supposed to run as a server. It is on a dedicated machine with MP capabilities, but currently running 1 Xeon processor with hyperthreading. ...
5
by: Garry Hodgson | last post by:
a colleague of mine has seen an odd problem in some code of ours. we initially noticed it on webware, but in distilling a test case it seems to be strictly a python issue. in the real system, it...
1
by: smith | last post by:
I was recently set to release an app that used very common single instance code and hit the oddest issue. After many hours of full build tests I believe that it is duplicatable. Environment: ...
0
by: octaviansen | last post by:
Hi, I am experiencing some weird problems with an ASP.NET web application that is making use of System.Data.DataSet and System.Data.DataRow classes. On a machine with single CPU, the...
4
by: Firdousi Farozan Z | last post by:
Hi All, I have a Java multithreaded application, that makes several JNI calls (native code written in C++). I use database locks all through the C++ code for synchronization. With...
0
by: GeorgeB | last post by:
HI, I created an ASP.NET application which runs on win 2003 server and IIS6 with hyperthreading enabled. I keep getting the following error: Path: /Login.aspx. Source: System.Web at...
1
by: joerg | last post by:
Hello, we investigated a performance-drop while using DB2 V8.1 on a Linux-Server (SuSE - SLES) and Hyperthreading activated. (Dual XEON 2.4 2GB) The intraparallel-option is set and the client...
6
by: Param - Home | last post by:
Hi all, we are in the process of getting a new server and wanted to know whether it is worth getting a dual cpu or just a single cpu like a p4 3ghz with hyperthreading? How does asp.net web...
1
by: smith | last post by:
I was recently set to release an app that used very common single instance code and hit the oddest issue. After many hours of full build tests I believe that it is duplicatable. Environment: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.