From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 9 04:25:44 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04182106566C for ; Mon, 9 Apr 2012 04:25:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 899708FC14 for ; Mon, 9 Apr 2012 04:25:43 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so1800593wib.13 for ; Sun, 08 Apr 2012 21:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QeONjceELyLBOOAiQd3ExXss81TT5iJun4y/fcH+I20=; b=GoeEsvi0O5IQwE9dZPlDTiEMP3crALr0iTw2I+Q1VC59rtt+cKc+NgR5X0EkZ4GXm7 fEXI2GG7DxwZ2k8FghQfR2JrHlXwqlpYTrAo219OUiUp0nTWh68PCWobc4dCjrx781oT weR2weDa+3U4bx/SLImY5xOQAuV3tcpCF5DtFwX37E/IRPn5IhHKVsx0JlfMuCb8xdSu EfqxnfAEUAlr1+XCjQLrG5GcAdoOUUKQBzPRmjzAiC20sO5l6oRbHiN8iBHAqkff2gu8 QXeeVPUygX+pGw6KJcl9R+sKINykdzFGJwsZO2EqDz66809fiNE7Hpbb1tiuFABiDbQW 6wIg== MIME-Version: 1.0 Received: by 10.180.24.35 with SMTP id r3mr13077958wif.7.1333945542523; Sun, 08 Apr 2012 21:25:42 -0700 (PDT) Received: by 10.223.94.73 with HTTP; Sun, 8 Apr 2012 21:25:42 -0700 (PDT) In-Reply-To: <4F825AD5.6040609@rawbw.com> References: <4F82551A.9040206@rawbw.com> <4F825AD5.6040609@rawbw.com> Date: Sun, 8 Apr 2012 23:25:42 -0500 Message-ID: From: Adam Vande More To: Yuri Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: NFS from virtualbox guest is much slower than NFS from another machine X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2012 04:25:44 -0000 On Sun, Apr 8, 2012 at 10:43 PM, Yuri wrote: > On 04/08/2012 20:18, Yuri wrote: > >> Same NFS operations take 11 sec from the local vbox guest and 3 sec from >> the remote host over 100Mb link. >> > > During build, top in guest shows <3% CPU load on average (during intense > NFS), but top on the host shows that VirtualBox process consumes 50% CPU. > Looks like somewhere somebody does some processing byte by byte. > Virtualizated NIC's are slow, regardless of hypervisor, although some are better than others. Hi performance in something like XEN/KVM/Virtualbox requires pci-pass-thru, but I don't think FreeBSD supports this yet. You can use /usr/ports/emulators/virtio-kmod which will help a little. Otherwise use a jail. -- Adam Vande More