From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id B96EA3B2A0 for ; Tue, 18 Oct 2016 11:43:19 -0400 (EDT) Received: by mail-qt0-x22a.google.com with SMTP id f6so164531407qtd.2 for ; Tue, 18 Oct 2016 08:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=OdsKHpO8o3ZM3+dyleHor0TAST5+HGa56yRt+XuxETk=; b=fzKti1/a/XnKaItKlt5l9OX9ntjtLJS0tR6Sn33gETCVQ1Y+uz10vOnIPE+NqfWVCe em2PlP4ZkwS3GaTmLBKz2WxemCAxN8M46JHd1K6E3ZvXrzUpzWhdlA6bgVR6m6P1m91/ bHv2k8Fsd7cXTqCeQmn9iMPzKVatX2LOYsxUWlGV0Ls9oqv6V51jFlyxxJs8+ErgqG2p 73AM+0wP7n6EXW0u7wOPIVhyd6/xcCOO31TMvnz6+ddr5X73aMgR6efbyQQinCWP49Sw 9TjASBaccjrVkqHIe09Sh7tGXNjnCAT+G0cEsFmQI17b+9XKZ3dJQ+2kDppEsdtTtoLA O5ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OdsKHpO8o3ZM3+dyleHor0TAST5+HGa56yRt+XuxETk=; b=WL8j2Bb7mn58+p1VNq0vbcqy1Wak1ESjNAuTOFl+VXIWZ73mU9IeosE+dZFtY23Qc9 Iu0Ym/hwlYlv/k3AUgXq24CVasc2/cFh2mkbSthqSq3jW24t9J519RZy5nR7fgXQiJ91 2llQQh14/xI3F5YXjHoHxx95jjuMaIiHaRO4fBbyUZMsLMyDUP0t6gyC2n1UXnsdbwKo 7OzccoiwBn4+ETSmgrUduLa+3JzF9wLT9hQpOLj/F41aETtCQN4mKSo6ki2cnvzJ43H+ iS9hwZylCrsKJEg0EB8gcIMPRG7bbbgmKpVi+irRDW1tixZjTXnILuijZo7Zupk2h84k CGaA== X-Gm-Message-State: AA6/9RnjcLAq9EkOCulYYb675NwQ2yxW8E5vgFL707Wrjx/wRZ5OLrxaHR14ch117iYYSYUqFF8M0a7aP659Fw== X-Received: by 10.200.37.120 with SMTP id 53mr1086549qtn.44.1476805398809; Tue, 18 Oct 2016 08:43:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.146.164 with HTTP; Tue, 18 Oct 2016 08:43:18 -0700 (PDT) In-Reply-To: <20161018144234.Horde.G87Yvb-Fv8vOgZa1kd0MXA1@webmail.itu.edu.tr> References: <20161018144234.Horde.G87Yvb-Fv8vOgZa1kd0MXA1@webmail.itu.edu.tr> From: Dave Taht Date: Tue, 18 Oct 2016 08:43:18 -0700 Message-ID: To: avatli@itu.edu.tr Cc: "codel@lists.bufferbloat.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Codel] Codel on DPDK X-BeenThere: codel@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: CoDel AQM discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 15:43:19 -0000 On Tue, Oct 18, 2016 at 4:42 AM, wrote: > Hello > > I'm trying to implement CoDel-like implementation on Intel's DPDK library= , > but I have trouble with measuring packet sojourn time on RX/TX queues > because of DMA usage. When I call send() function, DPDK puts the packets > into DMA-region and I have no idea when the packets sent really into > network. Likewise, when I call recv(), I don't have any idea when the > packets arrived, so I'm not sure totally but I think I have no chance to > measure sojourn time for dma-like implementation. Could you please correc= t > me if I'm wrong. Also any comments/suggestions would be greatly appreciat= ed. I am under the impression there is a dpdk implementation already, somewhere= . As for the amount of time things spend in dma, you are hopefully talking about a few mere us, and the default for codel is only worrying about ms, so you can do the codel work before the send and after the recv. > Thanks in advance.. > > - Volkan > > > _______________________________________________ > Codel mailing list > Codel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/codel > --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org