u@ubs:~$ curl -Lso- bench.sh | bash
grep: /proc/1/environ: Permission denied
-------------------- A Bench.sh Script By Teddysun -------------------
Version : v2022-06-01
Usage : wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU Model : Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
CPU Cores : 4 @ 2304.007 MHz
CPU Cache : 6144 KB
AES-NI : Enabled
VM-x/AMD-V : Disabled
Total Disk : 124.4 GB (17.9 GB Used)
Total Mem : 7.8 GB (1.7 GB Used)
Total Swap : 4.0 GB (12.4 MB Used)
System uptime : 0 days, 8 hour 2 min
Load average : 0.09, 1.45, 1.90
OS : Ubuntu 20.04.5 LTS
Arch : x86_64 (64 Bit)
Kernel : 5.4.0-131-generic
TCP CC : cubic
Virtualization : Dedicated
Organization : AS24400 Shanghai Mobile Communications Co.,Ltd.
Location : Shanghai / CN
Region : Shanghai
----------------------------------------------------------------------
I/O Speed(1st run) : 1.8 GB/s
I/O Speed(2nd run) : 1.8 GB/s
I/O Speed(3rd run) : 1.7 GB/s
I/O Speed(average) : 1809.1 MB/s
# redis-benchmark -q
PING_INLINE: 109289.62 requests per second
PING_BULK: 107181.13 requests per second
SET: 109051.26 requests per second
GET: 108225.10 requests per second
INCR: 109529.02 requests per second
LPUSH: 111607.14 requests per second
RPUSH: 110497.24 requests per second
LPOP: 110741.97 requests per second
RPOP: 109649.12 requests per second
SADD: 110864.74 requests per second
HSET: 114416.48 requests per second
SPOP: 109529.02 requests per second
LPUSH (needed to benchmark LRANGE): 111482.72 requests per second
LRANGE_100 (first 100 elements): 55679.29 requests per second
LRANGE_300 (first 300 elements): 25913.45 requests per second
LRANGE_500 (first 450 elements): 19033.12 requests per second
LRANGE_600 (first 600 elements): 14869.89 requests per second
MSET (10 keys): 88495.58 requests per second