From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Problem with Real-Time Scheduling
Date: Wed, 29 Oct 2003 20:12:10 +0100 [thread overview]
Message-ID: <200310292012.10949.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <3F9C3B38.6000708@vgertech.com>
Alle 22:23, domenica 26 ottobre 2003, Nuno Silva ha scritto:
> Hi!
>
> Wouldn't it be nice if the threads updated their argv[0] to something like
> "argv[0]-kernel"
> "argv[0]-userspace"
> "argv[0]-sigio"
> "argv[0]-sigwinch"?
>
> I would send a patch but my first attempt didn't work... Can this be
> done?
> Maybe renicing the threads could help in environments where you
> have lots of UMLs running? Like having the kernel runnig at -10 and
> userspace at 19 and sigio at 19?
Avoid nice=19 since there have been some notable patches in 2.5(even present
in 2.4-ck tree) to make such task run only in place of the idle task. And
having the kernel running at -10 means having high permissions.
Adding an option to make UML switch to some UID after startup is not
difficult. But first we need to know until which point it needs root
priviledges. And probably, capabilities are just enough. And at some point,
in 2.6 there will be setcapability extended attributes(it's not hard now that
extended attrs work).
> Maybe this could make the "time" inside
> UML more consistent in high loads?
>
> Comments?
>
> Regards,
> Nuno Silva
--
cat <<EOSIGN
Paolo Giarrusso, aka Blaisorblade
Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729
EOSIGN
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-10-29 19:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-25 13:05 [uml-devel] uml on iA-64 pierre.gentile
2003-10-25 17:03 ` Jeff Dike
2003-10-26 4:39 ` Matt Zimmerman
2003-10-26 5:20 ` [uml-devel] Problem with Real-Time Scheduling Michael Ralston
2003-10-26 19:09 ` Jeff Dike
2003-10-26 21:23 ` Nuno Silva
2003-10-29 19:12 ` BlaisorBlade [this message]
2003-10-30 0:40 ` Nuno Silva
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=200310292012.10949.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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