![]() |
||||||||||||
|
Stress testVadim Tkachenko from the DIY-Zoning project sent us a huge data file (almost 30Mb raw, 5Mb compressed) which can be used for JRobin stress testing. The test creates one big RRD file (12Mb) with 6 datasources and 12 long archives performing more than 600.000 updates afterwards. If you want to run the stress test, you'll have to download the stress-test.txt file from our SourceForge site. The file is placed in a separate package named jrobin test data. Place the file somewhere on your disk and issue the following command from your command line: java -cp jrobin-demo-{version}.jar \ org.jrobin.demo.StressTest path_to_stress-test.txt or (if your X-server is not running): java -Djava.awt.headless=true -cp jrobin-demo-{version}.jar \ org.jrobin.demo.StressTest path_to_stress-test.txt With version 1.3.1 it takes about 40 minutes to complete the test on a 1.6GHz computer with 256Mb of RAM. It takes only 5 (five) minutes to complete the same test on the same machine with 1.4.0 version! You'll discover that JRobin 1.4.0 easily performs more than 2.500 RRD updates per second. When the test is finished, you'll find two new files in your $HOME/jrobin-demo directory: stress.rrd (newly created RRD file) and stress.png (sample graph created from imported data). The graph should look like this one: Copyright © 2003, 2004 Sasa Markovic & Arne Vandamme. All Rights Reserved. |