rposudnevskiy / RBDSR

RBDSR - XenServer/XCP-ng Storage Manager plugin for CEPH
GNU Lesser General Public License v2.1
58 stars 23 forks source link

VMs running on RBD are very slow #48

Open hani-s opened 7 years ago

hani-s commented 7 years ago

Hi ,

I Just want to verify if anyone is facing very low speeds when running VMs on RBD backend using this plugin or the other plugin available .

I have done a test using 2 servers : 1- proxmox 4.3 server 2- xenserver 7.1 with this plugin

I connected both to same RBD pool and managed to create VM on both servers on this RBD pool.

The storage speeds I am getting on the KVM based VM on proxmox is more the 20 times faster than the one running on xenserver .

I disabled caching on proxmox KVM before doing the tests .

Is this expected ? or somthing is wrong with my setup

I thought I may loose 20 to 30% in speed compared to KVM based VMs but the speeds I am getting are unusable

Note: I tried to do caching on xenserver to improve the speed but that made the server heavily modified to the level I wont use it for anything serious anymore Note 2 : I am using Infiniband 40GB connection to connect the client with CEPH (had to install the inifinband drivers on xenserver)

rposudnevskiy commented 7 years ago

Hi, I don't have an experience of using xenserver with infiniband but it seems there are some issues of using openvswitch with infiniband https://discussions.citrix.com/topic/383014-xenserver-70-mellanox-connectx-3-nic-infiniband/?p=1964813 I'm not sure that it will help you but you can try to change openvswitch network backend (which is default) to Linux Bridge https://www.citrix.com/blogs/2011/12/23/how-to-change-xenserver-network-backend-to-linux-bridge/

nate-byrnes commented 7 years ago

While I am not using IB with my cluster, I found that when I doubled the RAM on my dom-0's I saw much better performance with my guests vm's running on RBD. YMMV....

nate-byrnes commented 6 years ago

No, the physical server RAM was not changed. What I did was increase the amount of RAM allocated to the ( https://wiki.xenproject.org/wiki/Dom0) initial / management guest (where the rbd's are running ). I believe I doubled the size.

On November 17, 2017 6:22:58 AM bvanleenhoff notifications@github.com wrote:

@nate-byrnes - by "doubling the RAM for dom-0" you mean you provisioned more RAM to the host machine that runs your xenserver?

I am as well experiencing very bad performance when using the ceph SR.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/rposudnevskiy/RBDSR/issues/48#issuecomment-345218217

ghost commented 6 years ago

yeah I deleted my comment, because I found that :) i will try if this is making it better for me as well - thank you!

starcraft66 commented 5 years ago

I am experiencing the same problem. When testing with the same Ceph cluster, disk I/O was much much much faster when running Proxmox.

For example, when installing debian onto a VM on RBD storage, dpkg is painfully slow because of all of the constant fsyncing it does. Despite this, doing the same on Proxmox results in a very fast installation.