Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Odd hyperthreading behavior

Author: Robert Hyatt

Date: 19:53:29 10/05/03

Go up one level in this thread


On October 05, 2003 at 21:57:51, Jeremiah Penery wrote:

>On October 05, 2003 at 16:43:21, Eugene Nalimov wrote:
>
>>On October 05, 2003 at 15:41:33, Jeremiah Penery wrote:
>>
>>>On October 05, 2003 at 13:46:51, Vincent Diepeveen wrote:
>>>
>>>>There are windows functions to attach a certain process to a certain cpu.
>>>
>>>Yes, I know, it's very easy for a single-threaded process.
>>>
>>>>Really nothing new. Was there in NT already years ago.
>>>
>>>Can you set a process to have affinity for multiple CPUs?
>>
>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/setthreadaffinitymask.asp
>
>Ok, so it has to be hardcoded in.  A little bit of annoyance, but not a big
>deal.  So why doesn't anyone ever do it?  That is, all test results I've ever
>seen for Hyperthreading that have detailed processor usage reports, for any
>program (chess or not), have not used this ability.


It's simply a bad idea.  The O/S can handle this much better than a user
program.  In addition, it kills portability for obvious reasons.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.