hyperthreading

Message boards : Number crunching : hyperthreading
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile gregk
Volunteer tester
Avatar

Send message
Joined: 27 Aug 04
Posts: 53
Credit: 387,433
RAC: 0
United States
Message 132783 - Posted: 5 Jul 2005, 13:42:10 UTC

i just read someone saying they turned off ht? am i correct? is he saying he just set his total cpu's used to 1? on the preferrences
ID: 132783 · Report as offensive
PhonAcq

Send message
Joined: 14 Apr 01
Posts: 1656
Credit: 30,658,217
RAC: 1
United States
Message 132791 - Posted: 5 Jul 2005, 14:07:10 UTC

Would it make any sense to use algorithms that use HT explicitly for computation, rather than running two processes? That is, for example, one might consider linking a FFTW subroutine explicitly written to take advantage of two threads ( a sort of mini-MPI ). Number crunchers will tend to do this more frequently as multiprocessors w/ HT proliferate.
May this Farce be with You
ID: 132791 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21773
Credit: 7,508,002
RAC: 20
United Kingdom
Message 132792 - Posted: 5 Jul 2005, 14:10:14 UTC - in response to Message 132791.  
Last modified: 5 Jul 2005, 14:10:32 UTC

...Number crunchers will tend to do this more frequently as multiprocessors w/ HT proliferate.
I don't think so...

Look up what HT is.

Good luck,
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 132792 · Report as offensive
PhonAcq

Send message
Joined: 14 Apr 01
Posts: 1656
Credit: 30,658,217
RAC: 1
United States
Message 132802 - Posted: 5 Jul 2005, 14:46:57 UTC - in response to Message 132792.  

...Number crunchers will tend to do this more frequently as multiprocessors w/ HT proliferate.
I don't think so...

Look up what HT is.



Perhaps I'm not being precise, but multiprocessors on the same 'chip' should permit the first level of parallelism (assuming only two exist). So algorithms need to change to take advantage of this. HT isn't quite MP, but it is close enough to offer parrallelism advantages, if the algorithms are re-structured.

So my question remains: is it time to introduce a more general algorithm for the optimized clients?

One counter argument is that there is overhead associated with fine grain parallelism that may be greater than that seti experiences with coarse grain parallelism. Furthermore, seti may be happy with turn around times of a couple of hours. But if the next seti involves longer compute times, then one way to increase the 'activity' is to reduce turn arounds with better algorithms.
May this Farce be with You
ID: 132802 · Report as offensive
dave015702

Send message
Joined: 13 Feb 05
Posts: 271
Credit: 2,341
RAC: 0
United States
Message 132803 - Posted: 5 Jul 2005, 14:48:47 UTC - in response to Message 132783.  

i just read someone saying they turned off ht? am i correct? is he saying he just set his total cpu's used to 1? on the preferrences

From what you write it sounds like he's saying he disabled hyper-threading on his PC, I think it's done in the bios.

Help and BOINC documentation is available here.

ID: 132803 · Report as offensive
genes
Volunteer tester
Avatar

Send message
Joined: 25 May 99
Posts: 117
Credit: 580,187
RAC: 0
United States
Message 132814 - Posted: 5 Jul 2005, 15:24:06 UTC

You can turn HT on and off in the bios, and you can also decide on how many processors to use in the preferences. These two setting accomplish different things, however.

If you turn off HT in the bios, you will process only 1 WU at a time, but it will use 100% of your processor (since there is only the one).

If you leave HT on, and set your preferences to use only one processor, you will then process one WU at a time, but only use 50% of your processor (since there are now two, but you are using only one).

With HT on, you will generally process WU's slower, but you will process twice as many, with the result being more work done.


ID: 132814 · Report as offensive
Profile gregk
Volunteer tester
Avatar

Send message
Joined: 27 Aug 04
Posts: 53
Credit: 387,433
RAC: 0
United States
Message 132827 - Posted: 5 Jul 2005, 16:08:36 UTC - in response to Message 132814.  

You can turn HT on and off in the bios, and you can also decide on how many processors to use in the preferences. These two setting accomplish different things, however.

