i7 and hyperthreading

Message boards : Number crunching : i7 and hyperthreading
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Jack Shaftoe
Avatar

Send message
Joined: 19 Aug 04
Posts: 44
Credit: 2,343,242
RAC: 0
United States
Message 992457 - Posted: 28 Apr 2010, 14:09:17 UTC

Running down my cache to install latest optis and noticed something I didn't expect - I thought that the i7's were smart enough to use a full core for single threaded tasks if not all of them were being used.

Ex. Windows shows 8 cores in task manager. I am running 3 MB tasks. It uses 3 hyperthreaded cores (38% CPU) instead of 3 full cores (75%)

I am guessing my understanding is incorrect - and they haven't gotten to a point where it can dynamically switch between HT and NON yet. Yes?

ID: 992457 · Report as offensive
Fayvitt
Volunteer tester
Avatar

Send message
Joined: 29 Nov 09
Posts: 217
Credit: 1,190,636
RAC: 0
Australia
Message 992461 - Posted: 28 Apr 2010, 14:20:13 UTC

No it hasn't. That's why to use or not use HT has to be changed in the BIOS.
ID: 992461 · Report as offensive
Profile FloridaBear
Avatar

Send message
Joined: 28 Mar 02
Posts: 117
Credit: 6,480,773
RAC: 0
United States
Message 992464 - Posted: 28 Apr 2010, 14:29:44 UTC - in response to Message 992457.  
Last modified: 28 Apr 2010, 14:32:54 UTC

I believe the cores are grouped in twos--i.e. core 0 and core 1 correspond to one physical core, core 2 and core 3 are another, etc. It really doesn't matter if a process runs on core 0 or core 1--it's the same physical core.

Windows will normally spread tasks out among all 8 cores. If you set BOINC to run 50% of CPUs, then manually set affinity for those 4 running tasks such that they're running on cores 0,2,4 and 6, you'll see even core temps and load. Of course the load will only be 50% (according to Windows) since you're not using hyperthreading. But that scenario would be basically equivalent to running without hyperthreading at all.

There must be some advantage to running hyperthreading or there would be no point in offering it in the first place. One way to verify this that I've found is using y-cruncher (a multithreaded pi digit calculator)--benchmarks are significantly faster with HT on. I imagine you would get the same throughput improvement in SETI@Home although it's very difficult to verify.

You're correct in that hyperthreading can only be switched off or on in the BIOS.
ID: 992464 · Report as offensive
Profile Jack Shaftoe
Avatar

Send message
Joined: 19 Aug 04
Posts: 44
Credit: 2,343,242
RAC: 0
United States
Message 992469 - Posted: 28 Apr 2010, 15:01:38 UTC - in response to Message 992464.  

Thanks for clarifying my understanding guys. Preciate it.
ID: 992469 · Report as offensive
DJStarfox

Send message
Joined: 23 May 01
Posts: 1066
Credit: 1,226,053
RAC: 2
United States
Message 992537 - Posted: 28 Apr 2010, 20:03:21 UTC - in response to Message 992457.  

Running down my cache to install latest optis and noticed something I didn't expect - I thought that the i7's were smart enough to use a full core for single threaded tasks if not all of them were being used.

Ex. Windows shows 8 cores in task manager. I am running 3 MB tasks. It uses 3 hyperthreaded cores (38% CPU) instead of 3 full cores (75%)

I am guessing my understanding is incorrect - and they haven't gotten to a point where it can dynamically switch between HT and NON yet. Yes?


The OS kernel still treats a CPU thread/pipeline as a full CPU, so 3 tasks on a 8 thread system will always = 38%. Core i7 is 4 cores + 2 threads per core. What would be smart is loading up each core (of 4) with only 1 thread first, and if more than 4 tasks are running, only then fill up the rest of the threads. The linux kernel, BTW, is aware which threads belong to which core, and it will schedule threads on different cores before doubling-up. Not sure about Win 7 but definitely Vista & XP are NOT this smart.
ID: 992537 · Report as offensive
hbomber
Volunteer tester

Send message
Joined: 2 May 01
Posts: 437
Credit: 50,852,854
RAC: 0
Bulgaria
Message 992541 - Posted: 28 Apr 2010, 20:23:08 UTC

Win 7 does same. Called "SMT Parking".
ID: 992541 · Report as offensive
Michael Herboltzheimer

