I ran the rrd stresser with the rrd4j strategy, but the result is not very good 
:

java -cp 
target/opennms-rrd-stresser-1.13.0-SNAPSHOT-jar-with-dependencies.jar:.../slf4j-simple-1.7.2.jar
 -Dorg.opennms.rrd.usetcp=false -Dstresstest.file=/var/tmp/stress/stress 
-Dorg.opennms.rrd.strategyClass=org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy 
org.opennms.tools.rrd.RrdStresser

********************************************************************
* OpenNMS Collection StressTest                                    *
*                                                                  *
* This demo creates single RRD file and tries to update it         *
* more than 600.000 times. Real data (> 20Mb) is obtained from the *
* stress-test.txt file provided by Vadim Tkachenko                 *
* (http://diy-zoning.sourceforge.net).                             *
*                                                                  *
* Finally, a single PNG graph will be created from the RRD file.   *
* The stress test takes about one hour to complete on a 1.6GHz     *
* computer with 256MB of RAM.                                      *
********************************************************************
modulus = 1000
fileCount = 10000
zeroFiles = 5000
threadCount = 1
useQueuing = true
queueCreates = true
rraList = [RRA:AVERAGE:0.5:1:8928, RRA:AVERAGE:0.5:12:8784, 
RRA:MIN:0.5:12:8784, RRA:MAX:0.5:12:8784]

Starting demo at Tue Oct 01 12:34:00 CEST 2013 using 
org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy
Loading update file
Finished loading update file.  Initializing data positions
Creating 10000 RRD files
10000 files created, 529 creates/sec
Will perform one update every 300.0ms
1000 samples stored, -30 updates/sec avg since first update 3 updates/sec avg 
for all time: 
QS:     totalOperationsPending=1, significantOpsPending=0, 
filesWithSignificantWork=1, filesWithInsignificantWork=0
QS:     , createsCompleted=0, updatesCompleted=0, errors=999, 
promotionRate=0.0, promotionCount=0
                                                  ^^^^^^^^^^
QS:     , currentEnqueueRates=(0/0/0), currentDequeueRate=(0/0/0), 
currentItemDequeRate=0, currentOpsPerUpdate=1.0, currentPrcntSignificant=50.0%, 
elapsedTime=1380623962
QS:     , overallEnqueueRate=(1/1/3), overallDequeueRate=(1/1/3), 
overallItemDequeRate=3, overallOpsPerUpdate=1.0, overallPrcntSignificant=50.0%, 
totalElapsedTime=300

But I get no error message:
[main] INFO org.springframework.context.support.ClassPathXmlApplicationContext 
- Refreshing 
org.springframework.context.support.ClassPathXmlApplicationContext@66ae0840: 
startup date [Tue Oct 01 12:34:00 CEST 2013]; root of context hierarchy
[main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - 
Loading XML bean definitions from class path resource 
[org/opennms/netmgt/rrd/rrd-configuration.xml]
[main] INFO org.opennms.netmgt.rrd.RrdConfig - rrd-configuration.properties not 
found, loading RRD configuration solely from system properties
[main] INFO 
org.springframework.beans.factory.support.DefaultListableBeanFactory - 
Pre-instantiating singletons in 
org.springframework.beans.factory.support.DefaultListableBeanFactory@19eed1e1: 
defining beans 
[rrdConfigurationPropertiesDefaults,rrdCnfigurationProperties,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,rrdFileExtension,useQueue,useTcp,tcpRrdStrategy,basicRrdStrategy,queuingRrdStrategy,tcpAndBasicRrdStrategy,tcpAndQueuingRrdStrategy];
 root of factory hierarchy
[main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: creating 
RRD file /var/tmp/stress/stress0.rrd
[main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: creating 
RRD file /var/tmp/stress/stress1.rrd
...
[main] INFO org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy - createRRD: creating 
RRD file /var/tmp/stress/stress9999.rrd

How can I get more information about the errors ?

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to