mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   GMP-ECM resource usage (https://www.mersenneforum.org/showthread.php?t=14048)

lavalamp 2010-10-11 20:46

GMP-ECM resource usage
 
Hey there, I have a query about how best to get the most out of my system with very large B2 values in ECM stage 2. I have an i7 CPU with 6 GB of RAM, running Vista 64 bit.

I ran stage 1 in Prime 95, and am using GMP-ECM for stage 2 using the results file as the input, B1=260e6 and B2~=3e12. RAM usage for this B2 value is excessive, so I have been making use of the -k switch to break each curve up into chunks. Since I have a quad core, I tried running 8 instances (2 / core with hyperthreading) and 4 instances (just 1 / core) of GMP-ECM, with B2 bounds that sum to 3e12. For example, these are the B2 bounds I used with -k 62:
260000000-756166707462
756166707462-1512073493712
1512073493712-2267980279962
2267980279962-3023887401162

Each instance of ECM here uses about 700 MB of RAM maximum, which isn't very much, 4 * 700 = 2800 MB, and I have 6144 MB in total.

I would like to use more RAM so that I can get through the curves quicker, but when I do so it causes the operating system hard drive to grind away constantly, presumably reading and writing metric tons worth of data to the page file. Even at the relatively low RAM usage of 700 MB each, they have all racked up 60 million page faults in just 2 hours.

I wouldn't expect there to be no page faults at all, but surely this value should be 3 or 4 orders of magnitude lower. 2800 MB can easily fit in the RAM with lots of room to spare.

Presumably this is related to how windows is "managing" the memory (wholly ineffectively), so if anyone knows any settings at all that I can tweak to get it to play nice, or if there is a better way to set ECM up that will somehow avoid this constant hard drive assault, I would be very grateful if someone could share it.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.