Send message
Joined: 26 Aug 05
Posts: 3
Credit: 1,383,373
RAC: 0
United States
Message 993807 - Posted: 3 May 2010, 16:40:18 UTC

This is off subject somewhat, but I'm wondering what sort of core temperatures you are getting when using the i7-930 with all 8 tasks running. I'm getting in the mid 70's and this seems high. Since I just got this board, I have nothing to compare it to, other than my old core 2 duo, which ran much cooler.
thanks
ID: 993807 · Report as offensive
Profile Siran d'Vel'nahr
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 7379
Credit: 44,181,323
RAC: 238
United States
Message 993823 - Posted: 3 May 2010, 17:12:56 UTC - in response to Message 993807.  

Greetings Michael,

I just built an i7-860 rig and it is running in the low 60s (I'm assuming you mean Celsius). But, that is without BOINC running on it, yet. It is also running the stock fan which I may end up having to replace. I was going to do some googling to see if I could find a safe operating temperature range. I'm not sure how much different the 860 is from the 930, unless, as my memory seems to be telling me that the 930 is the new 6 core CPU. I could be wrong though. :)

Hope this gives you some basic help. :)

Keep on BOINCing...! :)

CAPT Siran d'Vel'nahr - L L & P _\\//
Winders 11 OS? "What a piece of junk!" - L. Skywalker
"Logic is the cement of our civilization with which we ascend from chaos using reason as our guide." - T'Plana-hath
ID: 993823 · Report as offensive
Profile SciManStev Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 20 Jun 99
Posts: 6652
Credit: 121,090,076
RAC: 0
United States
Message 993824 - Posted: 3 May 2010, 17:18:32 UTC - in response to Message 993823.  

Greetings Michael,

I just built an i7-860 rig and it is running in the low 60s (I'm assuming you mean Celsius). But, that is without BOINC running on it, yet. It is also running the stock fan which I may end up having to replace. I was going to do some googling to see if I could find a safe operating temperature range. I'm not sure how much different the 860 is from the 930, unless, as my memory seems to be telling me that the 930 is the new 6 core CPU. I could be wrong though. :)

Hope this gives you some basic help. :)

Keep on BOINCing...! :)


The i7 CPU 980 is the 6 core. I just got one, and have it running at 58° C at 4.2 GHz. The spec is 67.1°C.

Steve
Warning, addicted to SETI crunching!
Crunching as a member of GPU Users Group.
GPUUG Website
ID: 993824 · Report as offensive
Profile Siran d'Vel'nahr
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 7379
Credit: 44,181,323
RAC: 238
United States
Message 993826 - Posted: 3 May 2010, 17:32:19 UTC - in response to Message 993824.  
Last modified: 3 May 2010, 17:55:33 UTC

-[ snip ]-


The i7 CPU 980 is the 6 core. I just got one, and have it running at 58° C at 4.2 GHz. The spec is 67.1°C.

Steve

Hi Steve,

Thanks! I knew it was 9xx, just not sure of the xx. Still need to google... :)

Keep on BOINCing...! :)


[edit]
I did some googling and checked my current temps and settings. I found specs that say 860 temp range is 5 - 72.7. Mine is currently at 52 (without BOINC yet). I would guess that mine is within established parameters. :)
[/edit]
CAPT Siran d'Vel'nahr - L L & P _\\//
Winders 11 OS? "What a piece of junk!" - L. Skywalker
"Logic is the cement of our civilization with which we ascend from chaos using reason as our guide." - T'Plana-hath
ID: 993826 · Report as offensive
hbomber
Volunteer tester

Send message
Joined: 2 May 01
Posts: 437
Credit: 50,852,854
RAC: 0
Bulgaria
Message 993837 - Posted: 3 May 2010, 18:10:53 UTC
Last modified: 3 May 2010, 18:17:08 UTC

Before:
4033 MHz, 1.28 V VCore(which is +0.1 V over default), 1,24 VTT(+0,14). Megahalems cooler, NB XLP 2 @1600 rmp push, and NB XL1 @1200 pull - 75-80 load with SETI + 275 GPU in case. Room temp 18-20 deg.

Now:
4110 MHz, 1,31 V VCore(which is +0,13 V over default), 1,28 VTT(+0,18), custom water cooling, not maxed out - 67-72, 70 average. Room temp 24+(26 today) degrees, its becoming hot in Bulgaria already. Idle is bellow 40, but these don't count, Intel says idle temperatures must not be counted as true values.

