mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Data > Marin's Mersenne-aries

Reply
 
Thread Tools
Old 2006-08-30, 00:52   #45
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,361 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That is real complicated stuff, there is no simple formula.
Could you give a rough guideline? What would be the minimum, normal and maximum RAM levels for exponents in the 20M, 30M, 40M, etc ranges? At least, what's the cutoff point for getting E=6 for various exponent levels? I know with ~1.5GB allocated, I stop getting E=6 just short of 30M. And yet I can seemingly do P-1 fine in the 40M range with 400MB allocated. I'd like to try and put together some graph or calculator to display desirable RAM levels for P-1 testing at various exponent sizes, but I have nothing to base it on.

Thinking of which, when P-1 becomes a PrimeNet worktype, would larger exponents get assigned to computers with more RAM allocated for P-1, or would it simply assign the next available exponent? I think it would probably be beneficial to leave the lowest exponents for those with <500MB available, and if I sign up with 2GB allocated, give me exponents in the 50M+ range, etc.
James Heinrich is offline   Reply With Quote
Old 2006-08-30, 20:59   #46
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

If I may ask a possibly ignorant question:

Other than DC, I really don't use a lot of memory-intensive programs. Would it be possible for Prime95 to track how much memory a computer has free and be able to use memory up to a certain limit? Except, possibly, for Firefox, I don't use a lot of memory hogging programs. Mostly it's the bootup stuff that takes up memory.

I just checked and, with all my stuff, plus me processing video off my Tivo, plus Firefox, plus SOB, plus LLRNet(base-5), I'm only using 518MB of memory. I have 2Gig available.
jasong is offline   Reply With Quote
Old 2006-09-02, 19:57   #47
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by jasong View Post
Would it be possible for Prime95 to track how much memory a computer has free and be able to use memory up to a certain limit?
One obstacle would be that Prime95 cannot know what additional memory might be requested by other applications during the future time when Prime95 would be using its large workareas. Maybe 2GB is available now, but 10 minutes later something else needs 500MB.
cheesehead is offline   Reply With Quote
Old 2006-09-10, 01:46   #48
drew
 
drew's Avatar
 
Jun 2005

5768 Posts
Default

Just a few comments and questions since it's now been running for awhile. I don't know what's relevant to testing so I'll just ask:

First, the worktodo.txt file now has some additional arguments to what I originally submitted, and the ones for affinity 0 appear to have an "N/A" where there is no corresponding field for affinity 1. Is this intentional?

