First results

portofolio

One of the tests within the openMosix Test framework is the 'portfolio' perl program; it simulates a portfolio for various stock compositions for a given period of time. This approach is based on the book ``The intelligent asset allocator'' by William Bernstein and the script was written by Charles-E. Nadeau.

[root@dhcp71 portfolio]# time ./portfolio.pl
starting 15 processes
started, pid: 25293
started, pid: 25294
started, pid: 25295
started, pid: 25296
started, pid: 25297
started, pid: 25298
started, pid: 25299
started, pid: 25300
started, pid: 25301
started, pid: 25302
started, pid: 25303
started, pid: 25304
started, pid: 25305
started, pid: 25306
started, pid: 25307
Simulation finished

real    8m48.263s
user    14m58.980s
sys     0m6.410s
To give you an impression I also ran the application with 4 nodes (similar hardware):
[root@dhcp71 portfolio]# time ./portfolio.pl
starting 15 processes
started, pid: 25445
started, pid: 25446
started, pid: 25447
started, pid: 25448
started, pid: 25449
started, pid: 25450
started, pid: 25451
started, pid: 25452
started, pid: 25453
started, pid: 25454
started, pid: 25455
started, pid: 25456
started, pid: 25457
started, pid: 25458
started, pid: 25459
Simulation finished

real    4m57.966s
user    11m13.700s
sys     0m44.210s
As you can see, we added 2 nodes and we almost doubled the speed. But that's nothing really new.

oMFS test over ethernet

Another part of the openMosix stress test is the mfstest. This application creates a 10Mb file an copies it back and forth to all nodes. Since oMFS is a network related filesystem this should be a test that would actually show a difference.

[root@dhcp71 mfstest]# time ./mfscopy.sh
10000+0 records in
10000+0 records out
cp /tmp/testfile.zero from here to node 2628
cp /tmp/testfile.zero from mfs-node 2628 to local
cp: skipping file `/mfs/2628/tmp/testfile.zero', as it was replaced while being copied
nodes equal! do not cp
nodes equal! do not cp
cp /tmp/testfile.zero from here to node 2631
cp /tmp/testfile.zero from mfs-node 2631 to local
cp: skipping file `/mfs/2631/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from mfs-node 2631 to mfs-node 2628
cp: skipping file `/mfs/2631/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from mfs-node 2628 to mfs-node 2631
cp: skipping file `/mfs/2628/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from here to node 2628
cp /tmp/testfile.zero from mfs-node 2628 to local
cp: skipping file `/mfs/2628/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from mfs-node 2628 to mfs-node 2631
cp: skipping file `/mfs/2628/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from mfs-node 2631 to mfs-node 2628
cp: skipping file `/mfs/2631/tmp/testfile.zero', as it was replaced while being copied
cp /tmp/testfile.zero from here to node 2631
cp /tmp/testfile.zero from mfs-node 2631 to local
cp: skipping file `/mfs/2631/tmp/testfile.zero', as it was replaced while being copied
nodes equal! do not cp
nodes equal! do not cp
delete /mfs/2628/tmp/testfile.zero
delete /mfs/2631/tmp/testfile.zero
finished ok

real    0m21.945s
user    0m0.140s
sys     0m3.070s