mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2012-03-29, 08:02   #1
ozturkfa
 
Mar 2012

516 Posts
Default changing mprime's WorkerThreads parameter?

Hi

I want to change mprime's WorkerThreads parameter such that
it will set to 1 in monday to friday in 08:00-18:00 oclock and 3 otherwise.

how to do that automaticly?

Thanks for your help.

Fatih
ozturkfa is offline   Reply With Quote
Old 2012-03-29, 13:42   #2
ozturkfa
 
Mar 2012

5 Posts
Default Solution

T added fallowing lines to prime.txt
"
PauseWhileRunning=*[2] during 1-5/8:00-18:00
Memory=200 during 1-5/8:00-16:43 else 3000
"

this does the trick( i guess )
ozturkfa is offline   Reply With Quote
Old 2012-03-30, 06:10   #3
ozturkfa
 
Mar 2012

5 Posts
Default not sure about stability of these parameters

i will test them

Quote:
Originally Posted by ozturkfa View Post
T added fallowing lines to prime.txt
"
PauseWhileRunning=*[2] during 1-5/8:00-18:00
Memory=200 during 1-5/8:00-16:43 else 3000
"

this does the trick( i guess )
ozturkfa is offline   Reply With Quote
Old 2012-03-30, 08:15   #4
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

While technically they are "undocumented" and "not supported", George wouldn't write about them at all if they didn't work. (Right?)

Were you having trouble with them?
Dubslow is offline   Reply With Quote
Old 2012-04-02, 06:20   #5
ozturkfa
 
Mar 2012

5 Posts
Default Problem

Quote:
Originally Posted by Dubslow View Post
While technically they are "undocumented" and "not supported", George wouldn't write about them at all if they didn't work. (Right?)

Were you having trouble with them?

Yes. In weekend mprime stopped working.
Where to look for logs?
ozturkfa is offline   Reply With Quote
Old 2012-04-02, 06:47   #6
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by ozturkfa View Post
Yes. In weekend mprime stopped working.
Where to look for logs?
I'm not at my personal desktop right now so I can't say for sure, but try "prime.log" (in the same folder as the executable).

George, would you know why they aren't working?
Dubslow is offline   Reply With Quote
Old 2012-04-03, 06:55   #7
ozturkfa
 
Mar 2012

1012 Posts
Default PauseWhileRunning and Memory setting

i think both
"
PauseWhileRunning=*[2] during 1-5/8:00-18:00
Memory=200 during 1-5/8:00-16:43 else 3000
"
are bugy.

I advise not to use them.
ozturkfa is offline   Reply With Quote
Old 2012-04-03, 16:19   #8
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

I know one thing about Memory is that while the workers will stop and restart with less memory used at the proper times (I haven't used the day functionality myself), the memory isn't actually freed until Stage 2 completes. So if I have 10000 overnight and it changes to 7200 in the morning, while Prime95 says it's only using 7200, the OS will report that 10000 is used until we get a completion and the proper cleanup code is called. I've even seen it happen where it's been at 7200 the whole day, but late in the evening it suddenly spikes beyond 8000 (sometimes more) because when it says "Processing 150 Relative Primes (150 out of 300 already processed)" it somehow allocates a new section of memory, leaving the old section unused but still allocated, occasionally leading my system to lock up, then I have to restart Prime95.

^ The above is a bug with P-1 Stage 2 memory, not with the Memory= line, though it might appear that way which is why I mentioned it.

I've tried PauseWhileRunning, and admittedly it didn't work for me, but I wrote that off to using an experimental version of Linux. (Ubuntu 12.04 Alpha/Beta)
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPQS b-parameter and Pell-like equations Till Abstract Algebra & Algebraic Number Theory 13 2017-01-20 21:12
Primenet Error 7: invalid parameter Unregistered Information & Answers 2 2012-10-06 00:33
Parameter Underestimation R.D. Silverman Cunningham Tables 14 2010-09-29 19:56
Prime.ini parameter settings list ahmerali Software 2 2006-04-17 13:11
ECM Work and Parameter Choices R.D. Silverman Cunningham Tables 11 2006-03-06 18:46

All times are UTC. The time now is 17:06.

Fri Dec 4 17:06:51 UTC 2020 up 1 day, 13:18, 0 users, load averages: 1.40, 1.41, 1.41

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.