From: Konrad M. <ko...@su...> - 2004-09-29 08:32:59
|
Folks Not having tried this approach myself, I was giving it a whirl this morning, and it seems to be happy starting up this way. However, because I start the UML's remotely via ssh, I normally prefix the startup command with "screen" so that I can detach from the session. This doesn't seem to work though when using the TMPDIR variable like this: screen TMPDIR=/opt/tmp11 /opt/2.6.6/uml11/linux mem=256M . . . .<rest of args> Any suggestions? Thanks Konrad On Wed, 2004-09-29 at 01:00, Net Llama! wrote: > On 09/28/2004 03:15 PM, Josh wrote: > >>** Mount a tmpfs volume and set the TMPDIR env variable before running the UMLs > >>mkdir /uml/tmp1 > >>mount -t tmpfs -o size=128M none /uml/tmp1 > >>TMPDIR=/uml/tmp1 /path/to/linux mem=128M ...<rest of uml args> > >> > >>Those are the three biggest gains for UML performance. > > > > > > I haven't tried this one yet, perhaps I should... > > Pulling a number out of thin air, i'd say that 50% of your performance > gains are from using TMPFS. If you've not done that, you absolutely > need to if you expect anything close to usable performance. > |