Glaurung and hyperthreading?

Discussion of chess software programming and technical issues.

Moderator: Ras

hcyrano

Glaurung and hyperthreading?

Post by hcyrano »

who have already try glaurung with hyperthreading, i am curious of this :-)

have you stats?
Dann Corbit
Posts: 12778
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Glaurung and hyperthreading?

Post by Dann Corbit »

hcyrano wrote:who have already try glaurung with hyperthreading, i am curious of this :-)

have you stats?
I have not tried it but I have never seen any chess engine get a big benefit from hyperthreading.

It seems to me that the big benefit from hyperthreading would occur if you have a huge number of context switches from competing programs that are not CPU starved. Once the CPU is pegged, switching to another thread is not going to give any big benefit.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Glaurung and hyperthreading?

Post by bob »

Dann Corbit wrote:
hcyrano wrote:who have already try glaurung with hyperthreading, i am curious of this :-)

have you stats?
I have not tried it but I have never seen any chess engine get a big benefit from hyperthreading.

It seems to me that the big benefit from hyperthreading would occur if you have a huge number of context switches from competing programs that are not CPU starved. Once the CPU is pegged, switching to another thread is not going to give any big benefit.
The biggest help is for a program that is memory-bandwidth intensive in places. Hyper-threading will allow a second thread to run while the memory accesses are done. But parallel search overhead usually costs more than the HT gain...
hcyrano

Re: Glaurung and hyperthreading?

Post by hcyrano »

Vinvin
Posts: 5287
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Glaurung and hyperthreading?

Post by Vinvin »

23.8% faster in NPS but probably not stronger in play because going from 4 threads to 8 is a big lost in parallel efficiency.