On Thu, Aug 17, 2006 at 12:54:18PM -0400, Rick Spillane wrote:
> I was wondering why this phase of the boot process is so slow. Is
> there some way I can speed it up? If there is some configuration I can
> tweak to skip this step, that would be great, if it would require
> changing a lot of kernel source or what-not, then just tell me that
> also, and I will live with it. Any explanation as to why this is so
> slow though would be greatly appreciated.

It creates a hell of a lot of short-lived processes.  Process creation
is slow for UML, so this makes this part of the boot particularly
slow.

I do have a patch in my tree which speeds up fork by removing the
signal delivery that was used to initialize the new kernel stack.
This gives a speedup on the order of 5% on fork, which you probably
wouldn't notice watching a boot.

The next thing I'm going to look at is avoiding the page table scan
that happens before the new process starts up.  That has a better
chance of being noticable.

                                Jeff

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to