If you turn off HT in the bios, you will process only 1 WU at a time, but it will use 100% of your processor (since there is only the one).

If you leave HT on, and set your preferences to use only one processor, you will then process one WU at a time, but only use 50% of your processor (since there are now two, but you are using only one).

With HT on, you will generally process WU's slower, but you will process twice as many, with the result being more work done.


thanks that answered my question
ID: 132827 · Report as offensive
Profile Pooh Bear 27
Volunteer tester
Avatar

Send message
Joined: 14 Jul 03
Posts: 3224
Credit: 4,603,826
RAC: 0
United States
Message 132948 - Posted: 5 Jul 2005, 20:44:06 UTC

On my 2.8G HT it takes about 4:30 per WU with HT. Without HT it's about 3:30. So, I can either do 1 in 3:30 or 2 in 4:30. You do the math.



My movie https://vimeo.com/manage/videos/502242
ID: 132948 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 132976 - Posted: 5 Jul 2005, 22:05:58 UTC

Um, actually, you will see about a 60% increase, not a doubleling. Though you have 2 in flight, you do not get the full effect of a theoretical second processor. So, you see a throughput gain such that you get 1.5 to 1.8 times the processing power.

Not sure if I am making it clear or not ...

All other things being equal, you do not have the full two logical processors.
ID: 132976 · Report as offensive
STE\/E
Volunteer tester

Send message
Joined: 29 Mar 03
Posts: 1137
Credit: 5,334,063
RAC: 0
United States
Message 133033 - Posted: 5 Jul 2005, 23:30:25 UTC - in response to Message 132948.  

On my 2.8G HT it takes about 4:30 per WU with HT. Without HT it's about 3:30. So, I can either do 1 in 3:30 or 2 in 4:30. You do the math.



Theres really no math to do IMO...If you have a HT CPU & don't run the Projects using the HT Capability of the CPU then your just short changing yourself.

I run 7 PC's with HT Capability & all of them run 2 WU's under 2 hours time, a few as low as 1:30 Hr's time & I wouldn't think of running them without HT turned on ...

ID: 133033 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21773
Credit: 7,508,002
RAC: 20
United Kingdom
Message 133038 - Posted: 5 Jul 2005, 23:36:09 UTC - in response to Message 132802.  

...
One counter argument is that there is overhead associated with fine grain parallelism that may be greater than that seti experiences with coarse grain parallelism. Furthermore, seti may be happy with turn around times of a couple of hours. But if the next seti involves longer compute times, then one way to increase the 'activity' is to reduce turn arounds with better algorithms.

The coarse grain parallelism for s@h works very well. There is simply no advantage or any need to use any finer grained parallelism.

Regards,
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 133038 · Report as offensive
Profile gregk
Volunteer tester
Avatar

Send message
Joined: 27 Aug 04
Posts: 53
Credit: 387,433
RAC: 0
United States
Message 133086 - Posted: 6 Jul 2005, 0:50:58 UTC - in response to Message 133033.  

On my 2.8G HT it takes about 4:30 per WU with HT. Without HT it's about 3:30. So, I can either do 1 in 3:30 or 2 in 4:30. You do the math.



Theres really no math to do IMO...If you have a HT CPU & don't run the Projects using the HT Capability of the CPU then your just short changing yourself.

I run 7 PC's with HT Capability & all of them run 2 WU's under 2 hours time, a few as low as 1:30 Hr's time & I wouldn't think of running them without HT turned on ...

thanks

ID: 133086 · Report as offensive
Profile gregk
Volunteer tester
Avatar

Send message
Joined: 27 Aug 04
Posts: 53
Credit: 387,433
RAC: 0
United States
Message 133087 - Posted: 6 Jul 2005, 0:51:19 UTC - in response to Message 132976.  

Um, actually, you will see about a 60% increase, not a doubleling. Though you have 2 in flight, you do not get the full effect of a theoretical second processor. So, you see a throughput gain such that you get 1.5 to 1.8 times the processing power.

Not sure if I am making it clear or not ...

All other things being equal, you do not have the full two logical processors.

thanks
ID: 133087 · Report as offensive

Message boards : Number crunching : hyperthreading


 
©2025 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.