mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware

Reply
 
Thread Tools
Old 2002-09-13, 08:30   #12
worknplay
 
worknplay's Avatar
 
Aug 2002
Victoria, BC, Canada

118 Posts
Default

Mivacca2 wrote:

Quote:
i am going to imagine someone is going to build a motherboard that uses dual P4's on it.
and

Quote:
is hyperthreading between multiple CPU's going to affect speeds any?
1. Don't count on it. I doubt Intel will enable SMP on hyperthreaded P4's - or on any P4 for that matter. Why? Two reasons a) Xeon; and b) Xeon. Remember, that since the introduction of the P4, we've seen a determined effort by Intel to deny SMP to the masses - if you want P4 power in SMP .. buy Xeon .. or go back to the P!!!.
Remember how scared Intel was when those who cared realize the first Celeron's were SMP capable? (I'm writing this from a BP6 w/ 2xCel366 @550 which has performed without incident since 1999). Even P!!! SMP was barely tollerable .. because it was affordable to the masses. SMP P4? Not a chance. Hyperthreading is the closest thing we'll see to SMP on the P4 for the masses.
Besides, think about it - two hyperthreaded P4s = four (potential)processes. You'd need to be running a multi-processor kernal of Linux (are they all multi-processor kernals?) or Win2k/XP $erver. Win2k/XP Pro would only be able to take advantage of one CPU which is "fooling" it into thinking there are two .. the second physical CPU would be occupying wasted space. So don't hold your breath for dual-P4's .. you might turn a very deep shade of purple ;)

2. Hyperthreading - at first glance - in and of itself will only benefit multithreaded applications - those written to take advantage of SMP. Remember hyperthreading "fool's" the OS - and any multithreaded application - into thinking that there are two processors in a single CPU system.
Since Prime95 is a single process application - at present - I doubt you'll see any more of a performance improvement other than that of raw speed - 3GHz+ - mind you, would you be able to get away with running two processes of Prime95 on a hyperthreaded P4?
I can only imagine one thing .. can you say overhead?
This is because even with multithreaded applications, Intel claims the performance improvement would only be only 25-30% greater than a non-hyperthreaded CPU at the same speed - not that there will be any.
http://www.theregister.co.uk/content/3/27039.htmloddslot
However, if George or someone else at GIMPS where to write into Prime95 the ablility to "split" a LL test between two processes - which if I recall he indicated was not either workable or inefficient on SMP systems - that was efficient and was at least able to take full advantage of hyperthreading, then I can only imagine some brilliant benchmarks indeed :D

In the final analysis it appears that hyperthreading will be the P4's SMP for the masses or at the very least, the poor person's version - if not a test - of multithreading CPUs which Intel will introduce within the next 24 months +/- to the Itanium core .. in the end .. wouldn't you really prefer a multithreaded IA-64 processor 8) ... with a really, really big cache? :D
[/url]
worknplay is offline   Reply With Quote
Old 2002-09-13, 11:00   #13
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

2×32×13×37 Posts
Default

Stormblade ran some benchmarks on a dual cpu Xeon system earlier this year... He ran benchies with hyper-threading enabled and disabled... I can't remember the exact result, but I think the hyper-threading turned out to not be a good idea... I'll email him the link to this post and maybe he can clarify it for us...

Edit:

Here is what I can find from the mailing list...

Quote:
Date: Thu, 7 Mar 2002 17:14:33 -0500
Subject: RE: Mersenne: Hyper-threading

As far as Hyperthreading goes, It is already available in the P4 Xeon chips.
I have personally tested the effectiveness with Prime95, and it does nothing
for our testing. The 2 instances ran normally, but each one took twice as
long as 1 instance would have. I think the only benefit Hyperthreading adds
to any application, is that if a pipeline becomes stalled, another thread
can use the 2nd pipeline, where on a standard P4, if one pipeline is
stalled, the other has to wait for it.
And here is from Ars Technica...

