[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pfctl -vvsq measured speed

On Tue, Nov 09, 2004 at 08:30:13AM +0800, Kenneth Oncinian wrote:
> Because as shown here,  
> http://m.1asphost.com/koncinian/images/pfctlvvsq.png, notice the 
> difference of the actual download speed and the measured speed of the 
> http queue.
> pfctl measured it as 2.02Kb/s and download speed using wget is 8.65 K/s.
What pfctl -vvsq shows is 2.02 k_bits_/s, while wget shows 8.65
k_bytes_/s. One byte equals 8 bits, so to compare those two values,
convert both to the same unit. pfctl 2.02 kbit/s vs. wget 69.20 kbit/s.
Which isn't very surprising once you realize that you were _downloading_
data over http to your box, so the data was flowing into your external
You're queueing on the external interface, and queueing applies to
_outgoing_ packets. So, what you're queueing isn't the bulk payload of
your http download, but the outgoing TCP ACK replies wget is sending
back to the server, which are tiny compared to the download flow.