From owner-freebsd-net@freebsd.org Fri Dec 18 16:34:55 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79FF2A4C6FA for ; Fri, 18 Dec 2015 16:34:55 +0000 (UTC) (envelope-from rizzo.unipi@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 62C341E0A for ; Fri, 18 Dec 2015 16:34:55 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5F36EA4C6F9; Fri, 18 Dec 2015 16:34:55 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ED8AA4C6F8 for ; Fri, 18 Dec 2015 16:34:55 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 E209D1E09 for ; Fri, 18 Dec 2015 16:34:54 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id z124so71222696lfa.3 for ; Fri, 18 Dec 2015 08:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cXkSPdInV5JoHqjhZyeH1c1aeyJfP/DnKQSIRAoPQgw=; b=Zn/3VsfDZBK0ee9+p0luh0A2z9a2zwrkYKXZqV2vRtrSOGljaXw18bKHW4Pn1rvTx1 +4eYX4CyO2Pb/mIDUwdx0U9f6braQrLAfHZaFqNqMoaHdmpFAhyBLRQTn1VpzZufYQAp 29CcIPZaUwwbXxKD86GjhjgfXIacSCvewysWUTitqfezinamYth1YmXjoiuOA5p2adCI IEwGEArqDnxVEDI7NBbGQ+ZYH7duh4w5yxMIoVmYAdS44KrE3r2ADNFigI0XhkakmU8R xyT9Mm/ixM2VUHel1jKoUOd4ORFp/Hgmue1XlkSliKSZqWi3Lpo58/RtoUL091k0GxGM z7Bg== MIME-Version: 1.0 X-Received: by 10.25.91.210 with SMTP id p201mr1844905lfb.37.1450456492931; Fri, 18 Dec 2015 08:34:52 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.97.100 with HTTP; Fri, 18 Dec 2015 08:34:52 -0800 (PST) In-Reply-To: References: Date: Fri, 18 Dec 2015 08:34:52 -0800 X-Google-Sender-Auth: rrWoe_DS2Ur1F82Tnel6n-SFHQk Message-ID: Subject: Re: Netmap with VMWare From: Luigi Rizzo To: Pradosh Datta Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2015 16:34:55 -0000 On Fri, Dec 18, 2015 at 5:14 AM, Pradosh Datta wrote: > Hi, > I am trying to use the netmap on vmware in CentOS guests, I am able to use > netmap with the e1000 driver on vmware (though the throughput is close to > line speed). > > But is there any way to use the netmap with vmxnet3? Is there any patch > available to support that? Or any suggestion on how can I achieve > high-packet-rate between vm-to-vm using netmap? The vm-to-vm bottleneck is typically in the hypervisor (vmware) and the switch (in this case it may be the linux bridge in centos). I am afraid just using netmap in the guest won't help you much in this respect. See our ANCS'13 paper http://info.iet.unipi.it/~luigi/papers/20130903-rizzo-ancs.pdf for what you can expect (look at the unmodified hypervisor/linux bridge case). This said, you can always use netmap (in emulated mode) on any network interface in the guest. cheers luigi > > Best Regards, > Pradosh > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------