Networking, QoS and OpenSolaris
OpenSolaris 200906 comes with some very interesting features about networking management. One is flowadm, allowing to manage network streams in a very simple and elegant way. For example, the next commands allow me to restrict the bandwith for my HTTP server.
flowadm add-flow -l bge0 -a transport=tcp,local_port=80 httpflow
flowadm set-flowprop -p maxbw=8 httpflow
wget -O /dev/null http://eva0/empty
2009-09-12 17:32:07 (971 KB/s) - « /dev/null »
As you can see it’s very simple! The following properties can be applied to a stream:
- maxbw: Sets the full duplex bandwidth for the flow.
- priority: Sets the relative priority for the flow.
- cpus: Allocate packets of the flow to a processor set, for systems that have multiple
processor sets. (this property is not yet available, maybe in 200911?)
References:
Categories: OpenSolaris