Re: [aqm] Gathering Queue Length Statistics

"Fred Baker (fred)" <> Wed, 25 February 2015 18:20 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 1154C1A079A for <>; Wed, 25 Feb 2015 10:20:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -114.51
X-Spam-Status: No, score=-114.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id RIeuQ4SzOK0g for <>; Wed, 25 Feb 2015 10:20:43 -0800 (PST)
Received: from ( []) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 9CE691A0470 for <>; Wed, 25 Feb 2015 10:20:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=3706; q=dns/txt; s=iport; t=1424888444; x=1426098044; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=UQwCXXEaRIcZd66Ue5GYtpzBW9ogFc08TMo/XhxhgaQ=; b=Ci0mS4gTxKxIIvJPhdFsJV3fpbTUJHNygAPcZ4iNJAcE6oz6Ltd8dRGw uUBp+88Xq+VMI3mJ225txdg+o1/o/IgSCgzoO5Q0Y352Tp5t23clL55Ra aaI5UEESy/2YOnUDE8a2+Rr+ITBxzcS6nD4qk7/L94bAAHkq5h5hiJoL3 o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.09,646,1418083200"; d="scan'208,217";a="126890187"
Received: from ([]) by with ESMTP; 25 Feb 2015 18:20:34 +0000
Received: from ( []) by (8.14.5/8.14.5) with ESMTP id t1PIKXvA029450 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 25 Feb 2015 18:20:33 GMT
Received: from ([]) by ([]) with mapi id 14.03.0195.001; Wed, 25 Feb 2015 12:20:33 -0600
From: "Fred Baker (fred)" <>
To: Ryan Doyle <>, "" <>
Thread-Topic: [aqm] Gathering Queue Length Statistics
Thread-Index: AQHQUSTW7yjx4Dm+TkiQ7sDnsvQovZ0BqxdA
Date: Wed, 25 Feb 2015 18:20:33 +0000
Message-ID: <>
References: <BAY176-W35105790F5BC047AA12309A5170@phx.gbl>
In-Reply-To: <BAY176-W35105790F5BC047AA12309A5170@phx.gbl>
Accept-Language: en-US
Content-Language: en-US
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_8C48B86A895913448548E6D15DA7553B0612FC9Axmbrcdx09ciscoc_"
MIME-Version: 1.0
Archived-At: <>
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: Wed, 25 Feb 2015 18:20:45 -0000

I'd suggest looking at netperf. It doesn't measure the queue directly; it measures the latency that queue occupancy induces. However, at least in commercial equipment, this thing we call "the queue" may not be all in the same place...

From: aqm [] on behalf of Ryan Doyle []
Sent: Wednesday, February 25, 2015 9:53 AM
Subject: [aqm] Gathering Queue Length Statistics


I am a senior undergraduate student at the University of North Carolina at Chapel Hill and am studying the effectiveness of AQMs. I have set up a lab network and plan on running different sets of experiments with different AQMs. My router machines are running Linux kernel version 3.16.0.

I am using the fq_codel, codel, and pie qdiscs for my research and am wondering if there is a way to collect statistics regarding the average queue length since a qdisc was enabled? I have looked at tc's "-s" flag for statistics, but they show nothing about queue length and I have been unable to find anything else that might help me get queue length statistics.

Ryan Doyle