mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2004-02-29, 17:48   #1
Matthias C. Noc
 
Matthias C. Noc's Avatar
 
Dec 2003

23×3 Posts
Default Questions about RAM and Prime95

I’ve some questions about the RAM use of Prime95. I’ve allocated 56 MB for daytime use, but the task-manager shows that only between 14 and 16 are normally used while the long LL-test is running. Is there a way to fix the maximum RAM the program needs during this phase? It will take about three weeks to finish the LL-test, so I would reduce the amount of allocated RAM until the P-1 tests need again all the RAM they can get. Does a larger exponent need more RAM or why are is the used RAM changing between 14 to 16 MB? I guess it should be the same kind of operation and so the same amount of resources needed for that. If Prime95 is needing less RAM then allocated is it using this smaller amount only or are the other MB still blocked?

Thanks,

Matt
Matthias C. Noc is offline  
Old 2004-02-29, 23:14   #2
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by Matthias C. Noc
I’ve allocated 56 MB for daytime use, but the task-manager shows that only between 14 and 16 are normally used while the long LL-test is running.
The only time that the "Daytime available memory" and "Nighttime available memory" settings are used while Prime95 processes your PrimeNet assignments is during P-1 factoring stage 2 (not stage 1). During P-1 stage 2, Prime95 allocates extra buffers for temporary storage areas in addition to the basic two buffers that it always needs. (Prime95 always needs two basic buffers, each long enough to hold the Mersenne number on which it is working.)

During LL-testing, Prime95 pays no attention to what available memory you've specified -- it simply uses the minimum amount of RAM that it needs to perform the LL-testing and does not allocate any extra work areas. The same is true during P-1 stage 1.

During LL-testing (or P-1 stage 1), your specification of 56 MB for available memory does no harm and does not cause Prime95 to use any more memory than the minimum amount it needs during those phases.

Quote:
Is there a way to fix the maximum RAM the program needs during this phase?
No. There's no need to do that for LL-testing. The program uses only the minimum RAM necessary during that phase.

Quote:
It will take about three weeks to finish the LL-test, so I would reduce the amount of allocated RAM until the P-1 tests need again all the RAM they can get.
No need to do that. In fact, it's better that you leave your "Daytime available memory" and "Nighttime available memory" settings alone once you've decided how much to make available for P-1 stage 2 -- when Prime95 doesn't need them they won't make any difference, and when it does need them it's better that you have them set in advance.

Quote:
Does a larger exponent need more RAM or why are is the used RAM changing between 14 to 16 MB?
Yes, a larger exponent requires more RAM than a smaller exponent.

Quote:
If Prime95 is needing less RAM then allocated is it using this smaller amount only or are the other MB still blocked?
It uses only the smaller amount. If you specified that 56 MB are available (for P-1 stage 2), and LL-testing needs only 14 MB, the "extra" 42 MB are simply not requested by Prime95, are not blocked, and are available for any other program to use at the same time.
cheesehead is offline  
Old 2004-03-01, 08:16   #3
Matthias C. Noc
 
Matthias C. Noc's Avatar
 
Dec 2003

23·3 Posts
Default

Thanks!
Matthias C. Noc is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 - suggest using B2 bound = GMP-ECM default and other questions Raman PrimeNet 34 2020-07-14 22:25
Prime95 Questions dimkadimon Software 19 2011-01-17 20:28
gmp-ecm questions yoyo GMP-ECM 34 2009-03-20 18:06
More questions about prime95 hj47 Software 18 2008-12-28 20:22
DNS questions Prime95 PrimeNet 2 2003-04-12 01:54

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

Tue Jun 15 16:20:33 UTC 2021 up 18 days, 14:07, 1 user, load averages: 1.52, 1.60, 1.59

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.