ALTQ slowness

Andrew Thompson thompsa at freebsd.org
Wed Feb 22 00:43:49 PST 2006


On Wed, Feb 22, 2006 at 06:44:41PM +1300, Andrew Thompson wrote:
> I am having a problem where it appears that the queue speed is 1/10th of
> the desired number. I have this simple setup on a bridge and can not get
> any more than about 1700 Bps with a http download (roughly 12Kbits).
> 
>  altq on sis0 cbq bandwidth 256Kb queue { std_in }
>  queue std_in    bandwidth 128Kb  cbq(default)
>  
>  pass  out on sis0 proto tcp from any to any queue std_in
 
To add further information, it now appears to be caused by the sis
driver. Here is iperf tests with a net4801+sis(4) and pentuim3+xl(4)
using the above pf config.

xl driver
 [  4]  0.0-13.2 sec    200 KBytes    124 Kbits/sec
 [  4]  0.0-23.1 sec    352 KBytes    125 Kbits/sec
 [  6]  0.0-32.7 sec    496 KBytes    124 Kbits/sec

sis driver
 [  4]  0.0-49.8 sec    296 KBytes  48.7 Kbits/sec
 [  6]  0.0-49.7 sec    296 KBytes  48.8 Kbits/sec
 [  4]  0.0-49.6 sec    296 KBytes  48.9 Kbits/sec


Andrew


More information about the freebsd-net mailing list