Re: [aqm] Gathering Queue Length Statistics

Mikael Abrahamsson <> Thu, 26 February 2015 10:30 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 29BE71A2130 for <>; Thu, 26 Feb 2015 02:30:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.961
X-Spam-Status: No, score=-3.961 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id iA7lmun3Gf3r for <>; Thu, 26 Feb 2015 02:30:03 -0800 (PST)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id A043E1A3BA4 for <>; Thu, 26 Feb 2015 02:30:02 -0800 (PST)
Received: by (Postfix, from userid 501) id A24F2A3; Thu, 26 Feb 2015 11:30:00 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=mail; t=1424946600; bh=/VMiQSwwNQuny+zfvaBvW0aMJ2WBlisyEy76gvE8kHQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=4eIluKHXZQwblU4JIibehp3j9Jb5nHwf1WBFXW6Xq5q3yHVb21YoGImTaw7bQnhCo uhQHUmmFFUxPJSaL0cRTH6VyBDoYmZhww/QLeBAPRXEzWG9O++bSAJrHNea9he4Ju+ MS2r9YOZqe9uKFoDVUuVNCaSvqN5mhkw3mZjL+xA=
Received: from localhost (localhost []) by (Postfix) with ESMTP id 99759A2; Thu, 26 Feb 2015 11:30:00 +0100 (CET)
Date: Thu, 26 Feb 2015 11:30:00 +0100 (CET)
From: Mikael Abrahamsson <>
To: Dave Taht <>
In-Reply-To: <>
Message-ID: <>
References: <BAY176-W35105790F5BC047AA12309A5170@phx.gbl> <>
User-Agent: Alpine 2.02 (DEB 1266 2009-07-14)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Archived-At: <>
Cc: "" <>
Subject: Re: [aqm] Gathering Queue Length Statistics
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion list for active queue management and flow isolation." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 26 Feb 2015 10:30:05 -0000

On Wed, 25 Feb 2015, Dave Taht wrote:

> Oh, god. I am getting incredibly sensitive about average queue length, 
> and I realize that that is not what you meant. But since not enough 
> people have seemingly read this or any of the related materials, here it 
> is again.

But it would be valuable to see "instant current length" and other types 
of statistics if they were collected once per second and the per-second 
values were kept for 30 values back in time (ie 30 seconds worth of data)?

I know some commercial routers will have the possibility of showing the 
current percentage queue fill on the device. I don't know how the Linux 
AQM system works, but exposing some of these counters through the proc 
subsystem (or something else), might work, and then a userspace daemon 
could poll this data as often as it wanted, then you don't even need the 
kernel to do averaging and keeping the data.

Mikael Abrahamsson    email: