mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-12-03, 13:13   #254
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Would it be possible to extend the TF assignments slightly such that a client (or via the webpage) can specify a preferred TF range? Right now there's "low limits" and "regular", but perhaps a user (for whatever reasons, limited internet connection for example) prefers to do long assignments, and would like to only TF in the 2^67-2^72 range, whatever assigments are available and most useful in that depth). Another user may prefer to do mid-depth work (e.g. 2^63-2^65), etc. If, truly, there is no useful work to be done in those ranges then assign something outside the specified range, but consider it as a preference.
Is there any downside to this (other than the work to implement it) ?

Last fiddled with by James Heinrich on 2008-12-03 at 13:22
James Heinrich is offline   Reply With Quote
Old 2008-12-03, 13:29   #255
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165618 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Code:
Hey, wait a minute:  Worker 1 is faster one 1 CPU than both?!?!?!?
This is very possible on a hyperthreaded machine. Hyperthreading takes one real CPU and makes it look like two to the operating system. So whether you have Worker 1 use one logical CPU or two, the work is being by the one physical CPU.

Using the hyperthreaded CPU in LL testing usually results in a speed difference in the range of plus or minus 5%.

Last fiddled with by Prime95 on 2008-12-03 at 18:38
Prime95 is offline   Reply With Quote
Old 2008-12-03, 14:59   #256
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22×3×17×23 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This is very possible on a hyperthreaded machine. Hyperthreading takes one real CPU and makes it look like two to the operating system. So whether you have Worker 1 use one logical CPU or two, the work is being by the one physical CPU.

Using the hyperthreaded CPU in LL testing usually results in a speed difference in the rane of plus or minus 5%.
I tried the same thing with another Hyper.

Quote:
Software Version Windows,Prime95,v25.7,build 3
Model Intel(R) Pentium(R) 4 CPU 3.40GHz
Features Single core, 2 hyperthreaded CPUs, Prefetch,SSE,SSE2
Speed 3.391 GHz (3.540 GHz P4 effective equivalent)
L1/L2 Cache 16 / 1024 KB
Computer Memory 1016 MB configured usage 200 MB day / 200 MB night
Same results:
Quote:
[Dec 3 08:50] Worker starting
[Dec 3 08:50] Setting affinity to run worker on any logical CPU.
[Dec 3 08:50] Setting affinity to run helper thread 1 on any logical CPU.
[Dec 3 08:51] Resuming primality test of M28462163 using FFT length 1536K, 2 threads
[Dec 3 08:51] Iteration: 2753075 / 28462163 [9.67%].
[Dec 3 08:51] Iteration: 2753200 / 28462163 [9.67%]. Per iteration time: 0.075 sec.
[Dec 3 08:51] Iteration: 2753300 / 28462163 [9.67%]. Per iteration time: 0.049 sec.
[Dec 3 08:51] Iteration: 2753400 / 28462163 [9.67%]. Per iteration time: 0.049 sec.
[Dec 3 08:51] Iteration: 2753500 / 28462163 [9.67%]. Per iteration time: 0.049 sec.
[Dec 3 08:51] Iteration: 2753600 / 28462163 [9.67%]. Per iteration time: 0.049 sec.
[Dec 3 08:51] Stopping primality test of M28462163 at iteration 2753658 [9.67%]
[Dec 3 08:51] Worker stopped.
[Dec 3 08:51] Worker starting
[Dec 3 08:51] Setting affinity to run worker on any logical CPU.
[Dec 3 08:51] Resuming primality test of M28462163 using FFT length 1536K
[Dec 3 08:51] Iteration: 2753659 / 28462163 [9.67%].
[Dec 3 08:51] Iteration: 2753700 / 28462163 [9.67%]. Per iteration time: 0.047 sec.
[Dec 3 08:51] Iteration: 2753800 / 28462163 [9.67%]. Per iteration time: 0.047 sec.
[Dec 3 08:52] Iteration: 2753900 / 28462163 [9.67%]. Per iteration time: 0.114 sec.
[Dec 3 08:52] Iteration: 2754000 / 28462163 [9.67%]. Per iteration time: 0.047 sec.
[Dec 3 08:52] Iteration: 2754100 / 28462163 [9.67%]. Per iteration time: 0.047 sec.
[Dec 3 08:52] Iteration: 2754200 / 28462163 [9.67%]. Per iteration time: 0.047 sec.
petrw1 is online now   Reply With Quote
Old 2008-12-03, 18:12   #257
Phantomas
 
Phantomas's Avatar
 
Oct 2008
Germany, Hamburg