Pfactor=N/A,1,2,28719473,-1,68,1
Pfactor=N/A,1,2,28722313,-1,68,1
Pfactor=N/A,1,2,28723633,-1,68,1
Pfactor=N/A,1,2,28748807,-1,68,1
Pfactor=N/A,1,2,28749073,-1,68,1
Pfactor=N/A,1,2,28751683,-1,68,1
Pfactor=N/A,1,2,28752481,-1,68,1
Pfactor=N/A,1,2,28758439,-1,68,1
Pfactor=N/A,1,2,28761829,-1,68,1
Pfactor=N/A,1,2,28762667,-1,68,1
[thread #2]
Pfactor=1,2,28927211,-1,68,1
Pfactor=1,2,28931267,-1,68,1
Pfactor=1,2,28937609,-1,68,1
Pfactor=1,2,28947619,-1,68,1
Pfactor=1,2,28947839,-1,68,1
Pfactor=1,2,28949399,-1,68,1
Pfactor=1,2,28954567,-1,68,1
Pfactor=1,2,28962209,-1,68,1
Pfactor=1,2,28974383,-1,68,1
Pfactor=1,2,28981637,-1,68,1
Pfactor=1,2,28988299,-1,68,1

Second, although I've attempted to put my username on the 'primenet' dialog, it keeps reverting to ANONYMOUS, then to admin_user_anon. Is this a bug?


As far as P-1 testing goes, I must say it's doing a great job coordinating the tests. The duty cycle for stage 2 is just slightly shorter than for stage 1, so there's almost always 1 (and only one) test running stage 2 at any given time...therefore both processer and memory are continuously utilized.

I just increased my available memory from 1 GB to 1.5 GB to see if it would increase the probability of finding a factor (I'm having an unlucky streak...43 tests with ~3.63% probability and not a single factor). After it completed a test, an extra field "E=6" appeared in the results file. What does "E=6" mean?

It won't be too long before I return to the two LL tests I was running before I started this. Should I continue testing version 25.1 or go back to version 24 for these?

Thanks,
Drew
drew is offline   Reply With Quote
Old 2006-09-10, 02:10   #49
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165048 Posts
Default

Quote:
Originally Posted by drew View Post
First, the worktodo.txt file now has some additional arguments to what I originally submitted, and the ones for affinity 0 appear to have an "N/A" where there is no corresponding field for affinity 1. Is this intentional?
Yes. N/A means we tried to register the assignment with the server and the server refused the work unit.

Quote:
Second, although I've attempted to put my username on the 'primenet' dialog, it keeps reverting to ANONYMOUS, then to admin_user_anon. Is this a bug?
Yes.

Quote:
As far as P-1 testing goes, I must say it's doing a great job coordinating the tests.
Great!

Quote:
After it completed a test, an extra field "E=6" appeared in the results file. What does "E=6" mean?
It means the extra memory was used to include some B2 values above the B2 limit by using Suyama's [sp?] extension to stage 2.

Quote:
It won't be too long before I return to the two LL tests I was running before I started this. Should I continue testing version 25.1 or go back to version 24 for these?
Definitely switch back to v24 -- especially if these are not manual assignments.
Prime95 is offline   Reply With Quote
Old 2006-09-10, 18:27   #50
drew
 
drew's Avatar
 
Jun 2005

2·191 Posts
Default

Great...thanks for those answers.
drew is offline   Reply With Quote
Old 2006-09-12, 02:26   #51
drew
 
drew's Avatar
 
Jun 2005

17E16 Posts
Default

One more question:

A new line mysteriously appeared in my worktodo.txt file:

Test=0A21473B34B73D47788BD6C0F377F12D,34507079,68,1

I'm not configured to contact primenet, and this looks like it may be an LL test. How did this happen?

Thanks,
Drew
drew is offline   Reply With Quote
Old 2006-09-12, 13:03   #52
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,361 Posts
Default

A few more observations / requests:

* I consider it fairly essential that the final version has a more sophisiticated scheduler in terms of RAM use at various times of day. I detailed the request in this thread -- basically I want to allow Prime95 to use a minimal amount of RAM (whatever's needed for stage1, up to 128MB or so is fine) when I'm using the computer, but allow it to use most of my 2GB while I'm at work. So high memory usage 9am-6pm weekdays and 11pm-7am every night, and low memory usage at other times. The current scheduler doesn't allow for multiple schedules like that, unfortunately. If P-1 is going to be a Primenet-assigned task, I'm sure this kind of scheduling is going to be essential.

* Sometimes changing memory settings can take a few (2-4) minutes before the worker thread restarts. However, when I changed daytime available memory from 1024MB to 32MB (so that no stage2 would run in the daytime), worker thread #1 locked up (0% CPU usage) and didn't restart with the lower memory limit. At least the first time -- I put the limit back to 1024MB and the thread restarted correctly, and when I put it to 32MB the second time it behaved as normal.

* Would it be possible to put in the title bar of each worker thread (along with the current exponent) whether it's stage1 or stage2 being worked on, and the current memory usage of that thread. For example:
Worker thread #1 - P-1 on M50000059 (stage 2, using 1453MB)
James Heinrich is offline   Reply With Quote
Old 2006-09-13, 10:14   #53
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2×17×73 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I've actually thought about eliminating the one-hour self-test. I'm not convinced it keeps bad machines out of GIMPS as they eventually pass the one-hour test and start crunching.
Hmmmm....

I think it would rule out *really* bad machines (some will fail after a few minutes), so in my opinion the self-test should be kept.

What about requesting a few exponents for doublecheck (which have error code zero) and comparing the residues? (some "professional" GIMPSers do this manually - I think P95 should have at least the *option* to do this procedure automatically.)

Last fiddled with by Andi47 on 2006-09-13 at 10:15
Andi47 is offline   Reply With Quote
Old 2006-09-13, 12:36   #54
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,361 Posts
Default

I notice that this version at least uses quite a chunk of RAM even when running only stage1. I'm running stage1 concurrently on 2 exponents right now (M55000031, M69100051) and I've told Prime95 it can use up to 32MB. I get the expected messages: "Available memory is "(12MB/8MB for threads1/2)". Not enough memory to run stage 2. Will try again at a later time." However, in reality, I see Prime95 using anything from 120MB to 180MB of memory (depending on the exact exponents being tested I suppose), which is more than I'd expect... is this normal?

edit: I thought I may have found another bug, but needs some more observation to confirm.

Last fiddled with by James Heinrich on 2006-09-13 at 12:40
James Heinrich is offline   Reply With Quote
Old 2006-09-13, 19:27   #55
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

Quote:
Originally Posted by drew View Post
A new line mysteriously appeared in my worktodo.txt file:
Test=0A21473B34B73D47788BD6C0F377F12D,34507079,68,1
I'm not configured to contact primenet, and this looks like it may be an LL test. How did this happen?
It looks like prime95 contacted the server anyway. No doubt a bug. I've made several changes in that area since that executable was built. Hopefully I squashed it then.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retire one core in a dual-core CPU? Rodrigo PrimeNet 4 2011-07-30 14:43
Dual Core to Quad Core Upgrade Rodrigo Hardware 6 2010-11-29 18:48
dual core i7, eh? xorbe PrimeNet 4 2009-04-04 15:32
Importance of dual channel memory for dual core processors patrik Hardware 3 2007-01-07 09:26
Dual Core? BFD R.D. Silverman Hardware 12 2005-02-20 21:46

All times are UTC. The time now is 08:59.

Sat May 15 08:59:33 UTC 2021 up 37 days, 3:40, 0 users, load averages: 2.83, 1.95, 1.64

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.