Using SSE4.1, instead of SSSE3 client, seems to me, gives +1 degree more.

i7-860 should run hotter and it does, ppl say, bcs of integrated PCIe controller
ID: 993837 · Report as offensive
Michael Herboltzheimer

Send message
Joined: 26 Aug 05
Posts: 3
Credit: 1,383,373
RAC: 0
United States
Message 993846 - Posted: 3 May 2010, 18:52:10 UTC - in response to Message 993824.  

I assume the spec is at 100 % load? Where did you find the spec, or another way, what is the spec for the 930?

thanks
ID: 993846 · Report as offensive
hbomber
Volunteer tester

Send message
Joined: 2 May 01
Posts: 437
Credit: 50,852,854
RAC: 0
Bulgaria
Message 993893 - Posted: 3 May 2010, 22:23:51 UTC
Last modified: 3 May 2010, 22:24:44 UTC

Yes, 100% load, after hour or so, to ensure that system has reached maximum warm up.

What specifications do you need about 930?
ID: 993893 · Report as offensive
Fayvitt
Volunteer tester
Avatar

Send message
Joined: 29 Nov 09
Posts: 217
Credit: 1,190,636
RAC: 0
Australia
Message 993930 - Posted: 4 May 2010, 1:17:53 UTC
Last modified: 4 May 2010, 1:20:01 UTC

My 930 under full load... well, it varies. 75c at the moment under full load. The weird story is programs i use to monitor cpu speed + my bmessage at post report that this baby sometimes runs with a multiplier of 22. That i don't understand. Current clock speed is 22 x 147. So, 3.234 ghz.
When i bought the MB it has a very outdated bios. No option to change multiplier up, just down. Upgraded the bios and magically the number 22 appeared as an option.
Not good with saving pics, so can someone explain how i take a picture of say CPUID, and post it here?
ID: 993930 · Report as offensive
Luke
Volunteer developer
Avatar

Send message
Joined: 31 Dec 06
Posts: 2546
Credit: 817,560
RAC: 0
New Zealand
Message 993991 - Posted: 4 May 2010, 9:45:59 UTC - in response to Message 993930.  

My 930 under full load... well, it varies. 75c at the moment under full load. The weird story is programs i use to monitor cpu speed + my bmessage at post report that this baby sometimes runs with a multiplier of 22. That i don't understand. Current clock speed is 22 x 147. So, 3.234 ghz.
When i bought the MB it has a very outdated bios. No option to change multiplier up, just down. Upgraded the bios and magically the number 22 appeared as an option.
Not good with saving pics, so can someone explain how i take a picture of say CPUID, and post it here?


Use the 'Print Screen' button on your keyboard and paste and crop the image in your favorite image editor...

That clock speed is a bit low for a i7 930... any reason as to why it isn't running at 3.7GHz+?
- Luke.
ID: 993991 · Report as offensive
Fayvitt
Volunteer tester
Avatar

Send message
Joined: 29 Nov 09
Posts: 217
Credit: 1,190,636
RAC: 0
Australia
Message 993997 - Posted: 4 May 2010, 10:53:20 UTC

Yeah 1 good reason. Stock cooler. I don't run it over 80c.

Here's a link to the CPUID page that has my processor stats. Odd beast it is.

http://valid.canardpc.com/show_oc.php?id=1166533


ID: 993997 · Report as offensive
Michael Herboltzheimer

Send message
Joined: 26 Aug 05
Posts: 3
Credit: 1,383,373
RAC: 0
United States
Message 994223 - Posted: 5 May 2010, 15:20:54 UTC - in response to Message 993893.  

My question about the temperature began after I made the mistake of letting
the store install the heat sink on my new board/cpu. I was getting temps in the
80's C which I thought was extremely high. Gigabyte agreed, so I took it back and they reinstalled the heat sink. The temps went down into the 70's but Gigabyte still thought that was high. I ended up taking it apart and reinstalling myself ( as I should have to begin with). I discovered that the store had used something sharp to scrape off the old thermal compound and scratched the heat sink, but the killer was that one of the clip screws was stripped and wouldn't tighten down properly. Moral is, if you want something
done right, do it yourself. I am now using the Corsair H50 liquid cooler. Temps are in the high 50's at full load with 8 tasks running without
overclocking on the i7-930.

thanks for the info
ID: 994223 · Report as offensive

Message boards : Number crunching : i7 and hyperthreading


 
©2024 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.