mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Data > Marin's Mersenne-aries

Reply
 
Thread Tools
Old 2006-08-23, 02:23   #1
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default Dual core anyone?

Do any of you mersennaires use a dual-core machine runniing Windows? If so, I'd like you to test drive a new version. This version would run two threads. If you give prime95 900MB to use and both threads are in stage 2, they each get 450MB. If only one thread is in stage 2 it gets the whole 900MB.
Prime95 is offline   Reply With Quote
Old 2006-08-23, 11:51   #2
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,361 Posts
Default

I can pull my Opteron165 off LMH duty and test your new version for a week (unfortunately I'm selling it next Wednesday).
James Heinrich is offline   Reply With Quote
Old 2006-08-24, 01:13   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

No need. I've done some trivial testing here. If someone happened to be using a dual core machine, then some real-world feedback might have been useful.
Prime95 is offline   Reply With Quote
Old 2006-08-24, 01:29   #4
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

D2116 Posts
Default

Well, if you want some real-world feedback over the next 6 days or so, you know how to reach me :)
James Heinrich is offline   Reply With Quote
Old 2006-08-25, 06:05   #5
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Quote:
Originally Posted by Prime95 View Post
No need. I've done some trivial testing here. If someone happened to be using a dual core machine, then some real-world feedback might have been useful.
I just noticed this thread. I've got a 2.16 GHz Core Duo laptop if you're still looking for someone to test your code.
drew is offline   Reply With Quote
Old 2006-08-25, 13:05   #6
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

Grab ftp://mersenne.org/gimps/p95tst.zip This is a pre-pre-pre-alpha v25 version. Its ability to read v24 save files and v24 worktodo files is untested.
It is probably safest to run it in a brand new directory. Create a worktodo.txt file. Tell it how much memory to use and threads to run (Test/Worker threads dialog). Let it rip.

It should be good about reducing stage 2 memory use when both threads are running stage 2 at the same time. It is less good about switching back to max memory use when one ends stage 2. Let me know when you find any problems or have suggested improvements.
Prime95 is offline   Reply With Quote
Old 2006-08-25, 15:08   #7
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Grab ftp://mersenne.org/gimps/p95tst.zip This is a pre-pre-pre-alpha v25 version. Its ability to read v24 save files and v24 worktodo files is untested.
It is probably safest to run it in a brand new directory. Create a worktodo.txt file. Tell it how much memory to use and threads to run (Test/Worker threads dialog). Let it rip.

It should be good about reducing stage 2 memory use when both threads are running stage 2 at the same time. It is less good about switching back to max memory use when one ends stage 2. Let me know when you find any problems or have suggested improvements.
Will do.

Just to add my two cents...for normal usage, would a better strategy simply be to try to avoid having concurrent P-1 factoring? If Prime95 predicts that two tests will finish at the same time, it can take a break from one, perform a P-1 on the next test in the queue, then go back to the first test before the second test finishes.

Drew
drew is offline   Reply With Quote
Old 2006-08-25, 17:51   #8
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Grab ftp://mersenne.org/gimps/p95tst.zip This is a pre-pre-pre-alpha v25 version. Its ability to read v24 save files and v24 worktodo files is untested.
It is probably safest to run it in a brand new directory. Create a worktodo.txt file. Tell it how much memory to use and threads to run (Test/Worker threads dialog). Let it rip.

It should be good about reducing stage 2 memory use when both threads are running stage 2 at the same time. It is less good about switching back to max memory use when one ends stage 2. Let me know when you find any problems or have suggested improvements.
Ok, first bug.

It tried to contact Primenet to get new work, and Got the following message:

PrimeNet error 7: Invalid parameter
parameter c: Invalid character: '@' in 'Genuine Intel(R) CPU T2600 @ 2.16GHz'

If I can't get the Primenet interface working, is there a pair of P-1 factoring test someone can recommend for me? Also, George, how do I configure the worktodo.txt to perform two P-1 tests on separate threads?

Thanks,
Drew
drew is offline   Reply With Quote
Old 2006-08-25, 18:27   #9
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

Quote:
Originally Posted by drew View Post
Ok, first bug.

It tried to contact Primenet to get new work, and Got the following message:

PrimeNet error 7: Invalid parameter
parameter c: Invalid character: '@' in 'Genuine Intel(R) CPU T2600 @ 2.16GHz'
Yeah, the server access isn't ready for testing. I posted here because the Mersenne-aires run manual tests.

Quote:
If I can't get the Primenet interface working, is there a pair of P-1 factoring test someone can recommend for me? Also, George, how do I configure the worktodo.txt to perform two P-1 tests on separate threads?
This ought to work:

Pfactor=exp,how_far_factored,double_check_flag
[thread #2]
Pfactor=...

P.S. Thanks for the bug report. I'll fix that one.
Prime95 is offline   Reply With Quote
Old 2006-08-25, 19:58   #10
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Yeah, the server access isn't ready for testing. I posted here because the Mersenne-aires run manual tests.



This ought to work:

Pfactor=exp,how_far_factored,double_check_flag
[thread #2]
Pfactor=...

P.S. Thanks for the bug report. I'll fix that one.
Ok, that worked, but now I'm stuck in a loop (both threads behave the same way):


Optimal P-1 factoring of M28515913 using up to 1024 MB of memory.
Assuming no factors below 2^68 and 1 primality tests saved if a factor is found.
Optimal bounds are B1=150000, B2=2925000
Chance of finding a factor is an estimated 3.59%
Using FFT length 1536K
Available memory is 512MB
using 478 MB of memory.
Available memory is 1016MB.
Using 957MB of memory.
Restarting thread with new memory settings.
Optimal P-1 factoring of M28515913 using up to 1024 MB of memory.
Assuming no factors below 2^68 and 1 primality tests saved if a factor is found.
Optimal bounds are B1=150000, B2=2925000
Chance of finding a factor is an estimated 3.59%
Using FFT length 1536K
Available memory is 512MB
using 478 MB of memory.
Available memory is 1016MB.
Using 957MB of memory.
Restarting thread with new memory settings.
.
.
.
ad infinitum
drew is offline   Reply With Quote
Old 2006-08-25, 21:36   #11
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

749210 Posts
Default

Are they really stuck or are they making progress toward completing stage 2?

I'm changing the "Using nMB of memory." output to "Using nMB of memory. Processing x relative primes (y of z already processed)."
This should make it clear that forward progress is being made.

Last fiddled with by Prime95 on 2006-08-25 at 22:02 Reason: more info
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retire one core in a dual-core CPU? Rodrigo PrimeNet 4 2011-07-30 14:43
Dual Core to Quad Core Upgrade Rodrigo Hardware 6 2010-11-29 18:48
dual core i7, eh? xorbe PrimeNet 4 2009-04-04 15:32
Importance of dual channel memory for dual core processors patrik Hardware 3 2007-01-07 09:26
Dual Core? BFD R.D. Silverman Hardware 12 2005-02-20 21:46

All times are UTC. The time now is 07:50.

Sat May 15 07:50:31 UTC 2021 up 37 days, 2:31, 0 users, load averages: 1.57, 1.85, 1.98

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.