Re: KVM + LVM + DRBD + SSD low performance : SOLVED!!!
I have no doubt that seem similar issue, because the problem were exactly the same. I thinks that the better way in this case to solve it is updating kernel if there is no VM with openvz working.
Still searching info about trim our drbd configuration, I have see nothing about this in DRBD documentation for now, is someone else have info about this?
Alright, at my last job we had a similar problem with storage performance inside VMs. Outside the VMs on the hypervisor level we had huge performance when doing I/O tests but inside the VMs it was miserable.
Mind you this was not a Promox environment but a Ubuntu OpenStack environment using KVM for visualization.
My colleague at the time worked very hard to find a solution and he finally managed to solve it by implementing the vhost_net kernel module. I believe this is standard in the 3.x kernel but not implemented in the 2.6.x kernels that are used by Proxmox.
After implementing the vhost_net kernel module we saw an increase of 100-300 MB/sec write and read speeds in the VMs (I am not joking the difference was this huge).
Unfortunately I don't know how my colleague fixed the issue exactly but I suspect you might have the same problem since upgrading to 3.x kernel solved it for you.
Here are some links for some extra reading I suggest you really look into this as I highly suspect the lack of vhost_net might have been the cause for your performance issues.
https://blog.codecentric.de/en/2014/09/openstack-crime-story-solved-tcpdump-sysdig-iostat-episode-3/
http://docs.openstack.org/kilo/config-reference/content/kvm.html (Go to bottom "KVM performance tweaks")
http://www.linux-kvm.org/page/UsingVhost
I have no doubt that seem similar issue, because the problem were exactly the same. I thinks that the better way in this case to solve it is updating kernel if there is no VM with openvz working.
Still searching info about trim our drbd configuration, I have see nothing about this in DRBD documentation for now, is someone else have info about this?