Performance issue webserver Ubuntu guest on Mac Host

Discussions about using Linux guests in VirtualBox.
Post Reply
sabrinahorst
Posts: 1
Joined: 20. May 2010, 15:22
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: ubuntu

Performance issue webserver Ubuntu guest on Mac Host

Post by sabrinahorst »

Hi all

I have a MacBookPro with 4Gb.
My guest: ubuntu 64bit with 1024 MB memory and guestadditions installed.
Network
Adapter 1: Intel PRO/1000 MT Desktop (Host-only adapter, 'vboxnet0')
Adapter 2: Intel PRO/1000 MT Desktop (NAT)

On ubuntu I have installed a apache webserver (all components by hand) so no lampp or wampp or other package.
I have a shared directory (called vmubuntu) which is my /var/www - directory in ubuntu and which I can see in Finder.

The webserver works in mac.
But it works slow.

Changing the memoy of ubuntu (which was 512 at first and now 1024) hasn't helped.
Why is it so slow?

What performance-tuning can I do?

Thx
SH
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Performance issue webserver Ubuntu guest on Mac Host

Post by fixedwheel »

Hi,
My guest: ubuntu 64bit with 1024 MB memory
64bit makes sense when linux has much memory, OTOH it consumes more memory than 32bit. I would use 32bit for anything sub 2048MB
On ubuntu I have installed a apache webserver
did you install the desktop too? - no need to remove, just switch to text console (bare metal [ctrl]-[alt]-[F1] usually is [right-ctrl]-[F1]) ... be root and do /etc/init.d/gdm stop (or modify the runlevels not to start gdm)
I have a shared directory (called vmubuntu) which is my /var/www - directory in ubuntu
did you test if copy the files over to ubuntu native filesystem is speeding things up?
Post Reply