cogito ergo vagus

August 1, 2010

GemFire on my N900

Filed under: gadgets,linux,software,tech — vagus @ 10:19 am

GemFire Enterprise: http://gemstone.com/products/gemfire
The premier in-memory distributed data management platform now with VMware/SpringSource.

Nokia’s N900: http://en.wikipedia.org/wiki/Nokia_N900 and http://maemo.nokia.com/n900
Runs a 600 mhz ARM Cortex A8 (65 nm, 32 bit RISC TI OMAP 3430) CPU and 256 MB RAM.

After installing mmjre and bash on the N900, let its console output do the talking:


---------------------------------------------------------------------
Nokia-N900:/opt/gfe6032/product/quickstart# uname -a
Linux Nokia-N900 2.6.28.10power37 #1 PREEMPT Wed May 26 00:24:03 EEST 2010 armv7l unknown

Nokia-N900:/opt/gfe6032/product/quickstart# java -version
java version "1.6.0_10-ea"
Java(TM) 2 Runtime Environment, Standard Edition for Embedded (build 1.6.0_10-ea-b39)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode)
Evaluation version, 90 days remain in evaluation period

Nokia-N900:/opt/gfe6032/product/quickstart# cacheserver start cache-xml-file=xml/BenchmarkServer.xml
Starting CacheServer with pid: 0
CacheServer pid: 4291 status: running

Nokia-N900:/opt/gfe6032/product/quickstart# java -Dbenchmark.number-of-samples="15" -Dbenchmark.operations-per-sample="5000" -Dbenchmark.payload-bytes="1024" -cp /opt/gfe6032/product/lib/gemfire.jar:classes quickstart/BenchmarkClient

Client/Server benchmark example.


Benchmark configuration:
benchmark.number-of-samples = 15
benchmark.operations-per-sample = 5000
benchmark.payload-bytes = 1024
Please wait... this may take several minutes...

Finished run. Collating benchmark totals now.

Client/Server Cache Benchmark results:

Total Time = 95.082 seconds
Total Puts = 75000 put operations
Total Samples = 15 benchmark samples
Total Kilobytes = 75000 kilobytes

Average Puts Per Second = 788.7928314507478 puts
Average Kilobytes Per Second = 788.7928314507478 kilobytes of data
Average Operations Time = 1267760.0 nanoseconds per put
Average Byte Time = 0.001238046875 milliseconds per byte of data

Best Puts Per Second = 902.5270758122743 puts
Best Kilobytes Per Second = 902.5270758122743 kilobytes of data
Best Operations Time = 1108000.0 nanoseconds per put
Best Byte Time = 0.00108203125 milliseconds per byte of data
Note: Best sample is representative of performance after JVM warms up.

Closing the cache and disconnecting.

Please stop the cacheserver with 'cacheserver stop'.


Nokia-N900:/opt/gfe6032/product/quickstart# cacheserver stop
The CacheServer has stopped.
---------------------------------------------------------------------

I don’t know which is the cooler product here :)

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: