Displaying 13 results from an estimated 13 matches for "rx_kick".
Did you mean:
tx_kick
2012 Jun 05
1
[net-next RFC PATCH] virtio_net: collect satistics and export through ethtool
...s virtnet_stats were per-cpu, so both per-cpu and gloabl satistics were exposed
like:
NIC statistics:
tx_bytes[0]: 2551
tx_packets[0]: 12
tx_kick[0]: 12
tx_callbacks[0]: 1
tx_queued_packets[0]: 12
tx_queued_bytes[0]: 3055
rx_bytes[0]: 0
rx_packets[0]: 0
rx_kick[0]: 0
rx_callbacks[0]: 0
tx_bytes[1]: 5575
tx_packets[1]: 37
tx_kick[1]: 38
tx_callbacks[1]: 0
tx_queued_packets[1]: 38
tx_queued_bytes[1]: 5217
rx_bytes[1]: 4175
rx_packets[1]: 25
rx_kick[1]: 1
rx_callbacks[1]: 16
tx_bytes: 8126
tx_p...
2012 Jun 05
1
[net-next RFC PATCH] virtio_net: collect satistics and export through ethtool
...s virtnet_stats were per-cpu, so both per-cpu and gloabl satistics were exposed
like:
NIC statistics:
tx_bytes[0]: 2551
tx_packets[0]: 12
tx_kick[0]: 12
tx_callbacks[0]: 1
tx_queued_packets[0]: 12
tx_queued_bytes[0]: 3055
rx_bytes[0]: 0
rx_packets[0]: 0
rx_kick[0]: 0
rx_callbacks[0]: 0
tx_bytes[1]: 5575
tx_packets[1]: 37
tx_kick[1]: 38
tx_callbacks[1]: 0
tx_queued_packets[1]: 38
tx_queued_bytes[1]: 5217
rx_bytes[1]: 4175
rx_packets[1]: 25
rx_kick[1]: 1
rx_callbacks[1]: 16
tx_bytes: 8126
tx_p...
2012 Jun 06
2
[V2 RFC net-next PATCH 1/2] virtio_net: convert the statistics into array
Currently, we store the statistics in the independent fields of virtnet_stats,
this is not scalable when we want to add more counters. As suggested by Michael,
this patch convert it to an array and use the enum as the index to access them.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
drivers/net/virtio_net.c | 30 +++++++++++++++++-------------
1 files changed, 17
2012 Jun 06
2
[V2 RFC net-next PATCH 1/2] virtio_net: convert the statistics into array
Currently, we store the statistics in the independent fields of virtnet_stats,
this is not scalable when we want to add more counters. As suggested by Michael,
this patch convert it to an array and use the enum as the index to access them.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
drivers/net/virtio_net.c | 30 +++++++++++++++++-------------
1 files changed, 17
2014 Apr 10
1
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...8 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 at redhat.com>
> ---
> tools/virtio/vhost_stat | 375 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 375 insertions(+)
> create mode 100755 tools/virtio/vhost_stat
>
> diff --git...
2014 Apr 10
1
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...8 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 at redhat.com>
> ---
> tools/virtio/vhost_stat | 375 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 375 insertions(+)
> create mode 100755 tools/virtio/vhost_stat
>
> diff --git...
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
...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
TODO:
- performance test
- finalize which should be traced
Reference:
- V1: https://lkml.org/lkml/2012/4/9/478
Jason Wang (4):
vhost: introduce queue_index for tracing
vhost: basic tracepoints
vhost_net: add basic tracepoints for vhost_net
tools: virtio: add a...
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
...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
TODO:
- performance test
- finalize which should be traced
Reference:
- V1: https://lkml.org/lkml/2012/4/9/478
Jason Wang (4):
vhost: introduce queue_index for tracing
vhost: basic tracepoints
vhost_net: add basic tracepoints for vhost_net
tools: virtio: add a...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
vhost: basic tracepoints
tools: virtio: add a
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...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 at redhat.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/virti...
2013 Mar 15
4
[PATCHv3 vringh] caif_virtio: Introduce caif over virtio
...napi_context {
+ struct vringh_kiov riov;
+ unsigned short head;
+};
+
+/* struct cfv_stats - statistics for debugfs
+ * @rx_napi_complete: Number of NAPI completions (RX)
+ * @rx_napi_resched: Number of calls where the full quota was used (RX)
+ * @rx_nomem: Number of SKB alloc failures (RX)
+ * @rx_kicks: Number of RX kicks
+ * @tx_full_ring: Number times TX ring was full
+ * @tx_no_mem: Number of times TX went out of memory
+ * @tx_flow_on: Number of flow on (TX)
+ * @tx_kicks: Number of TX kicks
+ */
+struct cfv_stats {
+ u32 rx_napi_complete;
+ u32 rx_napi_resched;
+ u32 rx_nomem;
+ u32 rx_...
2013 Mar 15
4
[PATCHv3 vringh] caif_virtio: Introduce caif over virtio
...napi_context {
+ struct vringh_kiov riov;
+ unsigned short head;
+};
+
+/* struct cfv_stats - statistics for debugfs
+ * @rx_napi_complete: Number of NAPI completions (RX)
+ * @rx_napi_resched: Number of calls where the full quota was used (RX)
+ * @rx_nomem: Number of SKB alloc failures (RX)
+ * @rx_kicks: Number of RX kicks
+ * @tx_full_ring: Number times TX ring was full
+ * @tx_no_mem: Number of times TX went out of memory
+ * @tx_flow_on: Number of flow on (TX)
+ * @tx_kicks: Number of TX kicks
+ */
+struct cfv_stats {
+ u32 rx_napi_complete;
+ u32 rx_napi_resched;
+ u32 rx_nomem;
+ u32 rx_...