From: Frank S. <fr...@tu...> - 2005-01-09 06:00:49
|
Rob Landley wrote: <snip> Rob, I may not be able to answer all your questions, but I may be able to offer a few pointers. For the UML kernel version, the stock 2.6.x kernel is getting better, but still isn't the most stable and reliable kernel. Right now, the most stable I've found is using 2.6.9 from kernel.org, with the -bb4 patches from http://www.user-mode-linux.org/~blaisorblade/patches/guest/uml-2.6.9-bb4/ There are several thing you can do to improve the speed at which the UML runs. When UML starts, it opens a file in /tmp (or somewhere else if TMPDIR is set), mmaps it, and uses that as its memory. To speed this up, make sure that it's located on a tmpfs-mounted filesystem (so it's real memory). fstab: none /UML/MEMORY tmpfs defaults,size=768M 0 0 Starting the UML: export TMPDIR=/UML/MEMORY /UML/linux ... Also, with an unpatched host kernel, your UML will run slower. If possible, patch the host kernel to allow UMLs to run in SKAS mode and take advantage of some SYSEMU code. These patches are also here: http://www.user-mode-linux.org/~blaisorblade/patchlist.html or you can get the 2.6.10 host patch from http://uml.tuxrocks.com/Patches/host-skas3-2.6.10-v7.patch I don't know much about hostfs, so I can't give any real ideas there. UML doesn't support TLS yet, so make sure that your UML root_fs doesn't have a /lib/tls directory. Hope this helps, Frank -- Frank Sorenson - KD7TZK Systems Manager, Computer Science Department Brigham Young University fr...@tu... |