Quote:
Notes:
we used Advanced:Time rather than the benchmark.
0 and 1 are the physical CPUs, 2 and 3 are the "virutal" CPUs created by hyperthreading
System = 2 2.2GHz P4 Xeon "Prestonia" CPUs. 4GB PC800 Rambus memory. OS=Win2k
Exponent =10M (8.97M to 10.24M(512K) on Mersenne benchmark page)

Test Case 1: Running a single instance of Prime95 on each CPU

CPU # Iteration Time(average in ms)

0 24.081
1 24.024
2 24.042
3 24.044

Test case 2: Running 2 instances of Prime95 on various CPUs

CPU # Iteration Time(average in ms)

0 25.188ms
1 25.161ms

0 25.217
2 25.127

0 48.380
3 47.821

1 47.538
2 46.838

1 25.185
3 25.126

2 25.161
3 25.191

Test Case 3: Running 3 instances of Prime 95

CPU # Iteration Time(average in ms)

0 25.603
1 50.352
2 50.807

0 50.386
2 25.591
3 50.849

Test Case 4: Running 4 instances of Prime95

CPU # Iteration Time(average in ms)

0 56.343
1 55.881
2 55.795
3 56.448

Test Case 5: Running 4 instances of Prime95, Running LL on "Primary" CPUs and factoring on "Virtual" CPUs.

CPU # Iteration Time(average in ms)

0 39.589
1 39.667
2 Factoring
3 Factoring

Test Case 6: Running 4 instances of Prime95, Running LL on 1 CPU, and Factoring on the rest.

CPU # Iteration Time(average in ms)

0 39.003
1 Factoring
2 Factoring
3 Factoring
Xyzzy is offline   Reply With Quote
Old 2002-09-14, 03:03   #14
Stormblade
 
Aug 2002

2×5 Posts
Default

Xyzzy found all the info I had on the testing. If anyone doesnt understand the results, I would be glad to explain them.

:)

Edit:

Woot! I got a Shrek Pic! cool! (I do need to stop by more often....)
Stormblade is offline   Reply With Quote
Old 2002-09-15, 10:17   #15
lpmurray
 
lpmurray's Avatar
 
Sep 2002

1318 Posts
Default Duel CPU performance hit

I understand that 2 prime LL's running under hyperthreading run twice as fast but how about 1 LL plus 1 factoring will the LL take a hit or not.... THE USER WITH XENON PLEASE LET ME KNOW...THANKS....Larry
lpmurray is offline   Reply With Quote
Old 2002-09-15, 12:01   #16
Xyzzy
 
Xyzzy's Avatar
 
Aug 2002

2·32·13·37 Posts
Default

Larry-

Look at test case 2 and 5 in Stormblade's chart...

Quote:
Test case 2: Running 2 instances of Prime95 on various CPUs

CPU # Iteration Time(average in ms)

0 25.188ms
1 25.161ms

0 25.217
2 25.127

0 48.380
3 47.821

1 47.538
2 46.838

1 25.185
3 25.126

2 25.161
3 25.191

Test Case 5: Running 4 instances of Prime95, Running LL on "Primary" CPUs and factoring on "Virtual" CPUs.

CPU # Iteration Time(average in ms)

0 39.589
1 39.667
2 Factoring
3 Factoring
So it looks like running the CPUs as if they were *not* hyperthreaded, by running a single LL test on each physical CPU, results in ~25ms... If you add factoring to each physical CPU, by using hyperthreading, the LL iteration rate drops to ~40ms...

This just illustrates that hyperthreading doesn't do much for a CPU that is already maxxed out... It is more geared for a CPU that is stalled waiting for I/O...

The reason we asked Stormblade for all possible combinations was due to our belief that the multiple processes would also slow down due to bandwidth limitations... The Xeon bus is identical to the P4 bus, which means that a single P4 running Prime95 has 3.2GB/s available to it, but the dual Xeon only has 1.6GB/s per CPU...
Xyzzy is offline   Reply With Quote
Old 2002-09-16, 01:06   #17
willmore
 
