mersenneforum.org  

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

Reply
 
Thread Tools
Old 2008-07-20, 18:59   #1
Primix
 
Jul 2008

5 Posts
Default How much memory should I dispatch?

How much memory should I dispatch to Prime95?

I have read about this in the "help" in the program, but I think that information is a bit outdated... I have 4 GB RAM, and running Vista only consumates 1-1.5 GB RAM (according to Vista).

I have recently started running Prime95 for searching for numbers, and then I dispatched 100 MB of RAM (instead of only 8).

Is there any point at going higher? I know my machine can handle 1 GB, but does this actually increase the speed?

What should I choose? I have a dual core 2.3 GHz processor.
Primix is offline   Reply With Quote
Old 2008-07-21, 01:40   #2
Aexoden
 
Jun 2008
Spokane, WA

2·3 Posts
Default

It depends on what kind of work you're doing. P-1 stage 2 can pretty much use anything you throw at it (and perhaps ECM on the v5 server as well, though I may be wrong about that), so the general advice is to give it as much as you can afford, while being careful to avoid thrashing. Everyone's memory usage patterns are different, so it's hard to say exactly how much you can afford. (1.5GB would probably be my limit on a 4GB machine, but I tend to use memory quite heavily.)

From my own testing, increasing the memory does increase P-1 factoring's speed, though I don't know if there's a point of diminishing returns.

The other types of work (P-1 stage 1, LL-testing, trial factoring) aren't really affected by the available memory setting.

Important note: If you're running multiple copies of Prime95, then you want to be careful to distribute the available memory among the number of clients you're running. If you're using the multi-threaded feature of 25.x, then just assign to it whatever you choose.

Last fiddled with by Aexoden on 2008-07-21 at 01:42
Aexoden is offline   Reply With Quote
Old 2008-07-28, 03:30   #3
stars10250
 
stars10250's Avatar
 
Jul 2008
San Francisco, CA

110010012 Posts
Default memory questions

I recently built a system with ubuntu and mprime. According to system monitor, it is drawing 25 Mb of ram running p1. Will it ever need more? This amount seems small. Which brings me to another question...is there a description somewhere of what the calculation actually needs? It is hard to size a new system for cpu, bus, and ram bandwidth when the needs of the calculation don't seem to be stated. Maybe I'm just missing it. "More is better" is nice, but it seems simplistic. I don't want to build a number cruncher with capabilities that can't or won't be exploited. Even the utility of L2 cache doesn't seem to be clear, with some users reporting that larger cache runs slower. Pointers to relevant threads appreciated. I'm new to all this.
stars10250 is offline   Reply With Quote
Old 2008-07-30, 22:12   #4
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

42410 Posts
Default

During stage 2 of P-1 it can use more. Set what you can afford to give it under Options/CPU.

First of all, stability is important. If you overclock, don't go all the way to where it becomes unstable. A single unnoticed error during the normal two-month computation can spoil all that work.

I have only used Intel processors, and for them I think CPU speed and memory bandwidth are the most important. If you run a test on each CPU core, memory bandwidth becomes even more important. I posted about this in two threads:
Importance of dual channel memory
Quad Core, post about iteration timings
patrik is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
"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 available to P-1 lycorn Software 23 2010-05-09 22:15
How much memory do you have? fivemack Factoring 17 2009-08-23 16:00
How much memory? Unregistered Software 29 2004-09-04 19:35
P-1 Memory... Xyzzy Marin's Mersenne-aries 7 2004-03-12 13:34

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

Sun Sep 27 20:44:40 UTC 2020 up 17 days, 17:55, 0 users, load averages: 2.21, 1.92, 1.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.