From: "roland" <for_spam@gmx.de>
To: Henrik Nordstrom <uml@hno.marasystems.com>
Cc: Laurent Vivier <LaurentVivier@wanadoo.fr>,
Jeff Dike <jdike@addtoit.com>,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH] host context switch reduction
Date: Thu, 20 May 2004 17:27:17 +0200 [thread overview]
Message-ID: <00c801c43e7e$f0262690$2000000a@schlepptopp> (raw)
In-Reply-To: Pine.LNX.4.44.0405201609240.7143-100000@filer.marasystems.com
> What can be said is that applications running on the host is by far not as
> dependent on context switching responsiveness to "feel good", and a CPU
> hog in one UML does not cause any noticeable amount of extra context
> switches, not much different from a CPU hog on the host in terms of
> performance.
mh - maybe i don`t understand you completely right here - but - for me, most hogging
processes in uml produces a gazillion of context-switches on the host.
if i run getpid on the host, i cannot see (vmstat) a noticeable raise in the amount
of context switches.
if i run getpid inside an uml - i see cs on the host raise from ~400 to ~230000 !!
the same getpid in a sysemu-patched uml/host results in a raise from ~400 to ~173000 cs -
so this is noticeably better.
similar things happen with other "hogs" (idle state is always ~400 cs on host, cs rate
is from vmstat output on the host) :
"while true; do /bin/true; done"
host: ~ 2000
uml: ~ 24000
uml-sysemu: ~ 17000
"while true; do find /; done"
host: up to ~ 24000 (alternating very much - didn`t measure average value)
uml: up to ~ 60000 ( " )
uml-sysemu: up to ~ 48000 ( " )
"dd if=/dev/urandom of=/dev/null"
host: no noticeably differnce
uml: ~ 16000
uml-sysemu ~ 8500
regards
roland
----- Original Message -----
From: "Henrik Nordstrom" <uml@hno.marasystems.com>
To: "roland" <for_spam@gmx.de>
Cc: "Laurent Vivier" <LaurentVivier@wanadoo.fr>; "Jeff Dike" <jdike@addtoit.com>; <user-mode-linux-devel@lists.sourceforge.net>
Sent: Thursday, May 20, 2004 4:12 PM
Subject: Re: [uml-devel] [PATCH] host context switch reduction
> On Thu, 20 May 2004, roland wrote:
>
> > if i run a getpid-loop inside one uml, the other uml`s behaviour becomes
> > quite sluggish - this doesn`t seem to have a relation to laurents patch - i
> > just recognized this for the first time, because i never did getpid-loops
> > inside a uml. :)
>
> I would suspect this is due to the high dependency on context switching by
> UML in system calls.. but I do not have a clearcut explanation.
>
> What can be said is that applications running on the host is by far not as
> dependent on context switching responsiveness to "feel good", and a CPU
> hog in one UML does not cause any noticeable amount of extra context
> switches, not much different from a CPU hog on the host in terms of
> performance.
>
> Regards
> Henrik
>
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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:[~2004-05-20 15:20 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-29 4:35 [uml-devel] [PATCH] host context switch reduction Jeff Dike
2004-02-29 16:48 ` BlaisorBlade
2004-03-15 11:42 ` Sven 'Darkman' Michels
2004-03-15 19:13 ` Jeff Dike
2004-05-17 20:08 ` roland
2004-05-17 22:00 ` Laurent Vivier
2004-05-17 22:22 ` roland
2004-05-18 17:59 ` Jeff Dike
2004-05-19 17:27 ` Laurent Vivier
2004-05-19 18:01 ` roland
2004-05-19 18:17 ` Laurent Vivier
2004-05-19 19:39 ` roland
2004-05-19 19:49 ` Laurent Vivier
2004-05-20 2:30 ` roland
2004-05-20 12:49 ` Laurent Vivier
2004-05-23 0:42 ` [uml-devel] [PATCH] commandline switch for sysemu patch roland
2004-05-23 13:31 ` [uml-devel] [PATCH] host context switch reduction roland
2004-05-19 23:54 ` Jeff Dike
2004-05-20 1:01 ` roland
2004-05-20 14:12 ` Henrik Nordstrom
2004-05-20 15:27 ` roland [this message]
2004-05-20 15:35 ` Henrik Nordstrom
2004-05-19 22:40 ` Nuno Silva
2004-05-20 18:28 ` roland
2004-05-20 18:47 ` Henrik Nordstrom
2004-05-27 6:16 ` Christopher S. Aker
2004-05-27 8:22 ` Laurent Vivier
2004-05-27 9:25 ` Christopher S. Aker
2004-05-27 11:50 ` Laurent Vivier
2004-05-28 4:53 ` [uml-devel] [PATCH] host context switch reduction Benchmarks Christopher S. Aker
-- strict thread matches above, loose matches on Subject: below --
2004-05-20 2:34 [uml-devel] [PATCH] host context switch reduction roland
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='00c801c43e7e$f0262690$2000000a@schlepptopp' \
--to=for_spam@gmx.de \
--cc=LaurentVivier@wanadoo.fr \
--cc=jdike@addtoit.com \
--cc=uml@hno.marasystems.com \
--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