root/lang/perl/OreOre-Cache-TokyoTyrant/benchmark.txt

Revision 29996, 2.8 kB (checked in by mala, 4 years ago)

benchmark result

Line 
1* 参考ベンチマーク
2- get_multiが遅いのはリクエストヘッダサイズに制限があるので分割してるため。
3- compressが速いのは、クライアント側での圧縮を使用せず、Tokyo Cabinetの圧縮オプション(deflate)を使用しているため
4- ttserverは64bitマルチコア別サーバー、Tokyo Tyrantの更新ログ使用せず、ext3でwritebackモードは不使用
5
6Module Information:
7 + Cache::Memcached => 1.24
8 + Cache::Memcached::Fast => 0.12
9 + Cache::TokyoTyrant => 0.01
10
11Options:
12 + Memcached server: localhost:11211
13 + Include no block mode (where applicable)? :NO
14
15Prepping clients...
16
17==== Benchmark "Simple get() (scalar)" ====
18                  Rate perl_memcached    tokyotyrant memcached_fast
19perl_memcached  4444/s             --           -71%           -87%
20tokyotyrant    15198/s           242%             --           -55%
21memcached_fast 34014/s           665%           124%             --
22==== Benchmark "Simple get_multi() (scalar)" ====
23                  Rate    tokyotyrant perl_memcached memcached_fast
24tokyotyrant     1593/s             --           -37%           -88%
25perl_memcached  2546/s            60%             --           -81%
26memcached_fast 13333/s           737%           424%             --
27==== Benchmark "Serialization with get()" ====
28                  Rate perl_memcached    tokyotyrant memcached_fast
29perl_memcached  4119/s             --           -65%           -81%
30tokyotyrant    11655/s           183%             --           -46%
31memcached_fast 21645/s           426%            86%             --
32==== Benchmark "Simple get() (w/compression)" ====
33                  Rate perl_memcached memcached_fast    tokyotyrant
34perl_memcached  1873/s             --           -39%           -81%
35memcached_fast  3092/s            65%             --           -69%
36tokyotyrant    10101/s           439%           227%             --
37==== Benchmark "Simple set() (scalar)" ====
38                  Rate perl_memcached    tokyotyrant memcached_fast
39perl_memcached 11682/s             --           -23%           -64%
40tokyotyrant    15152/s            30%             --           -53%
41memcached_fast 32258/s           176%           113%             --
42==== Benchmark "Simple set() (w/seriale)" ====
43                 Rate perl_memcached    tokyotyrant memcached_fast
44perl_memcached 6353/s             --            -3%           -35%
45tokyotyrant    6536/s             3%             --           -33%
46memcached_fast 9728/s            53%            49%             --
47==== Benchmark "Simple set() (w/compress)" ====
48                  Rate memcached_fast perl_memcached    tokyotyrant
49memcached_fast   577/s             --            -3%           -95%
50perl_memcached   594/s             3%             --           -95%
51tokyotyrant    12500/s          2066%          2003%             --
Note: See TracBrowser for help on using the browser.