You are not logged in.

#1 2019-08-31 11:52:17

sambo99
Member
Registered: 2008-04-17
Posts: 6

Horrible redis bench results on Lenovo P2 (Gen 2)

I am getting some real terrible redis benchmarks on my brand new, extremely high spec laptop

~ % cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 158
model name	: Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz
 redis-benchmark 
====== PING_INLINE ======
  100000 requests completed in 6.15 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

0.00% <= 1 milliseconds
33.15% <= 2 milliseconds
91.81% <= 3 milliseconds
99.99% <= 4 milliseconds
100.00% <= 4 milliseconds
16265.45 requests per second

====== PING_BULK ======
  100000 requests completed in 6.15 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

0.00% <= 1 milliseconds
32.82% <= 2 milliseconds
89.20% <= 3 milliseconds
99.97% <= 4 milliseconds
100.00% <= 4 milliseconds
16254.88 requests per second

====== SET ======
  100000 requests completed in 6.14 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

0.00% <= 1 milliseconds
33.01% <= 2 milliseconds
89.44% <= 3 milliseconds
99.99% <= 4 milliseconds
100.00% <= 4 milliseconds
16289.30 requests per second

An ancient MBP I have is pushing 60k for the SET, my desktop does 177935 for the set which is 10x more.

Running the same kernel, able to repro this directly from the installer after installing redis. (booting from usb drive)

 ~ % uname -a
Linux laptop 5.2.11-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 29 08:09:36 UTC 2019 x86_64 GNU/Linux

Any idea how I should go about debugging this?

Offline

#2 2019-09-01 10:16:47

sambo99
Member
Registered: 2008-04-17
Posts: 6

Re: Horrible redis bench results on Lenovo P2 (Gen 2)

Wow... somehow this feels like an ordering thing in the network stack, results are great if I do this:

 modprobe -r iwlmvm
[root@slaptop ~]# modprobe -r cfg80211
[root@slaptop ~]# modprobe -r iwlwifi
[root@slaptop ~]# 
[root@slaptop ~]# 
[root@slaptop ~]# 
[root@slaptop ~]# redis-benchmark 
====== PING_INLINE ======
  100000 requests completed in 0.61 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

100.00% <= 0 milliseconds
165016.50 requests per second

====== PING_BULK ======
  100000 requests completed in 0.63 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

100.00% <= 0 milliseconds
159744.41 requests per second

====== SET ======
  100000 requests completed in 0.60 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1

What more if I reload the module performance remains good. So somehow localhost appears to be getting slow under certain orderings of loading the modules.

Offline

Board footer

Powered by FluxBB