473,569 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1654
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@_nospa m.com> wrote in message news:el******** ******@TK2MSFTN GP12.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*****@seriou smagic.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..

"John Smith" <_nospam@_nospa m.com> wrote in message news:el******** ******@TK2MSFTN GP12.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
4245
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. The hyperthreading is causing the process to receive no more than 50% of the CPU cycles. I've been told that the app needs to be changed to be SMP...
5
2387
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 manifests as webware just locking up, for no apparent reason, until we kill it. we've also had the python interpreter running webware die on...
1
1692
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: ..Net 1.1 (v1.1.4322) Windows 2000Pro HyperThreading machine
0
347
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 application is running fine. On a machine with Hyperthreading CPU, after a couple of seconds of running OK, the
4
2832
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 Hyperthreading disabled, I am not seeing any issues with my application. When I enable hyperthreading, my application hangs after a while. Analyzing the issue,...
0
1366
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 System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadPageViewState() at System.Web.UI.Page.ProcessRequestMain()
1
2301
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 establishes 10 independant threads. With hyperthreading activated, the performance drop with factor 2 (4 min -> 8 min). Is there any possibility to...
6
1377
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 gardening work with hyperthreading cpus? TIA!
1
1403
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: ..Net 1.1 (v1.1.4322) Windows 2000Pro HyperThreading machine
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7679
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6287
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.