the openMosix Stress-Test
by Matt Rechenburg
Overview
General description
Detailed description
distkeygen
portfolio
eatmem
forkit
mfstest
kernel syscall test
moving
Installation
Download
Example report
Disclaimer
General description
This stress test is made to test an openMosix cluster + kernel.
It will perform several application + kernel tests for checking the stability and other features of openMosix (e.g. process migration, mfs, ...).
During this test the cluster will be mostly loaded so you should stop other running applications before starting it. When it finished it generates a fully detailed report about each component which was tested.
Detailed description
The openMosix stress-test runs several programs to check the functionality of the
whole system. In the following part you will find a description of each test-application:
# distkeygen
This application is used to generate 4000 RSA key pairs with 1024 bits of key length.
It is distributed into as many processes as processors in your openMosix cluster via fork.
Requires : gcc compiler and OpenSSL library
Copyright (C) 2001 Ying-Hung Chen (GPL)
http://www.yingternet.com/mosix
# portfolio
'portfolio' is a perl program that simulate a portfolios for various stock composition for a given period of time. This method is base on the book "The intelligent asset allocator" by William Bernstein.
This program is licensed under GPL
Author: Charles-E. Nadeau Ph.D., (c) 2002
E-mail address: charlesnadeau AT hotmail DOT com
get the updated portfolio04.pl test here
# eatmem
Simply calculates sin+sqrt from a value 1000000 times and outputs it outputs the loop count to a file (which will grow a lot) This tests is started as many times at once as many processors you have in your openMosix cluster automatically.
# forkit
The 'forkit' test is similar to the 'eatmem' test but uses fork to create multiple process (3*[processors_in_your_openMosix_cluster]) expect it does not write to files.
# mfstes
This will create a 10MB file and copy it to all nodes back and forth. It is for checking the oMFS capabilities.
# kernel syscall test
The Linux Test Project is a joint project with SGI, IBM, OSDL, and Bull with a goal to deliver test suites to the open source community that validate the reliability, robustness, and stability of Linux. The Linux Test Project is a collection of tools for testing the Linux kernel and related features. The goal is to improve the Linux kernel by bring test automation to the kernel testing effort. Interested open source contributors are encouraged to join the project.
For more information visit : http://ltp.sf.net
# moving
The 'moving.sh' will move the 'start_openMosix_test.sh' around each node in your openMosix cluster while running the stress-test itself. So 'start_openMosix_test.sh' will migrate every minute to another node during the test-run. Dependent on how long the test will run on your cluster it will be migrated 20-40 times.
Installation
-
-using the source package
Unzip and untar the openMosix stress-test with the following commands in e.g. /usr/local:
gunzip omtest.tar.gz
tar -xvf omtest.gz
Then 'cd' into the /usr/local/omtest directory and execute:
./compile_tests.sh
This will install the required perl modules and compile the test-programs.
The installation of these modules requires root-privileges.
Later you can run the openMosix stress-test also as a regular user.
(you maybe have to delete old temporary files from root's test-runs
in /tmp because you won't have the permission to overwrite it as regular user)
You are ready to run the test now with the command:
./start_openMosix_test.sh
-
-using the RPM-package
Just install the omtest.rpm with the following command:
rpm -ihv omtest.rpm
Now you can start the openMosix stress test with the command:
start_openMosix_test.sh
(The RPM-package will be installed in /usr/local/omtest)
Download
Version 0.1-4.1 of the openMosix stress-test
omtest-0.1-4.1.tar.gz (sources-package)
omtest-0.1-4.1.i386.rpm (RPM-package)
Changes:
-small bug-fix in report filename (date)
--> Charles-E. Nadeau contributed an updated portfolio04.pl test
(will be included in the next version of the openMosix stress-test)
get the updated portfolio04.pl test here
Version 0.1-4 of the openMosix stress-test
omtest-0.1-4.tar.gz (sources-package)
omtest-0.1-4.i386.rpm (RPM-package)
Changes:
-include version file version.txt
-updated ltp test-package
-added lmbench to the openMosix stress-test
(must be executed manually by "run_lmbench.sh)
Version 0.1-3 of the openMosix stress-test
omtest-0.1-3.tar.gz (sources-package)
omtest-0.1-3.i386.rpm (RPM-package)
Changes:
-stderr will now also report to stdout after each test
-fixed small bug in the kernel-syscall start-script (tmp-directory)
-fixed error-message during deleting temporary files from the distkeygen test
-you can now also run the openMosix stress-test as regular user
(only the installation requires root-privileges)
omtest-0.1-2.tar.gz (sources-package)
omtest-0.1-2.i386.rpm (RPM-package)
Changes:
-stderr is now also captured in the stress-test report
-add checks for nodes which are in the cluster but down
Version 0.1-1 of the openMosix stress-test
omtest-0.1-1.tar.gz (sources-package)
omtest-0.1-1.i386.rpm (RPM-package)
Example report
This is an example openMosix-stress-test-report
generated from this test on a 5 node openMosix cluster version 2.4.18-1.
openMosix-stress-test-report.txt (example)
Disclaimer
All code-examples and applications are without guarantee.
Use this openMosix stress-test at your own risk and feel free to contribute your own ideas.
The Author of this cluster test is not responsible for any mistakes and their consequences while running the stress-test on your system.
Be sure to backup your important data before starting this test because it may overload or crash systems or your whole cluster.
Matt Rechenburg (mosixview@t-online.de)

This page is: http://www.openmosixview.com/omtest/