VALKEY-BENCHMARK(1)
π VALKEY-BENCHMARK(1) π
okay so bestie, welcome to the manual page for valkey-benchmark β it lives in section 1, the General Commands Manual section, aka the place where all the "yes queen, type this in your shell" commands hang out π
πΈ NAME πΈ
valkey-benchmark β benchmark a Valkey instance. that's the whole job description, she's simple and she's iconic π
β¨ SYNOPSIS β¨
valkey-benchmark [-h <host>] [-p <port>] [-c <clients>] [-n <requests]>]
[-k <boolean>]
look at those brackets. so many brackets. it's giving "options for days" π
π¦ DESCRIPTION π¦
so Valkey is a key-value database. it's similar to memcached, except β and this is the main character detail β the dataset is not volatile, and other datatypes (such as lists and sets) are natively supported. no cap, she's got range π«Ά
π OPTIONS π
every single one, bestie. we are not skipping a single flag, that would be a crime fr fr
-hhostname β the server hostname (default127.0.0.1)-pport β the server port (default6379)-ssocket β the server socket, which overrides host and port (she said "I don't care about your-hor-p, I'm built different")-apassword β password for Valkey Auth-cclients β number of parallel connections (default50)-nrequests β total number of requests (default100000)-dsize β data size of the SET/GET value in bytes (default2)-dbnumdb β SELECT the specified db number (default0)-kboolean β1=keep alive,0=reconnect (default1)-rkeyspacelen β use random keys for SET/GET/INCR, and random values for SADD. with this option the benchmark will get/set keys in the formmykey_rand000000012456instead of constant keys, and the keyspacelen argument determines the max number of values for the random number. for instance, if it's set to10, only therand000000000000-rand000000000009range will be allowed. β¨ chaos mode, but make it deterministic β¨-Pnumreq β pipeline numreq requests. default1(no pipeline).-qβ quiet mode. just show query/sec values π€«--csvβ output in CSV format π-lβ loop mode. run the tests forever βΎοΈ-Iβ idle mode. just open N idle connections and wait.-Dβ debug mode. more verbose. π
π AUTHOR π
valkey-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).
and that's the whole page bestie, you ate it π β¨
cute little sign-off: this page is dated June 28, 2010, and it comes to you straight from VALKEY-BENCHMARK(1) in section 1 of the manual. periodt. π
π¦ where this page comes from
- debian trixie: valkey-tools 8.1.1+dfsg1-3+deb13u2 Β· BSD-3-Clause
- debian trixie: valkey-tools 8.1.1+dfsg1-3+deb13u3 Β· BSD-3-Clause
- ubuntu noble: valkey-tools 7.2.12+dfsg1-0ubuntu0.1 Β· BSD-3-Clause
- ubuntu noble: valkey-tools 7.2.13+dfsg1-0ubuntu0.1 Β· BSD-3-Clause
- ubuntu questing: valkey-tools 8.1.3+dfsg1-0ubuntu2
- ubuntu questing: valkey-tools 8.1.6+dfsg1-0ubuntu0.1
- ubuntu questing: valkey-tools 8.1.7+dfsg1-0ubuntu0.1
- ubuntu resolute: valkey-tools 9.0.3-0ubuntu2 Β· BSD-3-Clause
- ubuntu resolute: valkey-tools 9.0.4-0ubuntu0.2 Β· BSD-3-Clause
- ubuntu stonking: valkey-tools 9.1.2-0ubuntu1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms