VMware

VMware ESX Server 2.0

Features | Documentation | Knowledge Base | Discussion Forums

previous Prev   Contents   Last   Next next

Managing Network Bandwidth from the Service Console

Managing Network Bandwidth from the Service Console

You must log in as root in order to change resource management settings using the procfs interface on the service console.

/proc/vmware/filters/status
This file contains network filtering status information, including a list of all available filter classes and, for each virtual machine with attached filters, its list of attached filter instances. Read the file with cat to see a quick report on network filtering status.

/proc/vmware/filters/xmitpush
Command file used to add a new transmit filter instance to a virtual machine. Writing <id> <class> [<args>] to this file attaches a new instance of filter <class> instantiated with <args> to the virtual machine identified by <id>.

/proc/vmware/filters/xmitpop
Command file used to detach a transmit filter from a virtual machine. Writing <id> to this file detaches the last filter attached to the virtual machine identified by <id>.

/proc/vmware/filters/xmit
This directory contains a file for each active filter instance. Each file named <class.n> corresponds to the <n>th instance of filter class <class>.

Reading from a file reports status information for the filter instance in a class-defined format. Writing to a file issues a command to the filter instance using a class-defined syntax.

Note: The current release allows only a single network packet filter to be attached to each virtual machine. Receive filters are not implemented in this release.

Traffic Shaping with nfshaper

Traffic Shaping with nfshaper

As described in the preceding sections, you can manage network bandwidth allocation on a server from the VMware Management Interface or from the procfs interface on the service console.

The shaper implements a two-bucket composite traffic shaping algorithm. A first token bucket controls sustained average bandwidth and burstiness. A second token bucket controls peak bandwidth during bursts. Each nfshaper instance can accept parameters to control average bps, peak bps and burst size.

The procfs interface, described in Using Network Filters, is used to attach an nfshaper instance to a virtual machine, detach an nfshaper instance from a virtual machine, query the status of an nfshaper instance or issue a dynamic command to an active nfshaper instance.

previous Prev   Contents   Last   Next next