From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 881C021F1A6 for ; Thu, 5 Dec 2013 15:28:46 -0800 (PST) Received: by mail-qe0-f53.google.com with SMTP id nc12so16634764qeb.12 for ; Thu, 05 Dec 2013 15:28:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=T/Ehed+v0MXioR/sJqsqYaMNJ54Xtv+bkC9Mrf826rE=; b=LsnKtSeVF4V80AOw0LbH6ZVUCncKBzv0Dl2Zla/sX8nv4/yLazSmzgZreu8Bd9vArc gHHGYvZXNGTGLC5WbiQT78LEavHJqk6I9jkOcH0pJxQr6rQf14G3zPQuSPI/jd/nm8M+ cLdcu6XM+8oLQnCY5sbhdkZ1QMPdI1EsR6x4wvsQGj7CPr70ehYONmz6Iz1nfilsJX6/ jqsDjAf/cmGhD44Qa/jKtbfwBYgOAzxHKDYqHw4oVWsr9HR5KvJe6m1Uysd5ypOJS7Ax AwRqcfZ86djgtFOIllRWfG6GrkOZcY0QpzyS0O5JMoQuHwS0aP06OyI/6RTnxpILcy9x +3xQ== MIME-Version: 1.0 X-Received: by 10.224.65.130 with SMTP id j2mr713515qai.4.1386286124929; Thu, 05 Dec 2013 15:28:44 -0800 (PST) Received: by 10.96.62.66 with HTTP; Thu, 5 Dec 2013 15:28:44 -0800 (PST) In-Reply-To: <87fvq6c22z.fsf@toke.dk> References: <269B8D3A-09C7-411E-9482-27CAA898A29F@gmail.com> <87ob4vau2z.fsf@toke.dk> <87fvq6c22z.fsf@toke.dk> Date: Thu, 5 Dec 2013 17:28:44 -0600 Message-ID: From: Dong Mo To: =?ISO-8859-1?Q?Toke_H=F8iland=2DJ=F8rgensen?= Content-Type: multipart/alternative; boundary=001a11c2c08c0899d404ecd1e4e6 Cc: codel@lists.bufferbloat.net Subject: Re: [Codel] New to codel-- how to run codel on a linux box? X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 23:28:46 -0000 --001a11c2c08c0899d404ecd1e4e6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks. My problem is solved. It seems to me paping can sample for the RTT over this particular port, not the whole connection setup time. Maybe it only record for the sync time but I am not fully sure. From the latency result, it is quite close to RTT of the link. -Mo 2013/12/5 Toke H=F8iland-J=F8rgensen > Dong Mo writes: > > > I also found this to sample tcp latency performance: > > https://code.google.com/p/paping/ > > Right; note that that measures time to establish a new connection, not > the delay of packets within an already established connection. My guess > would be that each established connection would have a new source port, > thus hashing into a new bin. > > > Does fq_codel's flow classification supports external classifier > > filter? Say I only want to hash on dst port in my case. > > I'm pretty sure it supports the normal classifier (tc filter). That > overrides the built-in hashing completely, but IIRC you can do your own > hashing in tc filter :) > > -Toke > --001a11c2c08c0899d404ecd1e4e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks. My problem is solved.
It seems to me paping ca= n sample for the RTT over this particular port, not the whole connection se= tup time. Maybe it only record for the sync time but I am not fully sure. F= rom the latency result, it is quite close to RTT of the link.

-Mo


2013/12/5 Toke H=F8iland-J=F8rgensen <toke@toke.dk>= ;
Dong Mo <montedong@gmail.com> writes:

> I also found this to sample tcp latency performance:
> https:= //code.google.com/p/paping/

Right; note that that measures time to establish a new connection, no= t
the delay of packets within an already established connection. My guess
would be that each established connection would have a new source port,
thus hashing into a new bin.

> Does fq_codel's flow classification supports external classifier > filter? Say I only want to hash on dst port in my case.

I'm pretty sure it supports the normal classifier (tc filter). Th= at
overrides the built-in hashing completely, but IIRC you can do your own
hashing in tc filter :)

-Toke

--001a11c2c08c0899d404ecd1e4e6--