[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4643C115.3020802@trash.net>
Date: Fri, 11 May 2007 03:04:21 +0200
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: taka@...inux.co.jp, linux-net@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] tbf scheduler: TSO support
David Miller wrote:
> From: Patrick McHardy <kaber@...sh.net>
> Date: Thu, 10 May 2007 14:56:39 +0200
>
>>I don't see why this is needed, the correct way to use TBF with TSO
>>is to specify a larger MTU value, in which case it won't drop TSO
>>packets.
>
>
> Why should a user have to know anything in the world about TSO in
> order to configure TBF properly? I don't think they should have
> to at all.
The user shouldn't necessarily, but userspace should.
The way I see it the MTU is a fundamental parameter for TBF
(the peakrate bucket size) and just because userspace picks
a bad default (2000) this is no reason to change the
implementation to something that is not really TBF anymore
and even affects non-TSO packets _and_ TSO packets even
when the MTU is chosen large enough (granted, the first
point is an implementation detail). The much better solution
would be to let userspace pick an appropriate default value
and still let the user override it.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists