mersenneforum.org  

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

Reply
 
Thread Tools
Old 2010-04-15, 23:47   #12
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by lycorn View Post
2) The parameters referred by garo are to be placed in prime.txt, not local.txt
Quote:
Originally Posted by odin View Post
Also I tried placing the parameters in prime.txt and they did not work.
File undoc.txt specifies, for each parameter, whether it is to be placed in prime.txt or local.txt (In v24, anyway)

It is hard for us to recall whether any particular parameter goes in prime or local. (There's a pattern, sort of, but ...) I recommend always checking undoc.txt and readme.txt to see what goes where.

Note that MaxHighMemWorkers and OnlyRunStage2WithMaxMemory are not supposed to be placed in the same file:

Quote:
MaxHighMemWorkers=1
From undoc.txt:

"You can set MaxHighMemWorkers=n in local.txt"

Quote:
OnlyRunStage2WithMaxMemory=1
From undoc.txt:

"In prime.txt set:
OnlyRunStage2WithMaxMemory=1"

Quote:
When I placed them in local.txt however (and of course removed it from prime.txt) one worker ran a stage 2 and the other worker moved on to another exponent to start a stage 1.
You might want to move OnlyRunStage2WithMaxMemory=1 back to prime.txt -- otherwise, you might be puzzled by the behavior sometime.

Last fiddled with by cheesehead on 2010-04-15 at 23:57
cheesehead is offline   Reply With Quote
Old 2010-04-17, 21:37   #13
esqrkim
 
Mar 2010
California, USA

2×13 Posts
Default

I have a dedicated computer with a quad core and 3.5 GB of recognized RAM. I noticed that the max memory used by each core when running P-1 simultaneously was around 330 MB even though I allocated 2800 MB of RAM for Prime95. In retrospect, this limitation might have been caused by the FSB limitation. I am not sure. In any case, I increased the FSB to 424 MB since then, so I'll see what happens next time I do P-1.
esqrkim is offline   Reply With Quote
Old 2010-04-18, 01:01   #14
odin
 
Apr 2010

33 Posts
Default

Quote:
Originally Posted by esqrkim View Post
I have a dedicated computer with a quad core and 3.5 GB of recognized RAM. I noticed that the max memory used by each core when running P-1 simultaneously was around 330 MB even though I allocated 2800 MB of RAM for Prime95. In retrospect, this limitation might have been caused by the FSB limitation. I am not sure. In any case, I increased the FSB to 424 MB since then, so I'll see what happens next time I do P-1.
You should try what I showed above.

You could get mprime to only do 1 stage 2 P-1 factoring test at a time so all the allocated ram will be dedicated to that. The other workers will move to a Stage 1 P-1 factoring test for another exponent in the meantime. Then when that one is finished another worker thread will go back to a previous exponent and finish Stage 2 and the cycle repeats. You will work through the same amount of exponents but each Stage 2 will have as much ram allocated to it as possible.

in prime.txt add:

OnlyRunStage2WithMaxMemory=1

in local.txt add:

MaxHighMemWorkers=1

Tell me how it works out.
odin is offline   Reply With Quote
Old 2010-04-18, 02:31   #15
lfm
 
lfm's Avatar
 
Jul 2006
Calgary

6518 Posts
Default

Quote:
Originally Posted by odin View Post
You should try what I showed above.

You could get mprime to only do 1 stage 2 P-1 factoring test at a time so all the allocated ram will be dedicated to that. The other workers will move to a Stage 1 P-1 factoring test for another exponent in the meantime. Then when that one is finished another worker thread will go back to a previous exponent and finish Stage 2 and the cycle repeats. You will work through the same amount of exponents but each Stage 2 will have as much ram allocated to it as possible.

in prime.txt add:

OnlyRunStage2WithMaxMemory=1

in local.txt add:

MaxHighMemWorkers=1

Tell me how it works out.
If you have 6 cores doing stage 1s and only one core at a time doing stage 2s it will not keep up. Maybe better to have 4 capable of doing stage 2 to make sure it keeps up. 200mb each and 200mb for the OS still is just 1gb.
Should be fine. (fine for Linux, MS-win might want more)

Last fiddled with by lfm on 2010-04-18 at 02:32
lfm is offline   Reply With Quote
Old 2010-04-18, 14:22   #16
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

5,881 Posts
Default

If you are paying for a 6-core cpu then why wouldn't you get a reasonabe amount of cheap(in comparison to the cpu) memory. I wouldn't suggest less than 3x1GB or 2x2GB depending on whether the cpu has 2 or 3 memory channels. Also try to get memory that runs at a good speed to help LL tests.
With DDR2 I might be more conservative because the pc will then have been designed to be cheap if your using that.

Last fiddled with by henryzz on 2010-04-18 at 14:24
henryzz is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extrapolation: How long until the minimum megaprime? CRGreathouse Math 170 2013-07-01 16:32
Estimating minimum relations bchaffin Factoring 24 2012-03-24 18:37
Minimum/desired CPU specs for ECM factoring Kaboom PrimeNet 10 2009-04-17 14:58
Msieve NFS minimum size 10metreh Msieve 35 2009-04-02 19:14
Minimum primes of various forms database? jasong Information & Answers 1 2007-11-01 01:58

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


Sat Jul 24 07:54:48 UTC 2021 up 1 day, 2:23, 1 user, load averages: 1.33, 1.49, 1.45

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.