Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2012 23:25:42 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: NFS from virtualbox guest is much slower than NFS from another machine
Message-ID:  <CA%2BtpaK34wFbW4xBPAjYAP0tJK_%2B8oV1qhxitG3-r0QFhXJZ4fg@mail.gmail.com>
In-Reply-To: <4F825AD5.6040609@rawbw.com>
References:  <4F82551A.9040206@rawbw.com> <4F825AD5.6040609@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 8, 2012 at 10:43 PM, Yuri <yuri@rawbw.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK34wFbW4xBPAjYAP0tJK_%2B8oV1qhxitG3-r0QFhXJZ4fg>