Re: ALTQ/pf troubles

From: Alexander S. Usov <A.S.Usov_at_KVI.nl>
Date: Fri, 01 Oct 2004 23:04:03 +0200
On Friday 01 October 2004 21:00, Max Laier wrote:
> > Increasing bandwith in the altq rule to 700Kb, results in the upload
> > speed of approx. 30-34 KB/s.
>
> Hmmm ... you realize that ALTQ takes *BIT* per second?

Yes. And 350Kbit/s ~ 43KB/s

> > Is it a good idea to check the behavior of the ruleset with OpenBSD?
>
> First of all a look at your queue statistics would be helpful:
>  $ pfctl -vvsq
> how many packets are being dropped? Which queues do the packets end up in?

Ok. The pf ruleset used during the test is attached to the letter.
Using scp results in the approx. 17-20KByte/s sustained transfer rate.
$ pfctl -vvsq
queue q priq( default )
  [ pkts:       6515  bytes:    7183041  dropped pkts:      0 bytes:      0 ]
  [ qlength:   4/ 50 ]
  [ measured:    18.2 packets/s, 162.56Kb/s ]

Setting the bandwidth to 700Kb gives:
$ pfctl -vvsq
queue q priq( default )
  [ pkts:       2526  bytes:    3201627  dropped pkts:      0 bytes:      0 ]
  [ qlength:   0/ 50 ]
  [ measured:    30.6 packets/s, 313.11Kb/s ]

> If you can easily check OpenBSD behavior, that'd be a good check as well.

I will try to install it this weekend and check there.
I believe 3.5 has a driver for broadcom 4401.

-- 
Best regards,
  Alexander.

Received on Fri Oct 01 2004 - 19:04:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:15 UTC