All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nuno Silva <nuno.silva@vgertech.com>
To: BlaisorBlade <blaisorblade_spam@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Problem with Real-Time Scheduling
Date: Thu, 30 Oct 2003 00:40:10 +0000	[thread overview]
Message-ID: <3FA05DEA.2090507@vgertech.com> (raw)
In-Reply-To: <200310292012.10949.blaisorblade_spam@yahoo.it>

Hello!

BlaisorBlade wrote:
> 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 


I wasn't talking about running UML as root. Just an easy way to identify 
each thread.

After a script (maybe run by root, maybe not) can easily spot which 
thread does what we could renice the process, remove linux capabilities, 
killall -STOP linux-sigio, etc... ;)


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

This would be really good! :)

Regards,
Nuno Silva



>>Comments?
>>
>>Regards,
>>Nuno Silva



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

      reply	other threads:[~2003-10-30  0:39 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
2003-10-30  0:40             ` Nuno Silva [this message]

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=3FA05DEA.2090507@vgertech.com \
    --to=nuno.silva@vgertech.com \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.