mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-12-18, 02:59   #56
db597
 
db597's Avatar
 
Jan 2003

7·29 Posts
Default

Quote:
Originally Posted by petrw1 View Post
When I reduced my P-1 RAM from 2500 to 1000 the chances of finding a factor reduced from 7.66% to 7.55%.
I suppose it's the law of diminishing returns. Difference between 200MB and 400MB going to be different from 1000MB and 2500MB.
db597 is offline   Reply With Quote
Old 2008-12-18, 03:24   #57
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

D5D16 Posts
Default

There are two things at play when changing the amount of RAM available for P-1:
a) for a given set of B1/B2 bounds, more RAM will allow the process to run faster
b) because of (a), if the amount of available of RAM is increased, Prime95 will select larger bounds to increase the chance of finding a factor, while maintaining the amount of time spent on P-1.

As an example (with made-up numbers), if you run P-1 on M123456 with 100MB allocated, Prime95 will select B1/B2 that will give you a 5.00% chance of finding a factor, and take 24 hours to complete. If you increase the amount of RAM from 100MB to 500MB, Prime95 could complete the P-1 in 22 hours with the same bounds, but it will usually prefer to adjust the bounds so it still takes about 24 hours to run, but you now have a 5.50% chance of finding a factor.

The bounds will be set based on the maximum of daytime/nighttime available memory. If the memory allocation is changed during stage1, Prime95 will proceed with the newly-chosen bounds. If the memory allocation is changed after stage2 has started, however, Prime95 will make use of the new amount of memory but not re-choose the bounds it uses.
James Heinrich is offline   Reply With Quote
Old 2008-12-18, 03:33   #58
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

342110 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
...much more than 500MB isn't necessary for now (but will be in the future years as exponents get larger).
As an illustration, P-1 on 100,000,000-digit numbers (e.g. M332203901 that I'm working on) takes 838MB plus 163MB for each relative prime it processes in each batch). So, to process 10 relative primes you need >=2468MB available.

Fortunately, only crazy people like myself are working on P-1 this far up the available-work spectrum right now; by the time it's mainstream these hardware requirements will seem trivial
James Heinrich is offline   Reply With Quote
Old 2008-12-18, 08:52   #59
S00113
 
S00113's Avatar
 
Dec 2003

3308 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
As an illustration, P-1 on 100,000,000-digit numbers (e.g. M332203901 that I'm working on) takes 838MB plus 163MB for each relative prime it processes in each batch). So, to process 10 relative primes you need >=2468MB available.

Fortunately, only crazy people like myself are working on P-1 this far up the available-work spectrum right now; by the time it's mainstream these hardware requirements will seem trivial
The PrimeNet server must consider me crazy!
Code:
Server assigned P-1 factoring work.
Got assignment 5F100DBBA223AD8301246A47D1826BA6: P-1 M332194021
Sending expected completion date for M332194021: Feb 23 2009
The machine has been working a while, and mprime uses 3480 MiB at night, 2048 MiB daytime.
S00113 is offline   Reply With Quote
Old 2008-12-18, 12:15   #60
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Quote:
Originally Posted by S00113 View Post
The PrimeNet server must consider me crazy!
Did PrimeNet actually assign you that number with P-1 as your preferred worktype, or did you manually add that? I would find it unexpected that Primenet would assign a 100M number for P-1...
James Heinrich is offline   Reply With Quote
Old 2008-12-18, 14:16   #61
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I would find it unexpected that Primenet would assign a 100M number for P-1...
Indeed, that would be a server bug.
Prime95 is offline   Reply With Quote
Old 2008-12-18, 14:22   #62
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

I'm also interested in the time it takes to do the 330M-bit GCD. You're the first to attempt one with prime95.
Prime95 is offline   Reply With Quote
Old 2008-12-18, 14:56   #63
S00113
 
S00113's Avatar
 
Dec 2003

23×33 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Did PrimeNet actually assign you that number with P-1 as your preferred worktype, or did you manually add that? I would find it unexpected that Primenet would assign a 100M number for P-1...
PrimeNet assigned it to me without manual intervention. P-1 is preferred worktype for one of three workers.

I think it makes perfect sense, since this machine has more memory availiable for P-1 than most other GIMP clients. People choosing to LL test 100M numbers may not have enough memory to do P-1 themselves.
S00113 is offline   Reply With Quote
Old 2008-12-18, 15:39   #64
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default

Quote:
Originally Posted by Andi47 View Post
I will set a worker (or maybe two) to p-1 when a flip-to-anonymous-proof version is out.
I have just downloaded 25.8 build 5 and assigned it to primenet (one thread on a machine with 2 cpus, the other cpu is running fermatsearch.exe).

With the two first-time LL-tests it assigned before I could set my preferred work-type to p-1 (and set the number of threads to 1) and the 2 LL-double-checks from 24.7 it will take until ~may until it will start the first p-1 factorization.
Andi47 is offline   Reply With Quote
Old 2008-12-18, 16:00   #65
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

125416 Posts
Default

Quote:
Originally Posted by Andi47 View Post
With the two first-time LL-tests it assigned before I could set my preferred work-type to p-1 (and set the number of threads to 1) and the 2 LL-double-checks from 24.7 it will take until ~may until it will start the first p-1 factorization.
I would like to have the preferred work type set at first set-up time before it starts.

I had the same thing happen to me: I installed, answered the setup questions and it started with the default GIMPS work-types, not what I wanted to choose. So like your situation I had the choice to either unreserve these first or let them finish.

Last fiddled with by petrw1 on 2008-12-18 at 16:00
petrw1 is online now   Reply With Quote
Old 2008-12-18, 17:54   #66
S00113
 
S00113's Avatar
 
Dec 2003

23·33 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I'm also interested in the time it takes to do the 330M-bit GCD. You're the first to attempt one with prime95.
GCD is normally not mentioned in results.txt. Is there any way to make it, or should I run mprime with the -d option and direct the output to a file? Stage 1 was finished long ago. Stage 2 will probably finish late february/early march, or earlier if I assign something other than Fermat fatoring to the first thread, and LL-NF or D to the third to avoid other memory demanding work.
S00113 is offline   Reply With Quote
Reply



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


Mon Aug 2 14:01:16 UTC 2021 up 10 days, 8:30, 0 users, load averages: 3.69, 3.47, 2.77

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.