lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 10 Apr 2014 17:27:02 +0800 From: Fam Zheng <famz@...hat.com> To: Jason Wang <jasowang@...hat.com> Cc: mst@...hat.com, kvm@...r.kernel.org, virtio-dev@...ts.oasis-open.org, virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics On Fri, 03/21 17:41, Jason Wang wrote: > This patch adds simple python to display vhost satistics of vhost, the codes > were based on kvm_stat script from qemu. As work function has been recored, > filters could be used to distinguish which kinds of work are being executed or > queued: > > vhost statistics > > vhost_virtio_update_used_idx 1215215 0 > vhost_virtio_get_vq_desc 1215215 0 > vhost_work_queue_wakeup 986808 0 > vhost_virtio_signal 811601 0 > vhost_net_tx 611457 0 > vhost_net_rx 603758 0 > vhost_net_tx(datacopy) 601903 0 > vhost_work_queue_wakeup(rx_net) 565081 0 > vhost_virtio_signal(rx) 461603 0 > vhost_work_queue_wakeup(tx_kick) 421718 0 > vhost_virtio_update_avail_event 417346 0 > vhost_virtio_signal(tx) 349998 0 > vhost_work_queue_coalesce 39384 0 > vhost_work_queue_coalesce(rx_net) 38677 0 > vhost_net_tx(zerocopy) 9554 0 > vhost_work_queue_coalesce(tx_kick) 707 0 > vhost_work_queue_wakeup(rx_kick) 9 0 > > Signed-off-by: Jason Wang <jasowang@...hat.com> > --- > tools/virtio/vhost_stat | 375 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 375 insertions(+) > create mode 100755 tools/virtio/vhost_stat > > diff --git a/tools/virtio/vhost_stat b/tools/virtio/vhost_stat > new file mode 100755 > index 0000000..398fd4a > --- /dev/null > +++ b/tools/virtio/vhost_stat > @@ -0,0 +1,375 @@ > +#!/usr/bin/python > +# > +# top-like utility for displaying vhost statistics > +# > +# Copyright 2012 Red Hat, Inc. Should it be 2014? Fam <snip> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists