From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 E533C3B2A0 for ; Tue, 18 Oct 2016 11:44:55 -0400 (EDT) Received: by mail-qk0-x235.google.com with SMTP id z190so299531610qkc.2 for ; Tue, 18 Oct 2016 08:44:55 -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=lmNhxyc50s9xZTdV/t1fuFxW60mPewppwxEUcVy1lBk=; b=UU8iOQgxbVcWIlblx2AHUIHUcRzY7MLV+0PZ63K8LhpjKHf5CQXQEQf2PXI4LP3dNu msWZotkKbAtGZqVRayLF2hRMPbvfdnn47w5tbyUVw56ZXuxiYLq2rzueCSNQYCgaL7pz g+mvQGuDm9m9yMteigEQ8+3Fkh06uzHRKRcxDvQ1H6FXG4hr2FS4RfVsGYe9CHHabjz1 biX0g3nLQaEh+WS+Y6r1zdElY3z+OIcLHykGuCUuxZAdzaZQRUaiwjtSuaX9Yms91vRg ugqAIuRI6vU5svT2TUzgfLKp92ls5cdErHXZsV8i6N7pWKxP4T0vGB+Et9BX9H+jtTWT BECg== 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=lmNhxyc50s9xZTdV/t1fuFxW60mPewppwxEUcVy1lBk=; b=DvlswkRWXbWjeAKwGRhf6wsWf3N+OnaY9L4qBaLx86zNox448MlLJESOEJcg5+7giM iUljC06B74PCuxzOcsH3rStIQxPwyEBtQ2BB9WcioPYkUs6O0+8IF39HBwxKTalOfjOH 1E0Yz6XyzybsAMGZzEwUMM+pcBAabJW/DW1aLveNF/685wRo3FtT0bhy8phPUHmLCHjx cwS3l9y4G1Oyf4eNA7fPU/xQ/Lk6xDquefPSACzTwspedN2p3B98XIrBmY7RDzrVNGTc oL5phcgEYwrwsPuiYlZVWGpUhU/q4HhCNKlZnv6LAILfY70dyoeTA/UK+T93cYJCtE5x t4BA== X-Gm-Message-State: AA6/9RlWEqK3wyTVLBnE/b0/7PSuwzghLnQnQ8biBidel2Om2Nqrg+WGXtWY8ohCV2jUWtOyfKCk2yRZAz1FTQ== X-Received: by 10.55.145.197 with SMTP id t188mr1233520qkd.59.1476805495536; Tue, 18 Oct 2016 08:44:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.146.164 with HTTP; Tue, 18 Oct 2016 08:44:55 -0700 (PDT) In-Reply-To: References: <20161018144234.Horde.G87Yvb-Fv8vOgZa1kd0MXA1@webmail.itu.edu.tr> From: Dave Taht Date: Tue, 18 Oct 2016 08:44:55 -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:44:56 -0000 On Tue, Oct 18, 2016 at 8:43 AM, Dave Taht wrote: > On Tue, Oct 18, 2016 at 4:42 AM, wrote: >> Hello >> >> I'm trying to implement CoDel-like implementation on Intel's DPDK librar= y, >> 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 corre= ct >> me if I'm wrong. Also any comments/suggestions would be greatly apprecia= ted. > > I am under the impression there is a dpdk implementation already, somewhe= re. codel, pie, etc, for dpdk: https://git.scc.kit.edu/TM/DPDK_AQM_Switch.git= =EF=BB=BF I have not looked this over for accuracy or completeness. > 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 >> > > > > -- > Dave T=C3=A4ht > Let's go make home routers and wifi faster! With better software! > http://blog.cerowrt.org --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org