5·13 Posts
Default

Quote:
Originally Posted by pertw1
L1/L2 Cache 8 / 512 KB
Maybe both threads are fighting for the cache. I would try to set the cachesize manualy to the half of your true cachesize in p95.

Last fiddled with by Phantomas on 2008-12-03 at 18:13
Phantomas is offline   Reply With Quote
Old 2008-12-07, 05:49   #258
starrynte
 
starrynte's Avatar
 
Oct 2008
California

22·59 Posts
Default

after about a minute running prime95, what appears as "System" starts "stealing" cpu cycles..."System" has been using 10% cpu for about 4 hours now, causing prime95 to run 15% slower than normal...any reasons why "System" keeps using cycles?
(i have two workers on a hyperthreaded machine)

Last fiddled with by starrynte on 2008-12-07 at 05:50
starrynte is offline   Reply With Quote
Old 2008-12-08, 16:38   #259
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22·3·17·23 Posts
Default

Quote:
Originally Posted by starrynte View Post
after about a minute running prime95, what appears as "System" starts "stealing" cpu cycles..."System" has been using 10% cpu for about 4 hours now, causing prime95 to run 15% slower than normal...any reasons why "System" keeps using cycles?
(i have two workers on a hyperthreaded machine)
As I posted just a few before yours.

I found that on both my Hyperthreading machines with v25.7 they are actually about 5-8% SLOWER with two workers than with just one.

I suppose the other possible answer is Virus / Spyware.
petrw1 is online now   Reply With Quote
Old 2008-12-08, 16:46   #260
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22×3×17×23 Posts
Default P4 effective equivalent ... can you clarify

Code:
Model Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz 
Features 4 core, Prefetch,SSE,SSE2,SSE4 
Speed 2.833 GHz (6.055 GHz P4 effective equivalent)
In the case above is Prime95 determining that each core is 6.055 X P4 Ghz
OR
is it for the entire machine (all 4 cores). If so it is very low but then I've only had it on v5 for 2 weeks so there wouldn't be much data yet.

In comparison I have this Duo:
Code:
Model Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz 
Features Dual core, Prefetch,SSE,SSE2 
Speed 2.327 GHz (7.818 GHz P4 effective equivalent)
which I know isn't 30% faster per core than the Quad above. It has about 1 month of v5 time in.
petrw1 is online now   Reply With Quote
Old 2008-12-08, 19:08   #261
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D7116 Posts
Default

The P4 effective speed is for each core. It is initially calculated at something like 1.6 * your CPU speed (a Core2 is architecturally faster than a P4). Hours per day and rolling average also figure into the calculation so it will change over time.
Prime95 is offline   Reply With Quote
Old 2008-12-08, 23:48   #262
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22×3×17×23 Posts
Default

Quote:
Originally Posted by Prime95 View Post
The P4 effective speed is for each core. It is initially calculated at something like 1.6 * your CPU speed (a Core2 is architecturally faster than a P4). Hours per day and rolling average also figure into the calculation so it will change over time.
Fair enough but doesn't 7.818 (now 7.896) seem excessively high even for a Duo. It's only a 2.33 Ghz. It is more than twice the default of 1.6 times higher. I have NOT overclocked.
petrw1 is online now   Reply With Quote
Old 2008-12-09, 02:15   #263
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D7116 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Fair enough but doesn't 7.818 (now 7.896) seem excessively high even for a Duo. It's only a 2.33 Ghz. It is more than twice the default of 1.6 times higher.
You are correct. The client is underestimating the speed or Core 2s. Thus your rolling average is much higher than it should be. This will be fixed in 25.8 build 3. I've also added better initial client estimates for Core i7 and Phenom.

Note this isn't a serious problem. It has no affect on the work assigned.
Prime95 is offline   Reply With Quote
Old 2008-12-09, 03:38   #264
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

22·3·17·23 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This will be fixed in 25.8 build 3.
Is it imminent? Any reason not to use Build 2 in the meantime?
petrw1 is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 27.3 Prime95 Software 148 2012-03-18 19:24
Prime95 version 26.3 Prime95 Software 76 2010-12-11 00:11
Prime95 version 25.5 Prime95 PrimeNet 369 2008-02-26 05:21
Prime95 version 25.4 Prime95 PrimeNet 143 2007-09-24 21:01
When the next prime95 version ? pacionet Software 74 2006-12-07 20:30

All times are UTC. The time now is 13:59.


Mon Aug 2 13:59:59 UTC 2021 up 10 days, 8:28, 0 users, load averages: 3.92, 3.30, 2.64

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