mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-01-29, 16:59   #12
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

72·11 Posts
Default

I actually have four sticks of single-channel 1GB RAM stick. I upgraded from four sticks of dual-channel 512K RAM.
JuanTutors is offline   Reply With Quote
Old 2009-01-29, 19:22   #13
Mr. P-1
 
Mr. P-1's Avatar
 
Jun 2003

22218 Posts
Default

Quote:
Originally Posted by dominicanpapi82 View Post
I actually have four sticks of single-channel 1GB RAM stick. I upgraded from four sticks of dual-channel 512K RAM.
I'd still recommend doing 'before' and 'after' benchmarks. The gain you get from using more than about 500MB during P-1 stage 2 for normal exponents is minimal. Also if you're going to be spending the bulk of your processing time doing LLs, any loss of memory speed will apply all the time, dwarfing the slight gain you might get during the 1% or thereabouts of the time you spend doing P-1 stage 2.

It might be different if you intend to more than incidental P-1 work, or if you're testing huge exponents.
Mr. P-1 is offline   Reply With Quote
Old 2009-01-29, 23:10   #14
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

22·41 Posts
Default

Quote:
Originally Posted by Prime95 View Post
No. Are you using 25.8? It is linked with the /LARGEADDRESSAWARE option that lets prime95 access more memory under Windows.
Is that option only for 64-bit version or does it work with 32-bit? What about 25.9?
harlee is offline   Reply With Quote
Old 2009-01-30, 03:23   #15
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

752610 Posts
Default

Quote:
Originally Posted by harlee View Post
Is that option only for 64-bit version or does it work with 32-bit? What about 25.9?
That option should allow 32-bit prime95 to access 3GB instead of 2GB. All versions after 25.8 will be linked with that switch.
Prime95 is online now   Reply With Quote
Old 2009-01-30, 03:30   #16
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

72×11 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That option should allow 32-bit prime95 to access 3GB instead of 2GB. All versions after 25.8 will be linked with that switch.
Is there something I can do to access 3GB now?
JuanTutors is offline   Reply With Quote
Old 2009-01-30, 03:31   #17
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

22×41 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That option should allow 32-bit prime95 to access 3GB instead of 2GB. All versions after 25.8 will be linked with that switch.
Ok, then we might have a problem. Earlier I had set the amount to memory to 1792 MB but when P-1 Stage 2 started it got the memory error and went to approx 1400ish. My system is running Windows XP SP3 with 2.5GB of memory (2 X 1GB chips and 2 x 256 MB chips). I'm currently in the middle of stage 2, do you want me to up the memory now to see what happens or wait for the next P-1 assignment to change the memory settings?
harlee is offline   Reply With Quote
Old 2009-01-30, 12:42   #18
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67258 Posts
Default

Unless you boot with the /3GB switch, 1400MB of memory is about the most that a single win32 process can reasonably allocate for itself. At least I haven't seen one allocate more than that, the theoretical limit is 2GB.
jasonp is offline   Reply With Quote
Old 2009-01-30, 16:33   #19
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

72×11 Posts
Default

So is there a way to get the software to allocate more memory than the 1100/1300 MB that it went down to?
JuanTutors is offline   Reply With Quote
Old 2009-01-30, 21:06   #20
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

101001002 Posts
Default

On my 32-bit system, I normally run 1536MB for P-1 testing and I don't get any memory allocation errors.
harlee is offline   Reply With Quote
Old 2009-02-01, 02:47   #21
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

53910 Posts
Default

I just tried using two threads to do P-1 tests on two different exponents. No dice. It says "Out of memory!", which it's NOT. I can't even get my ram usage past 2GB with prime95!!
JuanTutors is offline   Reply With Quote
Old 2009-02-01, 14:32   #22
Mr. P-1
 
Mr. P-1's Avatar
 
Jun 2003

116910 Posts
Default

Quote:
Originally Posted by harlee View Post
On my 32-bit system, I normally run 1536MB for P-1 testing...
I used to use that exact same amount.

There's no reason to use a binary-round number. If you want to optimise your memory allocation, look at the number of relative primes processed each pass, and make sure that you never have a small number left over for the final pass.
Mr. P-1 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
"lanczos error: only trivial dependencies found" with massive oversieving eigma Msieve 21 2015-05-28 03:27
"Hybrid Memory Cube" offers 1 Tb/s memory bandwith at just 1.4 mW/Gb/s ixfd64 Hardware 4 2011-12-14 21:24
Memory Allocation Error joel893 Software 0 2008-06-03 14:54
"Feature" request: Keep new B2 value when memory allotment increased JuanTutors Software 3 2006-12-18 06:31
Would Minimizing "iterations between results file" may reveal "is not prime" earlier? nitai1999 Software 7 2004-08-26 18:12

All times are UTC. The time now is 04:57.


Sat Jul 17 04:57:33 UTC 2021 up 50 days, 2:44, 1 user, load averages: 1.94, 1.94, 2.01

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.