On Wed, 2011-03-09 at 19:16 +0200, Michael S. Tsirkin wrote: > On Wed, Mar 09, 2011 at 08:51:33AM -0800, Shirley Ma wrote: > > On Wed, 2011-03-09 at 10:09 -0600, Tom Lendacky wrote: > > > > > Vhost is receiving a lot of notifications for packets that are > to > > > be > > > > > transmitted (over 60% of the packets generate a kick_notify). > > > > This is guest TX send notification when vhost enables notification. > > > > In TCP_STREAM test, vhost exits from reaching NAPI WEIGHT, > > > You mean virtio? Sorry, I messed up NAPI WEIGHT and VHOST NET WEIGHT. I meant VHOST_NET_WEIGH, vhost exit handdle_tx() from VHOST NET WEIGHT w/o enabling notification. > > > it rarely > > enables the notification, vhost re-enters handle_tx from NAPI poll, > > Does NAPI really call handle_tx? Not rx? I meant for TX/RX, vhost re-enter handle_tx from vhost_poll_queue() not from kick_notify. Shirley -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html