Specifications

VMware, Inc. 369
Chapter 12 VMware ESX Server Resource Management
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!classdefined!
format.!Writing!to!a!file!issues
!a!command!to!the!filter!instance!using!a!classdefined!
syntax.!
Traffic Shaping with nfshaper
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!twobucket!composite!traffic!shaping!algorithm.!A!first!token!
bucket!controls!sustained!average!bandwidth!and!burstness.!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”!on!page 367,!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.!
Service Console Commands
config <bpsAverage> <bpsPeak> <burstSize> [<periodPeak>]
Dynamically!reconfigure!the!shaper!to!use!the!specified!parameters:!average!
bandwidth!of!<bpsAverage>!bits!per!second,!peak!bandwidth!of!<bpsPeak>!bits!per!
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.!