On Wednesday 29 March 2006 00:09, David Lang wrote:
> On Tue, 28 Mar 2006, Blaisorblade wrote:
> >>> http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/
> >>
> >> sorry, the host is a dual Opteron 252 with 8G of ram running 2.6.16
> >> (which I understood included the skas patch)
> >
> > No, it doesn't if you don't patch it. Add the patch, but you can't run
> > them in full SKAS3; you can pass "mode=skas0" to force skas0 mode, but
> > you can then also pass "noprocmm" to force half SKAS3.
>
> Ok, I've gone through and read the docs on blaisorblade's pages about
> SKAS, and I'm still not understanding things.

> the 2.6.16 kernel includes a SKAS option in the configs (it only shows if
> you have TT mode enabled)

Because otherwise it's auto-enabled.
We're talking of guest support, in case it's not clear.

However:
*) for ages, SKAS meant SKAS3. And SKAS3 requires a patch on the host.
*) Now SKAS includes also SKAS0; SKAS0 was born some time ago, doesn't require 
special host support, and is not as fast as SKAS3, but a lot faster than TT 
mode.
*) there are 3 differences between SKAS0 and SKAS3, and they can be 
individually enabled; /proc/mm doesn't work on x86_64 host, but with 
"noprocmm" you enable the others, which are more important for performance. 
That's what I called in the previous mail "half SKAS3" (you won't find 
references to this term anywhere else).

> when they boot up the uml's report that they are starting in skas0 mode

Exactly, matches with the above.

> however, the discussions you have up don't seem to match the bahavior of
> the resulting system (the discussions talk about TT vs SKAS mode, is this
> TT vs SKAS3 mode?)

Can't find the exact quote, however "SKAS" could have meant "SKAS3" 
specifically...

For instance, in full SKAS3 you wouldn't get thousands of process on the host, 
and instead each UML would start about 5 processes. So "Chris Aker" said "I 
think you are running in TT mode", but he forgot that SKAS0 produces similar 
results (but SKAS0 currently starts a single thread per guest process, even 
if the guest process is creating more threads).

> it sounds as if I need to apply the SKAS patches and then pass "noprocmm"
> to get the 'half SKAS3' mode

> is this correct?
Yes.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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