Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1253950
| From | "Michael S. Tsirkin" <mst@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support |
| Date | 2015-10-22 18:20 +0200 |
| Message-ID | <qmqKS-7G4-9@gated-at.bofh.it> (permalink) |
| References | <qmgBQ-12w-7@gated-at.bofh.it> <qmgBQ-12w-9@gated-at.bofh.it> <qmkvM-6IE-37@gated-at.bofh.it> <qmqhQ-6SK-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Oct 22, 2015 at 08:46:33AM -0700, Rick Jones wrote: > On 10/22/2015 02:33 AM, Michael S. Tsirkin wrote: > >On Thu, Oct 22, 2015 at 01:27:29AM -0400, Jason Wang wrote: > >>This patch tries to poll for new added tx buffer for a while at the > >>end of tx processing. The maximum time spent on polling were limited > >>through a module parameter. To avoid block rx, the loop will end it > >>there's new other works queued on vhost so in fact socket receive > >>queue is also be polled. > >> > >>busyloop_timeout = 50 gives us following improvement on TCP_RR test: > >> > >>size/session/+thu%/+normalize% > >> 1/ 1/ +5%/ -20% > >> 1/ 50/ +17%/ +3% > > > >Is there a measureable increase in cpu utilization > >with busyloop_timeout = 0? > > And since a netperf TCP_RR test is involved, be careful about what netperf > reports for CPU util if that increase isn't in the context of the guest OS. > > For completeness, looking at the effect on TCP_STREAM and TCP_MAERTS, > aggregate _RR and even aggregate _RR/packets per second for many VMs on the > same system would be in order. > > happy benchmarking, > > rick jones Absolutely, merging a new kernel API just for a specific benchmark doesn't make sense. I'm guessing this is just an early RFC, a fuller submission will probably include more numbers. -- MST -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH net-next RFC 1/2] vhost: introduce vhost_has_work() Jason Wang <jasowang@redhat.com> - 2015-10-22 07:30 +0200
[PATCH net-next RFC 2/2] vhost_net: basic polling support Jason Wang <jasowang@redhat.com> - 2015-10-22 07:30 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support "Michael S. Tsirkin" <mst@redhat.com> - 2015-10-22 11:40 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support Rick Jones <rick.jones2@hpe.com> - 2015-10-22 17:50 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support "Michael S. Tsirkin" <mst@redhat.com> - 2015-10-22 18:20 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support Jason Wang <jasowang@redhat.com> - 2015-10-23 09:20 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support Jason Wang <jasowang@redhat.com> - 2015-10-23 09:20 +0200
Re: [PATCH net-next RFC 2/2] vhost_net: basic polling support "Michael S. Tsirkin" <mst@redhat.com> - 2015-10-23 15:40 +0200
Re: [PATCH net-next RFC 1/2] vhost: introduce vhost_has_work() "Michael S. Tsirkin" <mst@redhat.com> - 2015-10-22 10:40 +0200
Re: [PATCH net-next RFC 1/2] vhost: introduce vhost_has_work() Jason Wang <jasowang@redhat.com> - 2015-10-23 09:20 +0200
csiph-web