Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-19 Thread Michael S. Tsirkin
On Mon, Jun 13, 2011 at 07:02:27PM +0530, Krishna Kumar2 wrote: Michael S. Tsirkin m...@redhat.com wrote on 06/07/2011 09:38:30 PM: This is on top of the patches applied by Rusty. Warning: untested. Posting now to give people chance to comment on the API. OK, this seems to have

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-13 Thread Krishna Kumar2
Michael S. Tsirkin m...@redhat.com wrote on 06/07/2011 09:38:30 PM: This is on top of the patches applied by Rusty. Warning: untested. Posting now to give people chance to comment on the API. OK, this seems to have survived some testing so far, after I dropped patch 4 and fixed build

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-13 Thread Michael S. Tsirkin
On Mon, Jun 13, 2011 at 07:02:27PM +0530, Krishna Kumar2 wrote: Michael S. Tsirkin m...@redhat.com wrote on 06/07/2011 09:38:30 PM: This is on top of the patches applied by Rusty. Warning: untested. Posting now to give people chance to comment on the API. OK, this seems to have

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-13 Thread Krishna Kumar2
Krishna Kumar2/India/IBM@IBMIN wrote on 06/13/2011 07:02:27 PM: ... With 16K, there was an improvement in SD, but higher sessions seem to slightly degrade BW/SD: I meant to say With 16K, there was an improvement in BW above. Again the numbers are not very reproducible, I will test with

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-13 Thread Krishna Kumar2
Michael S. Tsirkin m...@redhat.com wrote on 06/13/2011 07:05:13 PM: I ran the latest patches with 1K I/O (guest-local host) and the results are (60 sec run for each test case): Hi! Did you apply this one: [PATCHv2 RFC 4/4] Revert virtio: make add_buf return capacity remaining ? It

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-07 Thread Michael S. Tsirkin
On Thu, Jun 02, 2011 at 06:42:35PM +0300, Michael S. Tsirkin wrote: OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Warning: untested.

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-06 Thread Rusty Russell
On Thu, 2 Jun 2011 20:17:21 +0300, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Jun 02, 2011 at 06:42:35PM +0300, Michael S. Tsirkin wrote: OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know

Re: [PATCHv2 RFC 0/4] virtio and vhost-net capacity handling

2011-06-02 Thread Michael S. Tsirkin
On Thu, Jun 02, 2011 at 06:42:35PM +0300, Michael S. Tsirkin wrote: OK, here's a new attempt to use the new capacity api. I also added more comments to clarify the logic. Hope this is more readable. Let me know pls. This is on top of the patches applied by Rusty. Warning: untested.