Hi

I have used your test setup to test performance of a very simple memcached
replacement written in java. Thanks for finding time to write such a useful
tool.

I have few suggestions:

1) In client server performance tests following metrics are important:
      - cpu usage of the client
      - cpu usage of the server
      - network bandwidth consumed (IN and OUT)
      - latency

     If the test infrastructure could capture these details, it would much
much easier to find out the bottleneck. That is client, server or network.

2) When I ran the tests, I couldn't saturate (CPU) of a single memcached
instance. The server was a single 1.6Gz Quad core intel processor. I am not
sure if you need three servers for this test. I was getting close to 80K TPS
after few modification to the benchmark code.

3) All the non-blocking client libraries are using a single thread and
single connection for IO. I could get about 50% higher TPS numbers by
changing the client code to use 4 threads (connections) and assigning
different connections to different client threads (non NIO threads).

4) Multiple threads in the test scenario seem to test only two things. One
the ability of the client OS to do context switches fast enough and the
ability of the client library to use mgets. I think just testing mget
performance with less number of threads would give us a better comparison of
client libraries.

5) Another thing orthogonal to the tests which I noticed was that memcached
hit rate continues to deteriorate if flush_all is not called between
different runs. Do I need to switch on slab reallocation?


thanks!
Rohit Karlupia


On Mon, Oct 18, 2010 at 10:55 AM, dennis <[email protected]> wrote:

> hi all
>
>  xmemcached is an open-source memcached client for java,i am pleased
> to announce the release of Xmemcached version 1.2.6.1,it is a minor
> version fixed bugs.if you use maven ,you cloud use it as
>
>  <dependency>
>      <groupId>com.googlecode.xmemcached</groupId>
>      <artifactId>xmemcached</artifactId>
>      <version>1.2.6.1</version>
>  </dependency>
>
> And also i have updated the java memcached client performance
> benchmark ,you can check it on
>
> http://xmemcached.googlecode.com/svn/trunk/benchmark/benchmark.html
>
>
> homepage:  http://code.google.com/p/xmemcached/
> download:    http://code.google.com/p/xmemcached/downloads/list
> wiki:             http://code.google.com/p/xmemcached/wiki/User_Guide
>
> Any suggestions are welcome,thanks.
>
>

Reply via email to