mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Prime95 - Torture Test (https://www.mersenneforum.org/showthread.php?t=16772)

doffdoff 2012-05-02 14:15

Prime95 - Torture Test
 
Hi Guys,
is there a posibility to start the "Torture Test" automatically when the system starts?

thanks

regards
doffdoff

Prime95 2012-05-02 14:47

What operating system?

Xyzzy 2012-05-03 04:33

[url]http://www.mersenneforum.org/showthread.php?t=2098[/url]

doffdoff 2012-05-03 06:34

thanks for the link, but i'm looking for an posibility to run the test out from the operating system. the operating system is W2K8R2thanksregardsdoffdoff

Prime95 2012-05-03 13:22

[QUOTE=doffdoff;298258]thanks for the link, but i'm looking for an posibility to run the test out from the operating system. the operating system is W2K8R2thanksregardsdoffdoff[/QUOTE]

I haven't tried it in years. Create a .bat file with the line "prime95 -t". A Windows expert can tell you how to run the .bat file at startup.

KyleAskine 2012-05-03 13:47

[QUOTE=Prime95;298285]I haven't tried it in years. Create a .bat file with the line "prime95 -t". A Windows expert can tell you how to run the .bat file at startup.[/QUOTE]

Just create the batch file as Prime95 says, call it prime.bat, and put it in your home directory.

Then call cmd.exe from startup with the /k flag and prime.bat

So the command you want in startup is: cmd.exe /k prime.bat

I think that should work.

PageFault 2012-05-03 15:34

Put the starting command in autoexec.bat ...

bcp19 2012-05-03 17:54

[QUOTE=PageFault;298296]Put the starting command in autoexec.bat ...[/QUOTE]

That would be an old version of windows. Most newer versions you simply put the batch file into the startup directory.

LaurV 2012-05-04 02:42

[QUOTE=bcp19;298300]That would be an old version of windows. Most newer versions you simply put the batch file into the startup directory.[/QUOTE]

There are different things. The autoexec can be used for all versions of windows, but the problem is that you first need to start windows to run p95. Putting it in startup will start it after windows starts, so you need windows to run it. This is futile, because using "Stat at Bootup" from the Option menu of P95 program will do the same things but better (in the sense that it will wait your system to finish booting up completely first, otherwise the booting process will be slowed down, see also the parameters "BootDelay=n" and "StaggerStarts=n" in undoc.txt - very important!).

I believe the op's problem is to start some windoze version of P95 ... without running windows (I remember reading something about creating a bootable disk, or a startup disk with p95 torture on it), or at least without running the graphic interface. Which is not easy, but it can be done, you still need a bunch of dll's loaded before, and it is not easy to explain how you can do it.

Dubslow 2012-05-04 02:47

[QUOTE=LaurV;298370]There are different things. The autoexec can be used for all versions of windows, but the problem is that you first need to start windows to run p95. Putting it in startup will start it after windows starts, so you need windows to run it.
[/quote]That's what the OP wants. The thing about "Start at bootup" is that it starts GIMPS work... not the torture test. Otherwise start at boot is exactly what he wants.[quote]
I believe the op's problem is to start some windoze version of P95 ... without running windows (I remember reading something about creating a bootable disk, or a startup disk with p95 torture on it), or at least without running the graphic interface. Which is not easy, but it can be done, you still need a bunch of dll's loaded before, and it is not easy to explain how you can do it.[/QUOTE](see above)

LaurV 2012-05-04 05:47

Got it now.

There was a parallel thread yesterday where the op asked about making a startup disk with p97 for stress testing, and I messed the two subjects in my head.

If he wants to start torture test AFTER windows starts. Then he can use the -t switch exactly as explained before, make a batch and put it either in StartUp folder, as bcp already suggested, or use any registry editor and modify the "HKLM/Software/Microsoft/Windows/CurrentVersion/Run" registry key, that would execute p95 before explorer loads same as the "start at bootup" option (which makes p95 a service, i.e. starts it before the windows explorer, or n parallel with it, there is no dependency created afaik). Click on "start" then "run", type "regedit"<enter>, go to the specified key and create a new string with your torture test, like "prime95 -t", that registry key contains programs automatically loaded and executed by windoze every time it boots up. You can also create a dependency system like "do not load this or that until this or that is loaded and fully runnig, or it is ran and finished", etc.


All times are UTC. The time now is 07:24.

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