mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-06-13, 15:22   #1
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

9810 Posts
Default Prime95 and Dual Processors

I now run a 2 x Dual XEON 3,6GHZ system and have noted that Prime95 does not take advantage of the two processors

1) Best time for 4096K FFT length: 125.782 ms. while running PFGW in parallel

and

2) Best time for 4096K FFT length: 124.827 ms. when PFGW is stopped.

In case 1) the windows task manager shows 50% CPU utilisation

and in case 2) 25% CPU utilisation.

Similar to Prime95, PFGW did not show any slow down either.

regards - Anton
AntonVrba is offline   Reply With Quote
Old 2006-06-14, 00:23   #2
dsouza123
 
dsouza123's Avatar
 
Sep 2002

10100101102 Posts
Default

Possible scenario:

Hyperthreading on, Windows sees 4 CPUs,
using 100 % of 1/2 of total CPU utilization is 50%,
using 100 % of 1/4 of total CPU utilization is 25%.

Really using 100% of a single physical HT CPU when Prime95 is running.
The hyperthreading only gives a small percent of true extra CPU capacity
if one application is using FP and another integer.

For one core, if only one program is using FP then it uses 100% of the CPU
and the second virtual HT 0%.
dsouza123 is offline   Reply With Quote
Old 2006-06-14, 04:40   #3
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

11000102 Posts
Default

Quote:
Originally Posted by dsouza123
Possible scenario:

For one core, if only one program is using FP then it uses 100% of the CPU
and the second virtual HT 0%.
Your explanation is correct and logical.

FFT math is very suitable for parallel processing, lots of parallel small multiplications that are combined at the end.

So the point is that Prime95 takes no advantage of the fact that parallel processors do exist.

regards
AntonVrba is offline   Reply With Quote
Old 2006-06-14, 10:10   #4
rgiltrap
 
rgiltrap's Avatar
 
Apr 2006
Down Under

10110012 Posts
Default

Quote:
Originally Posted by AntonVrba
So the point is that Prime95 takes no advantage of the fact that parallel processors do exist.
Or you could simply have two instances of Prime95 running to ensure 100% utlization, which is probably a great deal less effort than trying to parallelize the code
rgiltrap is offline   Reply With Quote
Old 2006-06-14, 14:05   #5
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

16A16 Posts
Default

Quote:
Originally Posted by AntonVrba
Your explanation is correct and logical.

FFT math is very suitable for parallel processing, lots of parallel small multiplications that are combined at the end.

So the point is that Prime95 takes no advantage of the fact that parallel processors do exist.

regards
Quote:
Originally Posted by George Woltman
I own a dual-CPU computer or several computers networked together. Can these CPUs work together on the same exponent to get results faster?

No. It is not uncommon for the program to read and write nearly 100MB of data every second. This is far too much data to transfer around the network in a timely manner.

Although, a program could be written for dual-CPU systems (it would be quite time-consuming), the machine will still get more throughput by working on separate exponents.
.
fetofs is offline   Reply With Quote
Old 2006-06-14, 18:29   #6
AntonVrba
 
AntonVrba's Avatar
 
Jun 2005

11000102 Posts
Default Hyperthreading - yes or no

I now disabled hyperthreading on my 2 x dual xeon 3.6 GHz system

Best time for 4096K FFT length: 121.698 ms

3.2 mS faster than if hyperthreading is enabbled.

Conclusion - hyperthreading adds 3% overhead on the so called dual core processors - food for thought
AntonVrba is offline   Reply With Quote
Old 2006-06-14, 19:49   #7
kdelisle2005
 
Mar 2006
Michigan

1110 Posts
Default Run PRIME95 with Affinity

With your dual core, have you tried the Affinity parameter with multiple executions of Prime95??

I have a P4 HT (1 cpu) and I run two executions of Prime95 (I renamed to prime95a.exe and prime95b.exe, in separate subdirectories) - using the Affinity parameter, CPU 0 and CPU 1, respectively.

I know the one CPU can only work on one thing at a time but it seems I get better total throughput (be it very small) when trending for a couple of days.

The downside to running two executions of Prime95 is slower response from other applications (Excel, IE, etc). Windows XP does a good job of handling the priority but it does take some time especially with two Primes going.

For kicks, it sounds like you could run four executions of PRIME95.



kevin
kdelisle2005 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixing Xeon E5-26xx processors on Dual CPU motherboard VictordeHolland Hardware 13 2019-03-05 06:09
Web account status and true dual processors PLUS hyperthreading bmoshier Information & Answers 1 2014-12-12 16:01
Upcoming Prime95 monsters (processors) Dresdenboy Hardware 96 2007-05-16 07:06
Importance of dual channel memory for dual core processors patrik Hardware 3 2007-01-07 09:26
Using mprime to factor with dual processors Hatori27 Factoring 4 2005-08-13 20:40

All times are UTC. The time now is 21:01.

Tue Oct 20 21:01:05 UTC 2020 up 40 days, 18:12, 1 user, load averages: 1.99, 2.02, 1.93

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.