RX buffer details on a KVM host

Latest response

How can I get RX buffer details on a redhat KVM host ?

Responses

The question isn't exactly clear, but do you wish to see the size of the physical network interface's receive ring buffer?

That's visible with ethtool -g ethX. You can change from the current setting to the maximum with ethtool -G ethX rx XXXX, a full example is given here and the setting can be made permanent by writing ifup-local.

Most drivers show you the current setting and maximum setting, though be2net shows you the maximum size and current ring buffer usage, the maximum size is not configurable on that driver. No other drivers that I know of expose the current usage, you have to infer whether the current setting is too small by looking for ring buffer drops in ethtool -S ethX

If you wish to see current data in socket buffers, that can be done with netstat -n --inet and viewing the Recv-Q column.

Jamie,
Thanks for the reply.

I know how to get the setting details on a regular redhat host, I am trying to find out how to view/change those settings on a redhat KVM (virtual host).
It would be grate help if you could tell me how to view those settings on a KVM.

A KVM hypervisor is a RHEL system, there is no difference.

Do you mean in the virtual guest? If the interface type is the emulated Intel e1000, then the instructions are the same for the guest OS. If the emulated interface type is the paravirtualized virtio-net interface, that driver does not expose a configurable ring buffer setting, so there's nothing to change.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.