It is currently Sun Sep 21, 2014 6:05 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Prime95
PostPosted: Sun Apr 07, 2013 7:15 pm 
Offline

Joined: Sun Apr 07, 2013 7:13 pm
Posts: 2
What settings are used in the UBCD version?
Is it Small FFT, Large FFT or Blend?

Cause it would be nice to be able to choose.
As running from DOS (or what it´s called) is much better than inside an OS, as the OS itself takes cycles and ram.

Thanks


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Tue Apr 09, 2013 3:48 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
zerowalker wrote:
What settings are used in the UBCD version?
Is it Small FFT, Large FFT or Blend?


The Prime95 in UBCD is run with the default setting. That is, Blend.

If you want to configure Prime95 before you start, you can run this in your command line:

Code:
/opt/mprime/mprime27 -m -w/tmp/torture-test


The mprime wrapper script will create a temp directory every time you run a torture test. So you can use any working directory besides "/tmp/torture-test".

zerowalker wrote:
Cause it would be nice to be able to choose.

Good idea. I might add that feature in the future.

zerowalker wrote:
As running from DOS (or what it´s called) is much better than inside an OS, as the OS itself takes cycles and ram.

Your argument here doesn't make sense. First, Prime95 doesn't support DOS at all! Second, DOS is an OS, which takes cycles and ram too. You should refer to a self-bootable program instead, but unfortunately few people will develop stress-testing programs for self-booting.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Fri Apr 19, 2013 5:31 am 
Offline

Joined: Sun Apr 07, 2013 7:13 pm
Posts: 2
Please add if possible, choices:)

And well what i meant was, i am pretty sure that loading up Windows 7 or similar will Surely take a lot more cycles to keep it up, than DOS.
It probably won´t matter so much in the end, but it´s still Better, as more cycles are going to the test.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Sat Apr 20, 2013 6:28 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
zerowalker wrote:
Please add if possible, choices :)


You can now specify the "-m" option in the new CPUstress image (v2.2.1+). I believe this is what you need.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Wed Sep 10, 2014 11:31 am 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
Thanks Explorer09.
I'm trying this in a VM now.
I was able to get to the Prime95 menu by typing /opt/mprime/mprime27 and from there I could select the options (which stress test, how many CPUs...).

Now I'm trying to create a custom P95 entry that would show in "User-defined" in UBCD.

I added this to the custom.cfg:
Code:
LABEL -
MENU LABEL Prime95
TEXT HELP
Your help message goes here.
ENDTEXT
COM32  linux.c32 /ubcd/boot/cpustress/bzImage
INITRD /ubcd/boot/cpustress/initrd.xz
APPEND noapic ubcdcmd=mprime27


P95 seems to just start running, I suppose in default mode which is blend.
I'd like it to either start with my predefined settings ("In-place large FFTs", all cores, not submitting results) or to ask me (as if typed /opt/mprime/mprime27).

Is this possible and what do I need to add to the custom.cfg file?




EDIT:
I found out this page and the key is using -ubcdargs, so the last line should be
APPEND noapic ubcdcmd=mprime27 ubcdargs='-m'
and it will bring up the setup dialog.

Now I'm off to actually using this and see how it goes. I wonder if the eventual errors are displayed like in the Windows GUI... would be nice if they were logged somewhere too.


EDIT2:
Tried this on a real machine (i5-750) and got a whole lot of kernel panics and errors before even getting to the actual stress test. :(
Sometimes it would work, but mostly not.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Wed Sep 10, 2014 6:26 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
ubcdhelpplease wrote:
EDIT:
I found out this page and the key is using -ubcdargs, so the last line should be
APPEND noapic ubcdcmd=mprime27 ubcdargs='-m'
and it will bring up the setup dialog.

The next version of CPUstress image (v2.5.2) will support the torture test options without ubcdargs='-m'. I implemented the setup dialog in the wrapper script. If you are interested you can try it here (unpack the replace the old version in the UBCD).

Or just look at the screenshot :)
Image

