|
GettingStarted
A guide to checking out the code, building it and running the performance tests
Phase-Deploy Getting Started1. Check out the project locally to your machine > cd ${MY_PROJECTS_HOME}
> svn checkout http://disruptor.googlecode.com/svn/trunk/ disruptor-read-only2. Build a distribution > cd ${MY_PROJECTS_HOME}/disruptor-read-only/code
> antAs a result of the build you should find the following files: ${MY_PROJECTS_HOME}/disruptor-read-only/code/target/dist/disruptor.jar
${MY_PROJECTS_HOME}/disruptor-read-only/code/target/dist/disruptor-api.jar
${MY_PROJECTS_HOME}/disruptor-read-only/code/target/dist/disruptor-src.jar3. Run the performance tests > cd ${MY_PROJECTS_HOME}/disruptor-read-only/code
> ant throughput:test
> ant latency:test
|
► Sign in to add a comment
Hi All-
First off, the Disruptor is really pretty sharp. I must say I am extremely impressed by the throughput and latency performance you all have achieved with this.
I do have a slight problem, however when I run the throughput:test target from the ant build. Every time the com.lmax.disruptor.ThreePublisherToOneProcessorSequencedThroughputTest? is run it seems as if it just sits there. Does this particular perf. test take an exceptionally long time to run? My machine specs are as follows:
MacBook? Pro 2,1 4GB of RAM 256 SSD Core 2 Duo @ 2GHz
My java version is as follows:
java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-10M3425) Java HotSpot?(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
Would this configuration be causing any problems? Any advice and/or help would be greatly appreciated. Again, great work and thanks for your time!
Cheers,
Thomas
Hi All-
I figured out the problem and it turns out it's because my processor is just... slow :(. Anyway, I kicked down the number of ITERATIONS to 30MM from 300MM it finished in somewhat of a reasonable amount of time. Just thought I'd pass this along if anyone else runs the perf. tests on a machine with comparable specs to my own.
Cheers,
Thomas
dear all: When run "ant latency:test" test,I get this error:
PS C:\code\disruptor-read-only\code> ant latency:test Buildfile: C:\code\disruptor-read-only\code\build.xml
test:prepare:
main:prepare:
build:
latency:test:
junitreport? Processing C:\code\disruptor-read-only\code\target\reports\perf\TESTS-TestSuites?.xml to C:\Users\ADMINI~1\ AppData?\Local\Temp\2\null639436170 junitreport? Loading stylesheet jar:file:/C:/program/apache-ant-1.8.2/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/ optional/junit/xsl/junit-frames.xsl junitreport? Transform time: 585ms junitreport? Deleting: C:\Users\ADMINI~1\AppData?\Local\Temp\2\null639436170BUILD FAILED C:\code\disruptor-read-only\code\build.xml:113: The following error occurred while executing this line: C:\code\disruptor-read-only\code\build.xml:88: Tests failed. Check log and/or reports.
Total time: 3 minutes 50 seconds
My system is: Manufacturer: HP Model: ProLiant? ML150 G6
Operating System: Microsoft Windows Server 2008 R2 Datacenter - Version: 6.1.7601 - ServicePack?: 1
java version is: jdk1.6.0_25(64 bit)
lmy
Hello,
First I would like to say that I am a big fan of Disruptor, as it allowd me to learn a lot of cool stuff.
My discovery: I have checked out and build latest version of the disruptor – 2.8. and build it.
When I run: ant latency:test I receive follwing failure: junit.framework.AssertionFailedError?: at com.lmax.disruptor.ThrottledOnePublisherToThreeProcessorPipelineLatencyTest?.shouldCompareDisruptorVsQueues(ThrottledOnePublisherToThreeProcessorPipelineLatencyTest?.java:216)
My configuration:
Toshiba Tecra S11 with 8GB RAM
Windows 7 Professional 64Bit Servis Pack 1
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07) Java HotSpot?(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
throughput:test Passes everything ok.
Cheers,
Dusan