Patrick McHardy wrote:
tc qdisc add dev ppp0 handle 1:0 root htb
tc class add dev ppp0 classid 1:1 htb rate 220kbit
tc filter add dev ppp0 protocol ip u32 match u32 0 0 classid 1:1
gives a 3 pkt queue I think each class gets 3 if there are more classes
That is because you use it on a ppp dev
Andy Furniss wrote:
> Patrick McHardy wrote:
>
>>> HTB default qlen is that of the device or 3 if it is less. Maybe it
>>> should be increased 30? 3 is pretty useless for thoughput, but means
>>> that people who don't specify/get default lengths on sub queues get a
>>> half working setup.
>>
>>
>>
Patrick McHardy wrote:
Andy Furniss wrote:
What do you think about making HTB hysteresis 0 and possibly set HZ to
1000 when HTB is selected?
I'm not qualified to judge about HTB hysteresis, but we can't change HZ,
most people just enable everything which would mean basically everybody
would
Andy Furniss wrote:
> Patrick McHardy wrote:
>
>> Sorry for the repost Dave, I accidentally used the @oss.sgi.com address
>> in my previous posting.
>>
>> -
>>
>> It seems to be a common mistake to use jiffies as clocksource,
>> which gives very bad results in most cases. This patch change
Patrick McHardy wrote:
Sorry for the repost Dave, I accidentally used the @oss.sgi.com address
in my previous posting.
-
It seems to be a common mistake to use jiffies as clocksource,
which gives very bad results in most cases. This patch changes
the default to gettimeofday.
What do y
David S. Miller wrote:
From: Patrick McHardy <[EMAIL PROTECTED]>
Date: Fri, 13 Jan 2006 00:01:34 +0100
It seems to be a common mistake to use jiffies as clocksource, which
gives very bad results in most cases. This patch changes the default
to gettimeofday.
Applied, this is definitely an im
From: Patrick McHardy <[EMAIL PROTECTED]>
Date: Fri, 13 Jan 2006 00:01:34 +0100
> It seems to be a common mistake to use jiffies as clocksource, which
> gives very bad results in most cases. This patch changes the default
> to gettimeofday.
Applied, this is definitely an improvement.
I'd like to
Sorry for the repost Dave, I accidentally used the @oss.sgi.com address
in my previous posting.
-
It seems to be a common mistake to use jiffies as clocksource,
which gives very bad results in most cases. This patch changes
the default to gettimeofday.
[PKT_SCHED]: Change default clock