ubcdhelpplease wrote:
Now I'm off to actually using this and see how it goes. I wonder if the eventual errors are displayed like in the Windows GUI... would be nice if they were logged somewhere too.

Try finding the results.txt in /tmp/torture-test/torture.* for any mprime log message.

ubcdhelpplease wrote:
Tried this on a real machine (i5-750) and got a whole lot of kernel panics and errors before even getting to the actual stress test. :(
Sometimes it would work, but mostly not.

If you want to report a kernel panic, please state what panic message you see. Taking a screenshot with your camera and uploading here helps.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Thu Sep 11, 2014 12:08 pm 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
Explorer09 wrote:
Try finding the results.txt in /tmp/torture-test/torture.* for any mprime log message.

That file would be stored in RAM for as long as the program is running, right?
I'd be more interested in a log file that is permanently saved (to the bootable USB). Especially seeing how on error you might get a kernel panic/automatic restart/freeze.

There's also a blackening of the screen after 10 minutes, which seems unnecessary at best (it doesn't actually turn the screen off) and could make you miss some info on the screen.


I'll see if I can find some more info on the kernel panics and errors. I suspect that some of those could be related to an unstable overclock, but I can't say for sure yet.
And if they are, it seems that the UBCD/Linux version of mprime stresses the system significantly more than the Windows version (Prime95 with GUI). Would you say this is the case?


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Thu Sep 11, 2014 4:54 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
ubcdhelpplease wrote:
Explorer09 wrote:
Try finding the results.txt in /tmp/torture-test/torture.* for any mprime log message.

That file would be stored in RAM for as long as the program is running, right?
I'd be more interested in a log file that is permanently saved (to the bootable USB). Especially seeing how on error you might get a kernel panic/automatic restart/freeze.

Yes, the file is stored in RAM, and it's there until you restart the computer.
I have no plan to add hard drive support in CPUstress image because it will make the kernel unnecessary complex, and there is a hard disk stress test in Stress that is not going to work unless automatic mounting is implemented as well. Enabling hard disk test can also bring a risk of crashing your existing file system. I won't let users do that anyway.

If you want hard disk support, you can simply run mprime in a Linux distribution you have, or run it in a Live DVD.

ubcdhelpplease wrote:
There's also a blackening of the screen after 10 minutes, which seems unnecessary at best (it doesn't actually turn the screen off) and could make you miss some info on the screen.

It can be turned off with parameter consoleblank=0. I'm not sure if I should make it the default or not.


ubcdhelpplease wrote:
And if they are, it seems that the UBCD/Linux version of mprime stresses the system significantly more than the Windows version (Prime95 with GUI). Would you say this is the case?

I cannot tell whether this is true, but it might depend on which kind of test you are running.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Fri Sep 12, 2014 5:37 am 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
Yeah, you make a good point, it's better to keep this simple and without disk support.

Thanks for consoleblank=0, it works fine and IMO it should definitely be there by default.
So for anyone stumbling upon this thread, I found that this works as a simple custom entry for quick testing with P95:
Code:
LABEL -
MENU LABEL Prime95
TEXT HELP
Prime95 torture test
ENDTEXT
COM32  linux.c32 /ubcd/boot/cpustress/bzImage
INITRD /ubcd/boot/cpustress/initrd.xz
APPEND noapic consoleblank=0 ubcdcmd=mprime27 ubcdargs='-m'




Regarding the errors and kernel panics, I found that at least some (if not all) are in fact related to hardware, specifically too low core CPU voltage.
But they mostly happen when loading Linux, which is something I didn't expect. I don't mean just the Linux used here, but even more so for loading something like Lubuntu (live CD/USB). It needs at least 0.05 more V than Windows to load. UBCD mprime can start with less, but still needs more than Windows.
It seems that booting up Linux is a better stress test than Prime. :)
EDIT: Apparently Linux has issues with some motherboards' implementations of 21x multiplier, which sometimes works through "turbo boost"...


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Mon Sep 15, 2014 2:23 am 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
Trying to get to the bottom of those kernel panics, I found out what was causing them:
Linux (in most recent implementations, at least) simply ignores the BIOS settings regarding C-states, so if you have disabled those in BIOS, they will be enabled by the OS:
http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=migr-5091901
Obviously this can mean bad things, especially for some overclocked systems. Here's a related discussion with some practical implications.

