From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mektup2.itu.edu.tr (mektup2.itu.edu.tr [160.75.2.2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id A37E43B260 for ; Tue, 18 Oct 2016 07:42:39 -0400 (EDT) Received: from webmail.itu.edu.tr (tesla4.cc.itu.edu.tr [160.75.25.21]) (authenticated aid=ITUec8aa06da52a8f1ebd017cfae50385f2 bits=0) by mektup2.itu.edu.tr with ESMTP id u9IBgYWs027345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 18 Oct 2016 14:42:37 +0300 Received: from 88.247.132.35.static.ttnet.com.tr (88.247.132.35.static.ttnet.com.tr [88.247.132.35]) by webmail.itu.edu.tr (Horde Framework) with HTTP; Tue, 18 Oct 2016 14:42:34 +0300 Date: Tue, 18 Oct 2016 14:42:34 +0300 Message-ID: <20161018144234.Horde.G87Yvb-Fv8vOgZa1kd0MXA1@webmail.itu.edu.tr> From: avatli@itu.edu.tr To: codel@lists.bufferbloat.net User-Agent: Internet Messaging Program (IMP) H5 (6.0.5) Content-Type: multipart/alternative; boundary="=_BnqwO2AJ4xlDF-vNRlodnA1" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mektup2.itu.edu.tr [160.75.2.2]); Tue, 18 Oct 2016 14:42:37 +0300 (EEST) X-ITU-MailScanner-Information: Please contact with ITU BIDB for more information X-ITU-MailScanner-ID: u9IBgYWs027345 X-ITU-MailScanner: Found to be clean X-ITU-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.439, required 6, autolearn=disabled, ALL_TRUSTED -1.44, HTML_MESSAGE 0.00) X-ITU-MailScanner-From: avatli@itu.edu.tr X-ITU-MailScanner-Watermark: 1477395757.88472@zfhHxazwigwslNX3MOyi1w Subject: [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 11:42:39 -0000 This message is in MIME format. --=_BnqwO2AJ4xlDF-vNRlodnA1 Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes Content-Description: =?utf-8?b?RMO8eg==?= Metin =?utf-8?b?xLBsZXRpc2k=?= Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 correct me if I'm wrong. Also any comments/suggestions would be greatly appreciated.  Thanks in advance.. - Volkan --=_BnqwO2AJ4xlDF-vNRlodnA1 Content-Type: text/html; charset=UTF-8 Content-Description: HTML =?utf-8?b?xLBsZXRp?= Content-Disposition: inline

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 correct me if I'm wrong. Also any comments/suggestions would be greatly appreciated. 

Thanks in advance..

- Volkan

--=_BnqwO2AJ4xlDF-vNRlodnA1--