Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752079Ab1B0Xdt (ORCPT ); Sun, 27 Feb 2011 18:33:49 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:59989 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751910Ab1B0Xdl (ORCPT ); Sun, 27 Feb 2011 18:33:41 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=mHDKFDlz5B9Eg+LIT+E+6Xg/XA0jlE/bA4OY6sZA5dnZn4Uq0YSK9UNnhgTGmJ2B5A Ylo4OCXpO0c8y2XUHBOGILixWN0PeNym5QlHEn6V8VUA1mSEkUjhl1fGnB+irPwuWnha yraDptcmABL7wstFr+8QdBj/XnzNcpGPgmmu4= MIME-Version: 1.0 In-Reply-To: <20110227125540.40754c5y78j9u2m8@hayate.sektori.org> References: <1298793252.8726.45.camel@edumazet-laptop> <20110227125540.40754c5y78j9u2m8@hayate.sektori.org> Date: Sun, 27 Feb 2011 18:33:39 -0500 Message-ID: Subject: Re: txqueuelen has wrong units; should be time From: Albert Cahalan To: Jussi Kivilinna Cc: Eric Dumazet , Mikael Abrahamsson , linux-kernel , netdev@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1004 Lines: 22 On Sun, Feb 27, 2011 at 5:55 AM, Jussi Kivilinna wrote: > I made simple hack on sch_fifo with per packet time limits (attachment) this > weekend and have been doing limited testing on wireless link. I think > hardlimit is fine, it's simple and does somewhat same as what > packet(-hard)limited buffer does, drops packets when buffer is 'full'. My > hack checks for timed out packets on enqueue, might be wrong approach (on > other hand might allow some more burstiness). Thanks! I think the default is too high. 1 ms may even be a bit high. I suppose there is a need to allow at least 2 packets despite any time limits, so that it remains possible to use a traditional modem even if a huge packet takes several seconds to send. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/