mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-01-29, 12:40   #1
roelvz
 
Jan 2016

116 Posts
Question Disable prime95 during the day

I'm running prime95.exe on a Windows 7 machine. I would like to completely disable it during the day and run it at full capacity during night hours. Off course, I want this to happen automatically because otherwise I will forget to enable it at the end of the day.

I have set the Daytime P-1/ECM stage 2 memory to the minimum of 2MB. However, it is clearly still doing stuff. According to task manager, the process is using 50% of the CPU and memory is 179.564 K.

Is there a way to completely disable it during the day?

Thanks!

P.S. Is there a way to make a more complicated scheme? E.g. in the weekend it should also be enabled during the day.
roelvz is offline   Reply With Quote
Old 2016-01-29, 13:21   #2
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

2×3×11×73 Posts
Default

Quote:
Originally Posted by roelvz View Post
I'm running prime95.exe on a Windows 7 machine. I would like to completely disable it during the day and run it at full capacity during night hours. Off course, I want this to happen automatically because otherwise I will forget to enable it at the end of the day.

I have set the Daytime P-1/ECM stage 2 memory to the minimum of 2MB. However, it is clearly still doing stuff. According to task manager, the process is using 50% of the CPU and memory is 179.564 K.

Is there a way to completely disable it during the day?

Thanks!

P.S. Is there a way to make a more complicated scheme? E.g. in the weekend it should also be enabled during the day.
https://technet.microsoft.com/en-us/.../dd851678.aspx
ET_ is offline   Reply With Quote
Old 2016-01-29, 13:53   #3
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2×4,909 Posts
Default

There are native settings in the Prime95 files that allow for this. I don't recall what they are at the moment and don't have time to dig them up. Someone else will come along and explain.
Uncwilly is offline   Reply With Quote
Old 2016-01-29, 14:18   #4
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

35·7 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.
Jacob
S485122 is offline   Reply With Quote
Old 2016-01-29, 15:41   #5
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

35·7 Posts
Default

Quote:
Originally Posted by axn View Post
*Deleted*

(Where TF is delete post option?)
The moderators removed that option (or asked Mike to remove it.) It followed a discussion, you might find it. I asked the same question as you (without the expletive) some time ago deletion disabled during the edit period. Also look at ! hour limit on editing and permanent edit feature .

Jacob

Last fiddled with by S485122 on 2016-01-29 at 15:43 Reason: added references...
S485122 is offline   Reply With Quote
Old 2016-01-30, 05:56   #6
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default

Quote:
Originally Posted by S485122 View Post
The moderators removed that option (or asked Mike to remove it.) It followed a discussion, you might find it. I asked the same question as you (without the expletive) some time ago deletion disabled during the edit period.
Oh yeah... totally forgot about that one

And now, my original post has vanished. It's magic, I tell ya
axn is offline   Reply With Quote
Old 2016-01-30, 18:15   #7
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by S485122 View Post
From undoc.txt :
Code:
...
You can pause the program automatically when these programs are running by
adding this line to prime.txt:
	PauseWhileRunning=prog1[n1],prog2[n2],etc
Examples:
	PauseWhileRunning=*[1] during 6-7/2:00-3:00
The first example pauses one worker thread on Saturday and Sunday between
2AM and 3AM.
...
If I'm reading that right, you would add something like this to prime.txt to have it pause from 9 AM to 5 PM on weekdays only:
PauseWhileRunning=* during 1-5/9:00-17:00

So that breaks down to "*" meaning always pause, days 1-5 (Monday being day 1 I presume, if 6 and 7 are Sat/Sun), and then the hours 9:00 to 17:00.

Or optionally you could pause just one worker during those times and leave the rest going with something like:
PauseWhileRunning=*[1] during 1-5/9:00-17:00

I've never used that option so I'm trying to help decipher the instructions for your specific needs.

Limiting the P-1 and ECM memory will only affect those particular work types. As you've seen, first or double check LL tests don't use too much memory anyway. The 50% CPU usage when Prime95 is running is because it will use all of the CPU cores by default, except the hyperthreaded cores, thus 50% usage as seen in task manager.

By the way, I was tipped to a nifty Intel program, "Intel Performance Counter Monitor".
https://software.intel.com/en-us/art...ounter-monitor

I haven't tried it out yet but I like what I see in the link... more info on specific details like cache hits/misses, nice info on QPI usage (very handy for dual+ socket systems).

I'll have to look into that. Not just for Prime95 but for general use... keep my servers humming at peak efficiency. Hmm... I wonder if it exposes any of those counters in SNMP or WMI... I digress...
Madpoo is offline   Reply With Quote
Old 2016-01-30, 23:12   #8
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

88510 Posts
Default

Quote:
Originally Posted by Madpoo View Post
If I'm reading that right, you would add something like this to prime.txt to have it pause from 9 AM to 5 PM on weekdays only:
PauseWhileRunning=* during 1-5/9:00-17:00
I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.
Chuck is offline   Reply With Quote
Old 2016-02-01, 05:24   #9
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Chuck View Post
I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.
Hmm... thanks for that info. Sounds like it might be a bug. I based it on what I saw in the "undoc.txt" file from the latest version, e.g.
Code:
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]
Madpoo is offline   Reply With Quote
Old 2016-02-23, 04:41   #10
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165558 Posts
Default

Quote:
Originally Posted by Chuck View Post
I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.
I was not able to reproduce this. Can you tell me which OS and the exact line you tried?
Prime95 is offline   Reply With Quote
Old 2016-02-23, 13:19   #11
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I was not able to reproduce this. Can you tell me which OS and the exact line you tried?
This has not worked consistently for me. After I read the original post I copied in the line with no space before the asterisk, and it did not work. Then I added a space and it worked for a couple of days, but then stopped. I have given up on this feature.

Win 10 Pro
Chuck is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to disable benchmarking while torture tests are running? ZFR Software 4 2018-02-02 20:18
How do you disable AVX in Prime95 wingman99 Information & Answers 16 2016-08-15 20:54
Disable sending expected completion date? Xyzzy PrimeNet 1 2009-04-24 07:50
Disable Ctrl Alt Delete Task Manager TTn Programming 31 2005-12-31 12:56
How to disable an unused computer? romanhoehne PrimeNet 1 2004-05-06 13:00

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


Sun Aug 1 17:28:57 UTC 2021 up 9 days, 11:57, 0 users, load averages: 1.37, 1.38, 1.31

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.