Subject: performance: domU in disk image or netboot from dom0 ?
To: NetBSD/xen <port-xen@NetBSD.org>
From: Joel CARNAT <joel@carnat.net>
List: port-xen
Date: 04/22/2006 21:31:14
--8NvZYKFJsRX2Djef
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hi,

I was wondering what was better (regarding performance) between using
disk images for domU and just "netbooting" them from dom0 ?

My current configuration is:
- every dom running NetBSD
- system and pkgsrc in disk images (4Go)
- data accessed by domUs from dom0 via NFS.

My thinking configuration would be:
- every doms running NetBSD
- system, packages and data accessed by domUs from dom0 via NFS/netboot.

any pros/cons ?

Going further, as every domUs (or at least 99%) will be NetBSD's, what
about using a single NFS shared system/packages via NFS with a layer for
conf and temp files.
Something like:
domU1:
	dom0:/exports/domUs	/		nfs
	dom0:/exports/domU1	/mnt/specific	nfs
	/mnt/specific		/		union
domU2:
	dom0:/exports/domUs	/		nfs
	dom0:/exports/domU2	/mnt/specific	nfs
	/mnt/specific		/		union

binary updates are done (once) in dom0:/exports/domUs.
each vmachine has it's own conf in dom0:/exports/domU*.
sounds crazy ?

TIA,
	Jo

--8NvZYKFJsRX2Djef
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFESoSC0/VH7L7F7Y4RAuDkAJ9rOByQRbq0G5TcVb8IgCIrU8UflACeITvB
6qUSMnEqD+jIfSWGfL2sE5o=
=dAlM
-----END PGP SIGNATURE-----

--8NvZYKFJsRX2Djef--