linux-um archives
 help / color / mirror / Atom feed
From: "roland" <for_spam@gmx.de>
To: BlaisorBlade <blaisorblade_spam@yahoo.it>, Jeff Dike <jdike@addtoit.com>
Cc: Joern Bredereck <jb@bw-networx.net>,
	user-mode-linux-user@lists.sourceforge.net,
	user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] uml responsivenes or "AS vs DEADLINE Scheduler on uml-host" - was: [uml-user] Network lags
Date: Tue, 13 Apr 2004 23:26:03 +0200	[thread overview]
Message-ID: <1fb601c4219d$ee592c20$2000000a@schlepptopp> (raw)
In-Reply-To: 200404101428.36306.blaisorblade_spam@yahoo.it

hi!

>1) Well, you switched from AS to deadline and got a significant IO performance
>improvement, which made UML faster since it was Disk-bound. The problem with
>AS is that it uses an heuristic, which assumes sequential reads.
mmhh - i didn`t really recognize that i got a big improvement of i/o performance
in general. i just recognized, that my uml was more responsive to ping (no more
"sendmsg: no buffer space available,no network lags of values like 60s anymore).
btw: my uml didn`t access the disk at all, while answering the pings (why should it?
all that network-stuff happens in uml-kernel space)

>But "find /" is very seeky, so it is slow with AS. So if you remove this bg
>thread, you should get significantly different results.
no - that doesn`t really matter. ok - it took some more time that i got network lags
with my uml and "sendmsg:..."-ping-errors. but the errors were the same and happened
regardless of the 10 parallel "find /" threads, i started on the host.

>Also, AS has had some changes in later kernels, so you should probably upgrade
>your host kernel to the latest version. A security hole (a local exploit to
thats a point. will try that if i find some time. does somebody have some more details
what was changed exactly? (i dont know much about bitkeeper - but maybe i can view the
changelog like in cvs, for every single file?)

>2) In your last email, you speak about hogging the UML CPU. If Jeff guessed
>correctly what happens, then avoiding that UML is idle will decrease the
>worst-case ping response times.
i think he guessed wrong. it doesnt matter if my uml is idle or not - no difference
if i run a vmstat (and some more) inside my uml( i.e. it is not idle) while pinging.
the effect i experience doesnt`t seem to be an effect which is caused by a uml being
swapped out and in again - because i didn`t see a single byte being swapped out/in on
the host. so this effect remains....strange for me.

regards
roland





----- Original Message ----- 
From: "BlaisorBlade" <blaisorblade_spam@yahoo.it>
To: "roland" <for_spam@gmx.de>; "Jeff Dike" <jdike@addtoit.com>
Cc: "Joern Bredereck" <jb@bw-networx.net>; <user-mode-linux-user@lists.sourceforge.net>;
<user-mode-linux-devel@lists.sourceforge.net>; <mingo@elte.hu>
Sent: Saturday, April 10, 2004 2:28 PM
Subject: Re: [uml-devel] uml responsivenes or "AS vs DEADLINE Scheduler on uml-host" - was: [uml-user] Network lags


Alle 20:33, venerdì 9 aprile 2004, roland ha scritto:
> Hi !
> I think i found an interesting "scheduling issue" which led me to switch
> the subject of the thread.

1) Well, you switched from AS to deadline and got a significant IO performance
improvement, which made UML faster since it was Disk-bound. The problem with
AS is that it uses an heuristic, which assumes sequential reads.

But "find /" is very seeky, so it is slow with AS. So if you remove this bg
thread, you should get significantly different results.

Also, AS has had some changes in later kernels, so you should probably upgrade
your host kernel to the latest version. A security hole (a local exploit to
become root) has also been fixed after 2.6.0.

2) In your last email, you speak about hogging the UML CPU. If Jeff guessed
correctly what happens, then avoiding that UML is idle will decrease the
worst-case ping response times.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=ick
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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

  reply	other threads:[~2004-04-13 21:19 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.59.9.0404091209570.10714@hathi.bw-networx.net>
     [not found] ` <185d01c41e23$5996cc00$2000000a@schlepptopp>
2004-04-09 12:47   ` [uml-devel] Re: [uml-user] Network lags roland
2004-04-09 16:26     ` Jeff Dike
2004-04-09 18:33       ` [uml-devel] uml responsivenes or "AS vs DEADLINE Scheduler on uml-host" - was: " roland
2004-04-10 12:28         ` BlaisorBlade
2004-04-13 21:26           ` roland [this message]
2004-04-14  1:02             ` Henrik Nordstrom
     [not found]       ` <c58kbu$el1$1@sea.gmane.org>
2004-04-10 14:08         ` [uml-devel] " Jeff Dike
2004-04-10 14:00           ` Sven Köhler
2004-04-10 17:07             ` Jeff Dike
2004-04-10 21:22               ` Sven Köhler
2004-04-10 23:29                 ` Henrik Nordstrom
2004-04-11  3:45                 ` attriel
2004-04-15  0:31               ` roland
2004-04-15 12:01                 ` David Cannings
     [not found]                   ` <407EADE0.8010308@cox.net>
2004-04-15 21:11                     ` roland
2004-04-16 15:12                   ` Matthew Bloch
2004-04-18 10:54                     ` roland
2004-04-10 14:50           ` [uml-devel] Re: V=R Michael Koehne
2004-04-11 16:54             ` BlaisorBlade
2004-04-11 17:17             ` Nicholas E. Walker
2004-04-10 15:12           ` [uml-devel] Re: [uml-user] Network lags Nicholas E. Walker
2004-04-10 16:46             ` Steven Pritchard
2004-04-10 23:41               ` Henrik Nordstrom

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='1fb601c4219d$ee592c20$2000000a@schlepptopp' \
    --to=for_spam@gmx.de \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=jb@bw-networx.net \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@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