Re: [PATCH 1/2] vhost: allow multiple workers threads

From
Shirley Ma <hidden>
Date
2012-02-21 01:04:18
Reply to
Michael S. Tsirkin, 2012-02-20
On Mon, 2012-02-20 at 23:00 +0200, Michael S. Tsirkin wrote:
The point was really to avoid scheduler overhead
as with tcp, tx and rx tend to run on the same cpu.
We have tried different approaches in the past, like splitting vhost
thread to separate TX, RX threads; create per cpu vhost thread instead
of creating per VM per virtio_net vhost thread... 

We think per cpu vhost thread is a better approach based on the data we
have collected. It will reduce both vhost resource and scheduler
overhead. It will not depend on host scheduler, has less various. The
patch is under testing, we hope we can post it soon.

Thanks
Shirley
Thread (23 messages) 23 messages, 8 authors, last reply 2012-03-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help