From owner-freebsd-net@freebsd.org Sun Jul 1 23:34:54 2018 Return-Path: <owner-freebsd-net@freebsd.org> Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7C01FEAD49 for <freebsd-net@mailman.ysv.freebsd.org>; Sun, 1 Jul 2018 23:34:54 +0000 (UTC) (envelope-from er.suneetsingh@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5E668840B5 for <freebsd-net@freebsd.org>; Sun, 1 Jul 2018 23:34:54 +0000 (UTC) (envelope-from er.suneetsingh@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1DC0BFEAD3B; Sun, 1 Jul 2018 23:34:54 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA3B7FEAD32 for <net@mailman.ysv.freebsd.org>; Sun, 1 Jul 2018 23:34:53 +0000 (UTC) (envelope-from er.suneetsingh@gmail.com) Received: from mail-ua0-x22c.google.com (mail-ua0-x22c.google.com [IPv6:2607:f8b0:400c:c08::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80219840B4 for <net@freebsd.org>; Sun, 1 Jul 2018 23:34:53 +0000 (UTC) (envelope-from er.suneetsingh@gmail.com) Received: by mail-ua0-x22c.google.com with SMTP id 59-v6so8977979uas.5 for <net@freebsd.org>; Sun, 01 Jul 2018 16:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=zE1YRGlXUKo974T3BGv+jtkeXISaiQ0pR3IR/JoRENU=; b=dORhAcBMsn+C44rGW3XIrisEQxn4woUkv8uc7dYrBYt66rmifDFC4LejhGEeVcMQAZ 0D0RB+EbnmaJH5ETY0BOlavdXXbWbSDAQ07Gp7XJ0jOAAaKwWbGBJiM4zFtXkd+IlIg/ L+VTrhwG37Mk/DAmM5eMNFeRqnkJiOQeItgUmCESYtpQV4Yv47dTQvikqVss0uuorMxp eP0w8Q6uYYoubIB95llzUyXlFjrrSd0sLbpMCIQkXeTq5qcDLg5AOMqKr7J2+aDWS5EL 6NcCN9RK8WBCjv2HKpLqXMKwvZ54DogMzx8+1ORe6wUrJJvOK1pCP49z+CyhjYJOwgbS aHBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=zE1YRGlXUKo974T3BGv+jtkeXISaiQ0pR3IR/JoRENU=; b=DVoKNVvvcbQg5sm/Ty3J4m1WCYTirnoyLiFTirbT+gOaTx9YjiXeZi9N1+DkmwpOqH 6UGVXF9XkuSWiIbIqPqwUNJ771jmGcd4Oiqpp+su0Ie9x8oMmAVqe1Em3mjA1ubvlYug bs6pdK+IBqXUFgH2kWz2Y2vY8JEPRfK1Nd8MqQMLMVKKFH/gG8rd2u7a9NAoOXGGUM6Y w1mT/8ohc25KfZopF4SYags3RLUofTBQASNwphA4DI3Y/pGNUDkUuFlwtHdJmoALxUWC NGkq8+8h7Q0AGeyVuxfht6Dg2KIDp4+vzTT+c6iYC6Xg/7GUNE9AyHqHM1FXIfsAOKqT gbrA== X-Gm-Message-State: APt69E2aHHxyJVERwUqnmWU/HcdDLGWQka3i+dX4qlr0U8QEm4VekmLV MIcRGV2nzCHlk3RsaHFDGcqrgut+gdKQcQf0n/7kfQ== X-Google-Smtp-Source: AAOMgpecqGJwKEChAKIJyExhd3hdwjEDxG0n153bZpwCmoMdfLmLshJHm/LHMnYDMqNHfTLrVpc8SgPWwLK7KK/AucU= X-Received: by 2002:a9f:3ed9:: with SMTP id n25-v6mr8101040uaj.25.1530488092997; Sun, 01 Jul 2018 16:34:52 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:1391:0:0:0:0:0 with HTTP; Sun, 1 Jul 2018 16:34:52 -0700 (PDT) From: Suneet Singh <er.suneetsingh@gmail.com> Date: Sun, 1 Jul 2018 20:34:52 -0300 Message-ID: <CAOtLXvR4xmsv_ctUtB-2NPaNQTQuVk4d_VMBw0G+2L5OAf22GA@mail.gmail.com> Subject: Regarding latency of Netmap i/o To: rizzo@iet.unipi.it Cc: net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD <freebsd-net.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net/> List-Post: <mailto:freebsd-net@freebsd.org> List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-net>, <mailto:freebsd-net-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 01 Jul 2018 23:34:55 -0000 Dear Professor, I am Suneet from India. I am a PhD student in Unicamp, Campinas, Brazil. I am testing latency of MACSAD P4 software switch. I found that latency using netmap i/o is higher than using socket_mmap i/o while in case of dpdk, latency is very low. As I read the research papers related to netmap, I found that it may be the reason of high latency in case of netmap compare to socket_mmap due to batch process. However, I am not sure why latency of my switch is higher using netmap compare to sockte mmap. I am requesting you to please let me know the performance of netmap interms of latency (end-to-end) compare to socket_mmap. Thank you so much for your precious time. *" Man needs his difficulties because they are necessary to enjoy success."* Kind Regards *Suneet Kumar Singh* https://www.researchgate.net/profile/Suneet_Singh7