Created
October 19, 2011 20:59
-
-
Save smly/1299656 to your computer and use it in GitHub Desktop.
redis-2.4.1 / 4 x Intel(R) Xeon(R) CPU X3430 @ 2.40GHz / Intel SSDSA2M160 / MEM: 4GB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| testredis06/1$ redis-cli flushall | |
| OK | |
| testredis06/1$ redis-load clients 100 requests 10000000 datasize 32 keyspace 10000000 set 100 | |
| testredis06/0$ redis-cli info | grep -E "(db0:keys|used_memory_human|mem_fragmentation_ratio)" | |
| used_memory_human:836.31M | |
| mem_fragmentation_ratio:1.02 | |
| db0:keys=6321117,expires=0 | |
| testredis06/2$ vmstat | |
| procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ | |
| r b swpd free buff cache si so bi bo in cs us sy id wa st | |
| 0 0 0 2373340 24460 696096 0 0 11 70 148 274 2 3 95 0 0 | |
| testredis06/1$ redis-benchmark -d 1024 -n 10000 -r 10000 -c 100 -q | |
| PING (inline): 63291.14 requests per second | |
| PING: 64935.07 requests per second | |
| MSET (10 keys): 16077.17 requests per second | |
| SET: 54347.82 requests per second | |
| GET: 61728.39 requests per second | |
| INCR: 62893.08 requests per second | |
| LPUSH: 50505.05 requests per second | |
| LPOP: 64516.13 requests per second | |
| SADD: 62893.08 requests per second | |
| SPOP: 61349.69 requests per second | |
| LPUSH (again, in order to bench LRANGE): 56179.77 requests per second | |
| LRANGE (first 100 elements): 6049.61 requests per second | |
| LRANGE (first 300 elements): 991.77 requests per second | |
| LRANGE (first 450 elements): 984.06 requests per second | |
| LRANGE (first 600 elements): 638.20 requests per second | |
| testredis06/1$ redis-benchmark -q | |
| PING (inline): 25380.71 requests per second | |
| PING: 27624.31 requests per second | |
| MSET (10 keys): 43290.04 requests per second | |
| SET: 65789.48 requests per second | |
| GET: 65789.48 requests per second | |
| INCR: 64935.07 requests per second | |
| LPUSH: 65359.48 requests per second | |
| LPOP: 64516.13 requests per second | |
| SADD: 65359.48 requests per second | |
| SPOP: 64935.07 requests per second | |
| LPUSH (again, in order to bench LRANGE): 64935.07 requests per second | |
| LRANGE (first 100 elements): 44052.86 requests per second | |
| LRANGE (first 300 elements): 26666.67 requests per second | |
| LRANGE (first 450 elements): 13623.98 requests per second | |
| LRANGE (first 600 elements): 14992.50 requests per second | |
| testredis06/1$ redis-cli flushall | |
| OK | |
| testredis06/1$ redis-load clients 100 requests 50000000 datasize 32 keyspace 50000000 set 100 | |
| PRNG seed is: 1882992565 - use the 'seed' option to reproduce the same sequence | |
| ^C^C^C | |
| testredis06/1$ vmstat 1 | |
| procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ | |
| r b swpd free buff cache si so bi bo in cs us sy id wa st | |
| 0 0 3024820 152628 2328 404184 778 349 793 556 261 475 3 6 85 5 0 | |
| 0 0 3024820 152636 2328 404184 0 0 0 0 56 48 0 0 100 0 0 | |
| 0 0 3024820 152636 2336 404176 0 0 0 28 60 56 0 0 100 0 0 | |
| 0 0 3024820 152636 2336 404184 0 0 0 0 46 45 0 0 100 0 0 | |
| testredis06/1$ redis-cli info | grep -E "(db0:keys|used_memory|mem_fragmentation_ratio)" | |
| used_memory:3410844360 | |
| used_memory_human:3.18G | |
| used_memory_rss:604082176 | |
| used_memory_peak:3501621200 | |
| used_memory_peak_human:3.26G | |
| mem_fragmentation_ratio:0.18 | |
| db0:keys=24226538,expires=0 | |
| testredis06/1$ redis-benchmark -d 1024 -n 10000 -r 10000 -c 100 -q | |
| PING (inline): 22421.52 requests per second | |
| PING: 25188.92 requests per second | |
| MSET (10 keys): 7776.05 requests per second | |
| SET: 30211.48 requests per second | |
| GET: 33444.82 requests per second | |
| INCR: 34246.57 requests per second | |
| LPUSH: 27100.27 requests per second | |
| LPOP: 33783.79 requests per second | |
| SADD: 33333.33 requests per second | |
| SPOP: 33670.04 requests per second | |
| LPUSH (again, in order to bench LRANGE): 30030.03 requests per second | |
| LRANGE (first 100 elements): 4847.31 requests per second | |
| LRANGE (first 300 elements): 1435.75 requests per second | |
| LRANGE (first 450 elements): 1232.89 requests per second | |
| LRANGE (first 600 elements): 860.44 requests per second | |
| testredis06/1$ redis-benchmark -q | |
| PING (inline): 64102.56 requests per second | |
| PING: 64102.56 requests per second | |
| MSET (10 keys): 21834.06 requests per second | |
| SET: 25000.00 requests per second | |
| GET: 25380.71 requests per second | |
| INCR: 25062.66 requests per second | |
| LPUSH: 23364.49 requests per second | |
| LPOP: 23255.81 requests per second | |
| SADD: 25188.92 requests per second | |
| SPOP: 25125.63 requests per second | |
| LPUSH (again, in order to bench LRANGE): 25188.92 requests per second | |
| LRANGE (first 100 elements): 19920.32 requests per second | |
| LRANGE (first 300 elements): 13755.16 requests per second | |
| LRANGE (first 450 elements): 11494.25 requests per second | |
| LRANGE (first 600 elements): 9523.81 requests per second | |
| (bgsave.....) | |
| testredis06/0$ vmstat 1 | |
| procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ | |
| r b swpd free buff cache si so bi bo in cs us sy id wa st | |
| 0 0 2989544 151712 2744 353516 222 99 226 188 103 147 1 2 95 2 0 | |
| 0 0 2989544 151720 2744 353536 0 0 0 0 54 39 0 0 100 0 0 | |
| 0 0 2989544 151844 2744 353576 0 0 0 0 35 42 0 0 100 0 0 | |
| testredis06/0$ redis-benchmark -q | |
| PING (inline): 61349.69 requests per second | |
| PING: 61349.69 requests per second | |
| MSET (10 keys): 42016.80 requests per second | |
| SET: 65359.48 requests per second | |
| GET: 64102.56 requests per second | |
| INCR: 55555.55 requests per second | |
| LPUSH: 66666.66 requests per second | |
| LPOP: 64935.07 requests per second | |
| SADD: 64935.07 requests per second | |
| SPOP: 64102.56 requests per second | |
| LPUSH (again, in order to bench LRANGE): 25445.29 requests per second | |
| LRANGE (first 100 elements): 20242.92 requests per second | |
| LRANGE (first 300 elements): 23148.15 requests per second | |
| LRANGE (first 450 elements): 20790.02 requests per second | |
| LRANGE (first 600 elements): 16556.29 requests per second | |
| testredis06/0$ redis-cli info | grep -E "(db0:keys|used_memory|mem_fragmentation_ratio)" | |
| used_memory:3451324360 | |
| used_memory_human:3.21G | |
| used_memory_rss:637771776 | |
| used_memory_peak:3536600096 | |
| used_memory_peak_human:3.29G | |
| mem_fragmentation_ratio:0.18 | |
| db0:keys=24226538,expires=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment