mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-05-02, 14:15   #1
doffdoff
 
May 2012

3 Posts
Default Prime95 - Torture Test

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

thanks

regards
doffdoff
doffdoff is offline   Reply With Quote
Old 2012-05-02, 14:47   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

What operating system?
Prime95 is offline   Reply With Quote
Old 2012-05-03, 04:33   #3
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

11111111010002 Posts
Default

http://www.mersenneforum.org/showthread.php?t=2098
Xyzzy is offline   Reply With Quote
Old 2012-05-03, 06:34   #4
doffdoff
 
May 2012

112 Posts
Default

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
doffdoff is offline   Reply With Quote
Old 2012-05-03, 13:22   #5
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·1,873 Posts
Default

Quote:
Originally Posted by doffdoff View Post
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
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.
Prime95 is offline   Reply With Quote
Old 2012-05-03, 13:47   #6
KyleAskine
 
KyleAskine's Avatar
 
Oct 2011
Maryland

2×5×29 Posts
Default

Quote:
Originally Posted by Prime95 View Post
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.
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.
KyleAskine is offline   Reply With Quote
Old 2012-05-03, 15:34   #7
PageFault
 
PageFault's Avatar
 
Aug 2002
Dawn of the Dead

5·47 Posts
Default

Put the starting command in autoexec.bat ...
PageFault is offline   Reply With Quote
Old 2012-05-03, 17:54   #8
bcp19
 
bcp19's Avatar
 
Oct 2011

7·97 Posts
Default

Quote:
Originally Posted by PageFault View Post
Put the starting command in autoexec.bat ...
That would be an old version of windows. Most newer versions you simply put the batch file into the startup directory.
bcp19 is offline   Reply With Quote
Old 2012-05-04, 02:42   #9
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22×17×139 Posts
Default

Quote:
Originally Posted by bcp19 View Post
That would be an old version of windows. Most newer versions you simply put the batch file into the startup directory.
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.
LaurV is offline   Reply With Quote
Old 2012-05-04, 02:47   #10
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 LaurV View Post
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.
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.
(see above)
Dubslow is offline   Reply With Quote
Old 2012-05-04, 05:47   #11
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

22·17·139 Posts
Default

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.

Last fiddled with by LaurV on 2012-05-04 at 05:52
LaurV is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 v28.5.1 Error at Torture test start RMSe17 Information & Answers 2 2014-12-16 18:55
Can I just start Prime95 by running torture test? marks9GIMPS Information & Answers 5 2011-06-05 18:44
Prime95: Torture test - Windows freeze Ovniproject Information & Answers 1 2010-01-26 02:58
prime95, torture test, and stability polyestr Hardware 6 2006-08-12 12:45
prime95 freezes during torture test RollerCam540 Hardware 9 2004-12-30 06:02

All times are UTC. The time now is 08:38.

Tue May 18 08:38:28 UTC 2021 up 40 days, 3:19, 0 users, load averages: 1.57, 1.67, 1.71

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.