[PVE-User] Redis, huge overhead

Germain Maurice germain.maurice at linkfluence.net
Thu Dec 9 20:01:35 CET 2010


Hi everybody,

I wanted to test Redis VM feature on a KVM guest. I find it very slow 
when populating with data.
However, Redis seems to be slower than without VM activated.

Just for fun, i tried to populate Redis on a VM guest and Redis directly 
on the host (redis version 2.0.4 and same config file for both). I made 
this test several times, flushing all the keys before each test.
I got these results :

++++ Redis on Proxmox host :
130> perl populate.pl
Populating...done (49.2327530384064 secs)
Quering redis hash...done (3.86193013191223 secs)


++++ Redis on VM guest :
0> perl populate.pl
Populating...done (119.999486923218 secs)
Quering redis hash...done (4.3238320350647 secs)

- Populating (writing) : 49/120 = 59% difference
- Quering (reading) : 3,8/4,3 = 12% difference

Someone can explain me this huge difference when populating Redis ??

Thank you..

-- 
Germain Maurice
Administrateur Système/Réseau
Tel : +33.(0)1.42.43.54.33

http://www.linkfluence.net




More information about the pve-user mailing list