mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Disable prime95 during the day (https://www.mersenneforum.org/showthread.php?t=20929)

roelvz 2016-01-29 12:40

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.

ET_ 2016-01-29 13:21

[QUOTE=roelvz;424538]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.[/QUOTE]

[url]https://technet.microsoft.com/en-us/library/dd851678.aspx[/url]

Uncwilly 2016-01-29 13:53

[QUOTE=ET_;424540][url]https://technet.microsoft.com/en-us/library/dd851678.aspx[/url][/QUOTE]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.

S485122 2016-01-29 14:18

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.[/code]

Jacob

S485122 2016-01-29 15:41

[QUOTE=axn;424552]*Deleted*

(Where TF is delete post option?)[/QUOTE]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 [url=http://www.mersenneforum.org/showthread.php?t=19672]deletion disabled during the edit period[/url]. Also look at [url=http://www.mersenneforum.org/showthread.php?t=12372]! hour limit on editing[/url] and [url=http://www.mersenneforum.org/showthread.php?t=16943]permanent edit feature [/url].

Jacob

axn 2016-01-30 05:56

[QUOTE=S485122;424559]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 [url=http://www.mersenneforum.org/showthread.php?t=19672]deletion disabled during the edit period[/url].[/QUOTE]

Oh yeah... totally forgot about that one :blush:

And now, my original post has vanished. It's magic, I tell ya :smile:

Madpoo 2016-01-30 18:15

[QUOTE=S485122;424550]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.[/code]
...[/QUOTE]

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".
[URL="https://software.intel.com/en-us/articles/intel-performance-counter-monitor"]https://software.intel.com/en-us/articles/intel-performance-counter-monitor[/URL]

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...

Chuck 2016-01-30 23:12

[QUOTE=Madpoo;424701]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[/QUOTE]

I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.

Madpoo 2016-02-01 05:24

[QUOTE=Chuck;424724]I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.[/QUOTE]

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]
[/CODE]

Prime95 2016-02-23 04:41

[QUOTE=Chuck;424724]I tried this and I had to insert a space after the equal sign and before the asterisk to get it to work.[/QUOTE]

I was not able to reproduce this. Can you tell me which OS and the exact line you tried?

Chuck 2016-02-23 13:19

[QUOTE=Prime95;427154]I was not able to reproduce this. Can you tell me which OS and the exact line you tried?[/QUOTE]

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


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

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