willmore's Avatar
 
Aug 2002

758 Posts
Default

But, if I remember right, Earnst Mayer is still working on the dual floating/integer LL tester program. If I understand his approach correctly, he's doing the 'hyperthreading' manually--by interleaving the code for the two tests.

I think he expects some speed improvement. Is that just due to the processors he's targeting? AXP and such?
willmore is offline   Reply With Quote
Old 2002-09-17, 23:08   #18
Mivacca2
 
Aug 2002

2·5 Posts
Default

Quote:
wouldn't you really prefer a multithreaded IA-64 processor 8) ... with a really, really big cache? :D
[/url]

Would I prefer one, hell yes who wouldn't? :) Unfortunately.... I would prefer the price of a P4 to that of a Ia-64 chip *cringes in fear* :( It'll be ok though... We will just have to see what happens when they change the core and the new socket configuration with the next pentium....

MiVacca2
Mivacca2 is offline   Reply With Quote
Old 2002-09-24, 17:14   #19
willmore
 
willmore's Avatar
 
Aug 2002

61 Posts
Default

If we're just dreaming, I'll take a 2Ghz EV8. Hyperthreading? Naw, SMT. More execution units need more issueable instruction. *drool*

To bad it's dead. Thank you Compaq/HP. HP, putting the risk in RISC.
willmore is offline   Reply With Quote
Old 2002-09-24, 23:59   #20
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

1175610 Posts
Default

Quote:
Originally Posted by willmore
But, if I remember right, Ernst Mayer is still working on the dual floating/integer LL tester program. If I understand his approach correctly, he's doing the 'hyperthreading' manually--by interleaving the code for the two tests.

I think he expects some speed improvement. Is that just due to the processors he's targeting? AXP and such?
David. see my recent posting on this topic in the Math section.

-Ernst
ewmayer is offline   Reply With Quote
Old 2002-10-09, 20:39   #21
BigRed
 
Oct 2002

10112 Posts
Default Best mix for Dual P4?

I was reading earlier in this thread about memory contention with dualies and wanted some suggestions for the best mix of crunching for my situation.
I have 5 dual P4 Xeon boxes from Dell. 2 are 2.2GHz with 1Gb RAM and 3 are 1.7GHz with 512Mb RAM. All RAM is PC-800. Nothing is overclocked (or very overclockable since they're Dells). Everything's running RedHat Linux with 2.4.x kernels.
My goal is to have good LL stats and have a chance of finding a prime number. It'd be nice to find a 10 million digit prime too but I'm not holding my breath. I'm not eager to do a lot of manual work moving exponents around after P-1 checking but I could be persuaded to. I'm not currently a member of TPR but could be convinced to join if it would make my life easier.
I've also got 7 single CPU P4s that use the older PC-133 RAM and 3 dual P3s. I'd been running regular LL tests on both processors of all the duals. For the moment I've switched to one LL and one double check for those boxen.
So, any suggestions for the best mix of tests to maximize use of my available CPU power?
BigRed is offline   Reply With Quote
Old 2002-10-10, 00:32   #22
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

24×173 Posts
Default

If you are interested in finding a prime go with 2 LL test on each of the P4 duallies. A DC is just like an LL test in terms of the performance penalty on dualies. The optimum mix is one CPU on factoring and the other on LL test but on P4's it might just be better to go with 2 LL tests.
garo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which PSU for dual gtx 580? tha Hardware 12 2014-12-12 20:36
Dual boot? bsquared Linux 3 2013-10-11 21:38
dual core i7, eh? xorbe PrimeNet 4 2009-04-04 15:32
Run on Dual OS Unregistered Information & Answers 8 2009-01-03 07:37
Importance of dual channel memory for dual core processors patrik Hardware 3 2007-01-07 09:26

All times are UTC. The time now is 16:11.


Fri Jul 7 16:11:12 UTC 2023 up 323 days, 13:39, 0 users, load averages: 1.33, 1.35, 1.22

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