[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Ubuntu HVM installation is very slow
- To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
- From: Dot Yet <dot.yet@xxxxxxxxx>
- Date: Wed, 20 May 2009 19:47:22 -0400
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 20 May 2009 16:48:10 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wV1knk0VxAqpNbidW5w1ee+deRclmoQn+Wqg/+ezIfinp+zj0aoIWQvBxJHV21H3cc WdO6ddAt0JoCy0bzSYBOsUd1x+uY7r0prq56abZb92ubBg+IaL58Vk848lWPpVB12Byf 3iyF2JailDQvMMZVqb/chTuPb5H7qTAWxvFhw=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
On Tue, May 19, 2009 at 10:36 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Tue, May 19, 2009 at 7:28 PM, Dot Yet < dot.yet@xxxxxxxxx> wrote:
> I am trying my hands on xen under Solaris SXCE build 113.
You might find more SXCE/opensolaris users, as well as Sun's
developers on xen-discuss@xxxxxxxxxxxxxxx
> The problem is that xen HVM is very slow. I am using the following command
> to create an Ubuntu 9.0.4 test vm.
>
> virt-install -n test1 -r 2048 --vcpus=2 -f /vdatapool/data/test1.img -s 50
> --vnc --hvm --os-type=linux --location=/vsafepool/shared/
> Installs/Linux/ubuntu-9.04-desktop-amd64.iso
file-based vbds tend to be slower compared to phy:/. Try using zvol
and see if it helps.
While we're at it, why HVM? Why not PV guest, which should provide
much better performance?
>
> Based on some random bits found on google, i did hear it to be slow, but did
> not expect it to be crawling slow.
Slow is relative :)
While it is MUCH slower compared to native or PV guest install, last
time I tested it's comparable to Windows HVM install. This is why IMHO
HVM guest is only usable with PV drivers. Meaning Ubuntu HVM install
will be almost useless for production purposes since AFAIK there's no
PV driver for its default kernel yet. I actually have an Ubuntu HVM
(for testing purposes) and I changed its kernel to RHEL 5.3's
kernel-xen (which has built in PV drivers). The performance
improvement was HUGE.
> Following is the output from zpool's iostat:
>
> vdatapool 79.8G 848G 0 135 0 17.0M
17MB/s write with 135 writes/s is a lot (well it can be a lot
depending on disk).
Try using iostat to see if the disk has maxed out its bandwidth or IOPS.
> some data from vmstat as well:
Try "xm top".
--
Fajar
Hi Fajar,
I am using HVM because, I am yet to find clues on how to go directly on a PV if I have an ISO with me. I know I can download an image from jailtime.org, but want to give it a shot on a vanila downloaded iso. I will try on thr zvols tonight.
xm top shows this:
xentop - 19:43:09 Xen 3.1.4-xvm 2 domains: 2 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown Mem: 16776104k total, 12523148k used, 4252956k free CPUs: 8 @ 2493MHz NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID
Domain-0 -----r 37043 95.7 8041472 47.9 no limit n/a 8 0 0 0 0 0 0 0 0 Ubuntu_904 -----r 3200 90.1 4202364 25.0 4210688 25.1 2 1 0 0 2 0 0 0 0
Regards, dot.yet
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|