All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] uml on iA-64
@ 2003-10-25 13:05 pierre.gentile
  2003-10-25 17:03 ` Jeff Dike
  0 siblings, 1 reply; 8+ messages in thread
From: pierre.gentile @ 2003-10-25 13:05 UTC (permalink / raw)
  To: user-mode-linux-devel





Hello all,

Has anyone tried to implement user-mode-linux (skas patch and um
architecture) on an Itanium IA-64 machine ?

                    ////
                   (o o)
===============oOO==(_)==OOo=============
  Pierre Gentile



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] uml on iA-64
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Dike @ 2003-10-25 17:03 UTC (permalink / raw)
  To: pierre.gentile; +Cc: user-mode-linux-devel

pierre.gentile@mpsa.com said:
> Has anyone tried to implement user-mode-linux (skas patch and um
> architecture) on an Itanium IA-64 machine ? 

Not really.  I have an IA64 box sitting next to me, and starting a port to
it is on my list once I acquire some free time.

				Jeff



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] uml on iA-64
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Zimmerman @ 2003-10-26  4:39 UTC (permalink / raw)
  To: user-mode-linux-devel

On Sat, Oct 25, 2003 at 01:03:22PM -0400, Jeff Dike wrote:

> pierre.gentile@mpsa.com said:
> > Has anyone tried to implement user-mode-linux (skas patch and um
> > architecture) on an Itanium IA-64 machine ? 
> 
> Not really.  I have an IA64 box sitting next to me, and starting a port to
> it is on my list once I acquire some free time.

I did some preliminary investigation into making ia64 UML-friendly as a host
(the changing syscall numbers bit), and after discovering why it won't work,
I sent pleas for help to some HP folks to find out if it would be easy to
fix.  I did get one interested response, but no reply to my followup as yet.

-- 
 - mdz


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [uml-devel] Problem with Real-Time Scheduling
  2003-10-26  4:39   ` Matt Zimmerman
@ 2003-10-26  5:20     ` Michael Ralston
  2003-10-26 19:09       ` Jeff Dike
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Ralston @ 2003-10-26  5:20 UTC (permalink / raw)
  To: user-mode-linux-devel

I've come across a problem with running a user-mode-linux instance with
RR-Scheduling. When I attempt to start a server with chrt the host
system panics. I can start a uml in normal (other) scheduling, and then
change it to RR-Scheduling and it works fine, until I try to stop the
uml... then I get the same kernel panic.

I'm using the skas-3 patch on a 2.4.21 kernel, and 2.4.21-6um. If you
need the specific output of the kernel panic, I can get it...

Just as a related question... how would different scheduling the
different 'threads' of the UML effect performance? As far as I know..
the first 'linux' process actually does all the work and the extra
processes are for the different IO the UML does, eg network, block
devices etc? Would increasing the priority of the IO over the priority
of the main process have an effect on network performance for example?

Michael Ralston




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] Problem with Real-Time Scheduling
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Jeff Dike @ 2003-10-26 19:09 UTC (permalink / raw)
  To: ralston; +Cc: user-mode-linux-devel

ralston@stral.net said:
> I've come across a problem with running a user-mode-linux instance
> with RR-Scheduling. When I attempt to start a server with chrt the
> host system panics. I can start a uml in normal (other) scheduling,
> and then change it to RR-Scheduling and it works fine, until I try to
> stop the uml... then I get the same kernel panic.

Any time the host panics, it's time to send the details to LKML.

> how would different scheduling the different 'threads' of the UML
> effect performance? As far as I know.. the first 'linux' process
> actually does all the work and the extra processes are for the
> different IO the UML does, eg network, block devices etc? Would
> increasing the priority of the IO over the priority of the main
> process have an effect on network performance for example?

In skas mode, the first process runs the kernel, the second runs processes, 
and the other two handle SIGIO emulation and SIGWINCHes.  So, those two don't
matter, and first two are never running at the same time, so their relative
priorities don't matter.

				Jeff



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] Problem with Real-Time Scheduling
  2003-10-26 19:09       ` Jeff Dike
@ 2003-10-26 21:23         ` Nuno Silva
  2003-10-29 19:12           ` BlaisorBlade
  0 siblings, 1 reply; 8+ messages in thread
From: Nuno Silva @ 2003-10-26 21:23 UTC (permalink / raw)
  To: Jeff Dike; +Cc: ralston, user-mode-linux-devel

Hi!

Jeff Dike wrote:

[..]

> In skas mode, the first process runs the kernel, the second runs processes, 
> and the other two handle SIGIO emulation and SIGWINCHes.  So, those two don't
> matter, and first two are never running at the same time, so their relative
> priorities don't matter.
> 
> 				Jeff
> 

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? Maybe this could make the "time" inside 
UML more consistent in high loads?

Comments?

Regards,
Nuno Silva



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] Problem with Real-Time Scheduling
  2003-10-26 21:23         ` Nuno Silva
@ 2003-10-29 19:12           ` BlaisorBlade
  2003-10-30  0:40             ` Nuno Silva
  0 siblings, 1 reply; 8+ messages in thread
From: BlaisorBlade @ 2003-10-29 19:12 UTC (permalink / raw)
  To: user-mode-linux-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [uml-devel] Problem with Real-Time Scheduling
  2003-10-29 19:12           ` BlaisorBlade
@ 2003-10-30  0:40             ` Nuno Silva
  0 siblings, 0 replies; 8+ messages in thread
From: Nuno Silva @ 2003-10-30  0:40 UTC (permalink / raw)
  To: BlaisorBlade; +Cc: user-mode-linux-devel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-30  0:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.