linux-um archives
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Matt Ayres <matta@tektonic.net>
Cc: William Stearns <wstearns@pobox.com>,
	ML-uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] uml-patch-2.4.22-7
Date: Tue, 16 Dec 2003 17:55:34 -0500	[thread overview]
Message-ID: <200312162255.hBGMtYkS003408@ccure.user-mode-linux.org> (raw)
In-Reply-To: Your message of "Tue, 16 Dec 2003 14:16:05 EST." <1071602165.3374.23.camel@wopr.tektonic.net>

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.

> 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.

				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

  reply	other threads:[~2003-12-16 22:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-16 16:53 [uml-devel] uml-patch-2.4.22-7 Jeff Dike
2003-12-16 16:53 ` Matt Ayres
2003-12-16 17:56   ` Jeff Dike
2003-12-16 17:53     ` William Stearns
2003-12-16 19:16       ` Matt Ayres
2003-12-16 22:55         ` Jeff Dike [this message]
2003-12-16 23:32           ` Matt Ayres
2003-12-20  3:07             ` Matt Zimmerman
2003-12-16 17:50 ` marco ancillotti
2003-12-16 19:50   ` Jeff Dike
2003-12-16 19:23 ` Matt Ayres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200312162255.hBGMtYkS003408@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=matta@tektonic.net \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=wstearns@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox