Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-24 Thread Alejandro Comisario
Well, its confirmed that ... because of the shape of our traffic, constant burst of many many small packages (1.5k / 3.5k) Nagle algorithm was in a beggining the root cause of our performance issues. So i will have this thread as solved. Thank you so much to everyone involved, specially people fro

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-23 Thread Alejandro Comisario
Jason, Stefan ... thank you so much. At a glance, disabling Nagle algorithm made the hundred thousands "20ms" delays to dissapear suddenly, tomorrow we are gonna made a "whole day" test again, and test client connectivity against "NginX and Memcached" to see if, because of the traffic we have (hund

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-22 Thread Jason Wang
On 01/23/2014 05:32 AM, Alejandro Comisario wrote: > Thank you so much Stefan for the help and cc'ing Michael & Jason. > Like you advised yesterday on IRC, today we are making some tests with > the application setting TCP_NODELAY in the socket options. > > So we will try that and get back to you wi

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-22 Thread Jason Wang
On 01/22/2014 11:22 PM, Stefan Hajnoczi wrote: > On Tue, Jan 21, 2014 at 04:06:05PM -0200, Alejandro Comisario wrote: > > CCed Michael Tsirkin and Jason Wang who work on KVM networking. > >> Hi guys, we had in the past when using physical servers, several >> throughput issues regarding the throughp

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-22 Thread Alejandro Comisario
Thank you so much Stefan for the help and cc'ing Michael & Jason. Like you advised yesterday on IRC, today we are making some tests with the application setting TCP_NODELAY in the socket options. So we will try that and get back to you with further information. In the mean time, maybe showing what

Re: kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-22 Thread Stefan Hajnoczi
On Tue, Jan 21, 2014 at 04:06:05PM -0200, Alejandro Comisario wrote: CCed Michael Tsirkin and Jason Wang who work on KVM networking. > Hi guys, we had in the past when using physical servers, several > throughput issues regarding the throughput of our APIS, in our case we > measure this with pack

kvm virtio ethernet ring on guest side over high throughput (packet per second)

2014-01-21 Thread Alejandro Comisario
Hi guys, we had in the past when using physical servers, several throughput issues regarding the throughput of our APIS, in our case we measure this with packets per seconds, since we dont have that much bandwidth (Mb/s) since our apis respond lots of packets very small ones (maximum response of 3.