REDIS-BENCHMARK(1) General Commands Manual REDIS-BENCHMARK(1)NAME
redis-benchmark - Benechmark a Redis instance
SYNOPSIS
redis-benchmark [-h <host>] [-p <port>] [-c <clients>] [-n <requests]> [-k <boolean>]
DESCRIPTION
Redis is a key-value database. It is similar to memcached but the dataset is not volatile and other datatypes (such as lists and sets) are
natively supported.
OPTIONS -h hostname
Server hostname (default 127.0.0.1)
-p hostname
Server port (default 6379)
-c clients
Number of parallel connections (default 50)
-n requests
Total number of requests (default 10000)
-d size
Data size of SET/GET value in bytes (default 2)
-k boolean
1=keep alive 0=reconnect (default 1)
-r keyspacelen
Use random keys for SET/GET/INCR, random values for SADD Using this option the benchmark will get/set keys in the form
mykey_rand000000012456 instead of constant keys, the <keyspacelen> argument determines the max number of values for the random num-
ber. For instance if set to 10 only rand000000000000 - rand000000000009 range will be allowed.
-q Quiet. Just show query/sec values
-l Loop. Run the tests forever
-I Idle mode. Just open N idle connections and wait.
-D Debug mode. more verbose.
AUTHOR
redis-benchmark was written by Salvatore Sanfilippo.
This manual page was written by Chris Lamb <lamby@debian.org> for the Debian project (but may be used by others).
June 28, 2010 REDIS-BENCHMARK(1)
Check Out this Related Man Page
bench(1) General Commands Manual bench(1)NAME
bench - http benchmark
SYNOPSIS
bench [-n requests] [-c concurrency] [-t timeout] [-k] [-K count]
[-C cookie-file] [http://]host[:port]/uri
DESCRIPTION
bench is a HTTP benchmark program that can fetch the same URL over and over again, or fetch several URLs (coming in from stdin).
If you specify a URL on the command line, this URL will be fetch many times (specify with -n, default: 10000) with several connections open
in parallen (specify with -c, default: 10).
You can specify a timeout (per request) in seconds with -t.
The -k switch activates keep-alive mode. In keep-alive mode, the TCP connection is not closed between requests. You also have to specify
how many HTTP requests can go over one TCP connection with -K.
bench can also send one HTTP cookie per connection, as specified using a cookie file. The cookie file is read line by line, and each
request gets the next line inserted into it. So each line should look something like this:
Cookie: foo=bar
If the end of the file is reached, bench restarts it at the beginning.
AUTHOR
Initially written by Felix von Leitner <felix-gatling@fefe.de>.
LICENSE
GPLv2 (see http://www.gnu.org/copyleft/gpl.html)
bench(1)
I have done some tests with UFS/ZFS under bonnie benchmark.
here are the results if you are interested.
software:
OS: FreeBSD 7-CURRENT 200708 snapshot
benchmark: bonnie -s 2048
CFLAGS: -O2 -fno-strict-aliasing -pipe -s
CPUTYPE: athlon-mp
scheduler: ULE
hardware:
CPU: (single) Athlon... (0 Replies)
HI
We have been asked by our IT department to move from our current physical solution to a VM environment. I am not that clued up on VM.
I looked from some benchmark tests to run so i can see a comparison between our live and new VM we have been presented. Please see below for results.
To me the... (3 Replies)
Hello,
New to Shell scripting here. :-(
I am trying to do the following:
- Run a long benchmark program (Don't need to see the outputs to stdout)
- As long as the benchmark is running, run the "cpustat" command with one particular Performance Counter.
- When the (Multi-thread) benchmark is... (1 Reply)
I'm trying to benchmark a RAID-6 server using FFSB and the result is really unstable to detect the pattern.
Scenario -1:
Block-size - 65536 (64KB)
Number of threads - 10
Number of files - 10
Min and Max filesize - 400m
Read size - 400m
Direct IO - on
Random-read=off
Read throughput... (0 Replies)
I am getting error on redis server on linux 7.5 after change the default path /var/lib/redis to /redisdata, and enable cluster-enabled yes. It would be really appreciate if some one can check and suggest on this issue.
error code:
1240:C 09 Sep 2018 13:53:51.058 # oO0OoO0OoO0Oo Redis is... (3 Replies)