Kais Belgaied wrote: > On 05/12/09 14:04, Bart Smaalders wrote: >> Among other things, I run an http server on my home DSL line >> (6M/768kbit). The content includes several large image >> galleries, and when certain crawlers hit our server w/ >> multiple large image uploads, we end up with large >> ping time delays - sufficient to disrupt the kids' >> on-line gaming. Attempts to control this with robots.txt >> has not be very successful; Solaris IPQoS appears quite complex >> to set up and the modem's IPQoS features just crash >> the modem when configured. >> >> How can I use crossbow to limit the _outbound_ bandwidth >> utilization of port 80-sourced traffic? Do I need to place >> the Apache server in a zone? > > try flowadm add-flow -l <your interface name> -a > transport=tcp,local_port=80 http_flow > then flowadm set-flowprop -p maxbw=3Mbps http_flow (to set the max > bandwidth to 3 Mbps_) > and/or flowadm set-flowprop -p priority=low http_flow (to make all > processing for traffic matching that > flow be at the lowest priority.
On my work desktop: # flowadm set-flowprop -p maxbw=500K http_flow flowadm: warning: cannot set flow property 'maxbw' on 'http_flow': minimum value for maxbw is 1.2M Hmmmm. Is this a function of line speed, or is the minimum limit one can set really 1.2Mbits? - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts "You will contribute more with mercurial than with thunderbird."
