[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 963] [altq 955] netflow bytes error of ALTQ-3.0
i have a strange problem.
i just install FreeBSD-4.3-RELEASE, and ALTQ-3.0 on it.
and this server name A connect with another PC named B by a 10BaseT hub
i found if i download a file from B, it's ok. the cbq works fine(i set
the limit to 1Mbit/s).
but if i upload file to B, the speed grows to 10Mbit/s , not 1Mbit/s
and if i use "altqstat -w 1" to see the status, as the following
================"altqstat -w 1" ================
Class 0 on Interface fxp0: tcp_class
priority: 1 depth: 0 offtime: 21937 [us] wrr_allot: 382 bytes
nsPerByte: 8000 (1.00M Mbps), Measured: 242.83K [Mbps]
pkts: 27749, bytes: 27405718
overs: 6889, overactions: 6889
borrows: 0, delays: 6889
drops: 0, drop_bytes: 0
QCount: 0, (qmax: 30)
AvgIdle: 1303 [us], (maxidle: 1437 minidle: -12000 [us])
i found the "Measured:" speed is worng, and the bytes next line is
so i made a test, i upload a file about 12,614Kbytes, but the bytes
which altqstat show
is only about 353211. so....i think there is something wrong.
does any ony got this situation ,too?
p.s. the conf of cbq i test as the following
interface fxp0 bandwidth 10M cbq
class cbq fxp0 root_class NULL pbandwidth 100
class cbq fxp0 def_class root_class borrow pbandwidth 100 default
class cbq fxp0 tcp_class def_class pbandwidth 10
filter fxp0 tcp_class 0 0 0 0 6
class cbq fxp0 udp_class def_class pbandwidth 10
filter fxp0 udp_class 0 0 0 0 17
p.s.2 i test wit hfsc and fifoq seems have the same situation ~>_<~