Adding intel_idle.max_cstate=0 to the custom Prime config (next to consoleblank=0) makes it usable for me, but this is crazy.
Is there an easy way to add this to UBCD in general or to specific bootable distros?

Anyway, don't want to get too offtopic.
The bottom line is that Mprime in UBCD/Stress works fine as far as I can tell, but you need to get around some Linux peculiarities (which might not affect all systems, though).


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Mon Sep 15, 2014 2:48 pm 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
One more thing... I'm a noob so forgive me if I'm missing something obvious...

When I ran my custom mprime test (from a couple of posts back) I couldn't find any files or folders under /torture-test (even after a worker hit an error and stopped running).

When I ran mprime from the default menu (not my custom) I got a folder with three .txt files there, but I got "permission denied" when trying to open them. Should I just have typed sudo or something?


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Mon Sep 15, 2014 3:26 pm 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
ubcdhelpplease wrote:
Trying to get to the bottom of those kernel panics, I found out what was causing them:
Linux (in most recent implementations, at least) simply ignores the BIOS settings regarding C-states, so if you have disabled those in BIOS, they will be enabled by the OS:
http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=migr-5091901
Obviously this can mean bad things, especially for some overclocked systems. Here's a related discussion with some practical implications.

Thank you for the info. Actually when I maintain this boot image I have never tried any of the overclocking possibilities. My Google search result show that there are several problem reports regarding C-states and the intel_idle driver. Now if no one objects, I'll remove this driver completely (at compile time) in the next version. (Please wait for kernel 3.16.3, because I have my own policy not to provide two CPUstress kernel builds for the same Linux kernel release.)

ubcdhelpplease wrote:
When I ran my custom mprime test (from a couple of posts back) I couldn't find any files or folders under /torture-test (even after a worker hit an error and stopped running).

Are you trying CPUstress image v2.5.2? The new version no longer puts the config files and long under /tmp/torture-test, but rather /opt/mprime/28/ .
And sometime mprime doesn't generate any log file after a test, due to mprime's design. If that's the case, there's nothing I could do.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Tue Sep 16, 2014 4:24 am 
Offline

Joined: Wed Sep 30, 2009 4:28 pm
Posts: 12
Explorer09 wrote:
Are you trying CPUstress image v2.5.2?

No, just the one included in UBCD531, through this entry in custom.cfg:
Code:
LABEL -
MENU LABEL Prime95
TEXT HELP
Prime95 torture test
ENDTEXT
COM32  linux.c32 /ubcd/boot/cpustress/bzImage
INITRD /ubcd/boot/cpustress/initrd.xz
APPEND noapic intel_idle.max_cstate=0 consoleblank=0 ubcdcmd=mprime27 ubcdargs='-m'


In this case results.txt is at /opt/mprime/ (and I managed to open it :) ).


I'm looking forward to the inclusion of a newer version of mprime (28), though it seems to behave a bit differently when I ran it in Windows, so it might be good to keep 27 there as well.


Top
 Profile  
 
 Post subject: Re: Prime95
PostPosted: Thu Sep 18, 2014 4:04 am 
Offline

Joined: Fri Jun 17, 2011 11:23 pm
Posts: 161
ubcdhelpplease wrote:
In this case results.txt is at /opt/mprime/ (and I managed to open it :) ).

Glad that you found it. :)
ubcdhelpplease wrote:
I'm looking forward to the inclusion of a newer version of mprime (28), though it seems to behave a bit differently when I ran it in Windows, so it might be good to keep 27 there as well.

UBCD 5.3.2 is released recently so you can try it. And no, I won't include three versions of mprime without a definite reason. Mprime binary is a big one. Each of them takes about 800kB when it's UPX-compressed in the image. (It would be about 30MB when decompressed in the memory.)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group