From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AWOgC-0003Dt-3V for user-mode-linux-devel@lists.sourceforge.net; Tue, 16 Dec 2003 15:32:40 -0800 Received: from tektonic.net ([69.56.241.195] helo=unix.easyadmin ident=qmailr) by sc8-sf-mx1.sourceforge.net with smtp (Exim 4.24) id 1AWOgB-0003d5-P7 for user-mode-linux-devel@lists.sourceforge.net; Tue, 16 Dec 2003 15:32:39 -0800 Subject: Re: [uml-devel] uml-patch-2.4.22-7 From: Matt Ayres In-Reply-To: <200312162255.hBGMtYkS003408@ccure.user-mode-linux.org> References: <1071602165.3374.23.camel@wopr.tektonic.net> <200312162255.hBGMtYkS003408@ccure.user-mode-linux.org> Content-Type: text/plain Message-Id: <1071617555.5553.4.camel@wopr.tektonic.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 16 Dec 2003 18:32:37 -0500 To: Jeff Dike Cc: William Stearns , ML-uml-devel On Tue, 2003-12-16 at 17:55, Jeff Dike wrote: > matta@tektonic.net said: > > Well, when reboot/shutdown -r is run from within a UML it shuts down > > and then states "INIT: no more processes in this runlevel" running > > 2.4.22-um6. > > Does it halt? > > Where did you get your filesystem image? > > I saw this a while back, and it turned out to be the filesystem. The script > that finally shuts the system down wasn't running, and the reason was that > the running rc script called it through a link, and the link wasn't there. > Yes, this was it. The halt symlink was in runlevel 0 but not in 6. I guess I need to find a type to run "cd /etc/rc6.d && ln -sf ../init.d/halt S01reboot" inside each UML. Thanks. > > Is there a thread that I can be pointed to or a brief explanation of > > how this is a benefit? > > The benefit is that when something does a 'sleep 1' inside UML, it will > sleep for 1 second, and not 2 or 3 seconds. There have been various complaints > about this on the lists. > > > ubd-mmap is new behavior that doesn't need to be enabled? (meaning, > > just upgrade to -7 and we'll seen some better performance using the > > block device) ? > > No, you have to turn it on (by adding ubd=mmap to the command line). > > > Do you know how much performance is gained from > > ubd-mmap and /dev/anon individually? > > It's not performance of an individual UML per se (the testing I've done shows > that the performance is about the same), it's lower memory consumption on > the host. ubd-mmap eliminates the duplicate copies of data on the host (in > the host page cache and the UML page cache) by mapping the host page cache > directly into UML physical memory. /dev/anon completes the picture by > releasing the overmapped physical memory pages back to the host. > > So, it'll increase your hosting capacity, and if the host is swapping, improve > performance by keeping more UMLs in memory. > Understood. > Jeff > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > User-mode-linux-devel mailing list > User-mode-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel -- Matt Ayres TekTonic ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel