mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-10-15, 16:37   #1
Raterus
 
Aug 2006

23 Posts
Default Scheduling alternatives in v25?

I see that then old Time= feature in v24 is dead.

What are some other ways I can start/stop prime95 during the day so it only runs when I'm not around?

Thanks!
--Michael
Raterus is offline   Reply With Quote
Old 2009-10-15, 16:50   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

2×5×7×61 Posts
Default

From undoc.txt:
Code:
In rare cases, users have reported the program can interfere with the
performance of some programs such as disk defragmenters and some games.
You can pause the program automatically when these programs are running by
adding this line to prime.txt:
    PauseWhileRunning=prog1[n1],prog2[n2],etc
The [n1], [n2] values are optional and indicate the number of worker threads
to pause when prog1 and prog2 are running.  The default value for n1 and n2
is to pause all worker threads.  Note that the program will pause if the program
name matches any part of the running program's file name.  That is "foobar"
will match "c:\foobar.exe", "C:\FOOBAR\name.exe", and even "C:\myfoobarprog.exe".
Also, if prog1 is "*" the program will pause no matter what.  Examples:
    PauseWhileRunning=*[1] during 6-7/2:00-3:00
    PauseWhileRunning=* during 23:00-24:00 else decomp[1],mygame[2]
The first example pauses one worker thread on Saturday and Sunday between
2AM and 3AM.  The second example pauses all workers between 11PM and 12AM and
pauses 1 worker if decomp is running and 2 if mygame is running.
Or if memory usage is the issue:
Code:
At present, only Memory, MaxHighMemWorkers, PauseWhileRunning, LowMemWhileRunning,
and PauseCheckInterval support this during/else syntax.  Also note you can
no longer edit these options from the user interface.  To use this feature,
you must manual edit the prime.txt file.  An example:
    Memory=500 during 1-5/17:30-24:00,1-5/0:00-8:30,6-7/0:00-24:00 else 200
The 1-5 and 6-7 refer to days of the week, with Monday=1 and Sunday=7.  The
time portion refers to the hours of the day based on a 24-hour clock.
You do not need to specify days of the week (e.g. 1-7/0:00-8:00
is the same as 0:00-8:00).  The above example lets the program use 500MB
during the week from 5:30PM to 8:30AM and all day on weekends.  Otherwise
(weekdays from 8:30AM to 5:30PM), the program can use only 200MB.

Last fiddled with by Mini-Geek on 2009-10-15 at 16:50
Mini-Geek is offline   Reply With Quote
Old 2009-10-15, 18:26   #3
Raterus
 
Aug 2006

23 Posts
Default

Thanks, I didn't even think to check if PauseWhileRunning could be fed time arguments.
Raterus is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternatives to anesthesia thread (because Google isn't helping) jasong jasong 16 2016-07-14 05:34
General Unix job-scheduling discussion pinhodecarlos Software 19 2014-04-17 15:04
Scheduling question khanricksteele Information & Answers 3 2008-04-09 20:34
crazy WinXP scheduling stippix Software 0 2004-04-22 08:55
Scheduling on PC based grid dotnet_dev Software 0 2003-06-13 12:27

All times are UTC. The time now is 14:09.


Wed Dec 8 14:09:58 UTC 2021 up 138 days, 8:38, 1 user, load averages: 1.70, 1.52, 1.55

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.