I have updated the CPUstress image.
Improvements compared with the boot disk of Adrian.
It now uses the kernel of Parted Magic (last kernel available), so it should support the last kind of processors.
Made an initrd of 12MiB, with 2.7 MiB free space, so other programs or scripts can be added easily. (gzipped size = 2.5 MiB)
Changed file system inside the initrd from minix to ext2, so it can be used in conjunction with the kernel of Parted Magic.
Contains an updated busybox executable:
- BusyBox 1.11.1 (stable) --- 12 July 2008
If you need a certain executable for a script and if you can't find it in this image, compile busybox yourself and select all the executables that you want.
Added and rewrote the scripts and cleaned up the whole initrd.
Added a number of virtual consoles. Use '<Alt> + <Left/Right>' to switch to another virtual console. This is useful to run 'top' while a stress test is running. 'top' displays the CPU usage of all running applications. With this program you can see if all your CPUs are fully stressed.
Added a script called 'cpuinfo':
It grabs the info about the CPU(s), which is provided by the kernel.
- CPU info will give you some info about your CPU:
- number of processors
- Vendor
- CPU family
- CPU model name
- CPU speed
- cache size
- possible construction bugs of your CPU
- which extensions (flags) your CPU supports
- ...
- * Let the user choose the version he wants. No automatic selection of the version of Mersenne Prime Test, based on the CPU model anymore.
* Automaticly detect the number of CPUs and run as many instances as there are CPUs.
Stress V1.00: Updated to V1.00When you run the following in the terminal:
mprime ==> will prompt to ask which version should be used
mprime 23 ==> will run 'Mersenne Prime 23.9.2'
mprime 24 ==> will run 'Mersenne Prime 24.14.2'
If you want to run a specific version of mprime, when you boot the image, use:
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=mprime23
This will start 'Mersenne Prime 23.9.2'.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=mprime24
This will start 'Mersenne Prime 24.14.2'.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=mprime
This will prompt to ask which version should be used.
StressCPU2: Replaces StressCPU.
CPUburn v1.00:
Added a number of parameters to choose how long 'CPUburn-in' must be run.
Help:Run the program with one command line value to specify the length of time to run the test:
eg.
"cpuburn 10" will run the test for ten minutes.
If you want to run cpuburn-in for a certain time, you can also add a parameter to the isolinux config file:
eg. Run cpuburn-in for 10 days.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=cpuburn days=10
eg. Run cpuburn-in for 10 hours.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=cpuburn hours=10
eg. Run cpuburn-in for 10 minutes.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000
ubcdcmd=cpuburn minutes=10
Added a 'help' script which makes it easier to read the help text of
several executables.
The cpustress image has now support for a serial console.e.g.: help ==> displays all programs
help cpuburn ==> displays info about cpuburn and how to use it.
I am not completely sure if it works, because I don't have a serial console.
Howto:
Code: Select all
- Add serial=com1, serial=com2, serial=com3 or serial=com4 to the isolinux config file.
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 serial=com1 ubcdcmd=stresscpu2
- Make a directory (mkdir ./cpustress-initrd).
- Mount the cpustress initrd image as root (sudo mount -o loop initrd ./cpustress-initrd).
- Uncomment the appropriate line in /etc/inittab.
- Unmount the initrd.
The APPEND command needs root=/dev/ram0, else the kernel crashed when you typed exit after the execution of a program.
Code: Select all
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=stresscpu2
Code: Select all
LABEL -
MENU LABEL CPU Burn-in V1.00
TEXT HELP
Heats up any x86 CPU to the maximum possible operating temperature that is
achievable by using ordinary software. This allows the user to adjust the CPU
speed up to the practical maximum while still being sure that stability is
achieved even under the most stressful conditions.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=cpuburn
LABEL -
MENU LABEL CPUinfo
TEXT HELP
Gives info about your CPU: number of processors, vendor, CPU family, CPU model name,
CPU speed, cache size, possible construction bugs of your cpu, which extensions (flags)
your CPU supports.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=cpuinfo
LABEL -
MENU LABEL StressCPU 2 (requires CPU with SSE)
TEXT HELP
Torture-test your CPU in order to make sure that you don't have overheating
problems. Requires SSE-equipped x86 CPUs. Executes a special version of the
Gromacs innerloops that mixes SSE and normal assembly instructions to heat
your CPU as much as possible.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=stresscpu2
LABEL -
MENU LABEL Mersenne Prime Test V23.9/24.14
TEXT HELP
Mersenne Prime Search program that stresses the CPU.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=mprime
LABEL -
MENU LABEL Stress V1.00 - System Burn-In Test
TEXT HELP
Simple workload generator for POSIX systems. It imposes a configurable amount
of CPU, memory, I/O, and disk stress on the system. This menu item launches
stress with the "--help" parameter that displays all possible options. You
need to run it again with the stress test options that you prefer.
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=stress
LABEL -
MENU LABEL Help for CPU stress image
TEXT HELP
Displays help for the programs inside the CPU stress image
ENDTEXT
KERNEL /pmagic/bzImage
APPEND initrd=/ubcd/boot/cpustres.gz root=/dev/ram0 ramdisk_size=13000 ubcdcmd=help
http://ubcd.110mb.com/download/cpustress/rev1/bzImage
Place it in /pmagic/.
Download the cpustres initrd:
http://ubcd.110mb.com/download/cpustres ... pustres.gz
For UBCD50: Place it in /ubcd/boot/. You can delete /ubcd/boot/cpustres (old kernel).
For UBCD411: Place it in /boot/. You can delete /boot/cpustres (old kernel).
You have to change initrd=/ubcd/boot/cpustres.gz to initrd=/boot/cpustres.gz in the above given isolinux config.
Remaster the CD.
Test it please.
Especially people, who had problems with the previous image.
viewtopic.php?t=925
Also test it if you have a dual core or a quad core, and see if all CPUs are detected. (Normally it should work, but just to be sure.)