Multi-instance memcached performance

As promised, here are more results running memcached on Sun's X2270 (Nehalem-based server). In my previous post, I mentioned that we got 350K ops/sec running a single instance of memcached at which point the throughput was hampered by the scalability issues of memcached. So we ran two instances of memcached on the same server, each using 15GB of memory and tested both 1.2.5 and 1.3.2 versions. Here are the results :

2 instances performance

The maximum throughput was 470K ops/sec using 4 threads in memcached 1.3.2. Performance of 1.2.5 was just very slightly lower. At this throughput, the network capacity of the single 10gbe card was reached as the benchmark does a lot of small packet transfers. See my earlier post for a description of the server configuration and the benchmark. At the maximum throughput, the cpu was still only 62% utilized (73% in the case of 1.2.5). Note that with a single instance we were using the same amount of cpu but reaching a lower throughput rate which once again points to memcached scalability issues.

These are really exciting results. Stay tuned - there is more exciting information coming.

Comments:

That is exciting news. I look forward to seeing what you can do with a few 10gige cards :)

Posted by Stewart Smith on April 28, 2009 at 10:09 AM PDT #

The graph dont seems to be working :(

Posted by Ramoonus on April 28, 2009 at 05:31 PM PDT #

That is strange. Basically, what the graph shows is that both 1.2.5 and 1.3.2 get nearly the same performance with a peak of 470K at 4 threads. After that, throughput falls a bit to 8 threads.

Posted by Shanti on April 29, 2009 at 02:21 AM PDT #

do all the transactions result in hits on the cache?
if not, do you know what is the miss ratio?

thanks.
Enric

Posted by enric on November 06, 2009 at 08:31 AM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

I'm a Senior Staff Engineer in the Performance & Applications Engineering Group (PAE). This blog focuses on tips to build, configure, tune and measure performance of popular open source web applications on Solaris.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today