From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: roland <for_spam@gmx.de>
Cc: user-mode-linux-user@lists.sourceforge.net,
user-mode-linux-devel@lists.sourceforge.net,
matthew-list@bytemark.co.uk, michel@pollet.net,
Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] mlock discussion is back - was: Re: [uml-user] odd ping problems
Date: Wed, 2 Jun 2004 12:58:56 +0200 [thread overview]
Message-ID: <200406021258.56597.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <0e6d01c44378$7a05e640$2000000a@schlepptopp>
Alle 01:23, giovedì 27 maggio 2004, roland ha scritto:
> for at least two of the uml-pid`s you should see minor and major pagefaults
> (minflt/majflt) - i would say there is a releationship between those
> pagefaults and the ping delays. (i had turned off swap completely - so my
> host was not able to swap at all!)
That is not very good - if the latency problem comes from UML being swapped
out, why do you disable swapping? Actually there is some "swapping", in a
certain sense, so you could observe the major page faults (major means
"requiring I/O", minor means "no IO": this can happen for COW pages, to mark
as dirty a clean page).
When swapping is disabled, the pages belonging to a memory mapping, that was
not modified since they were read from the disk, can be swapped out.
I.e. the executable pages, actually, are created by mmap'ing the executable;
since they are not modified, they can be removed from memory.
Also the data pages which come from the executable can be treated the same
way, if they are still "clean" (i.e. not modified).
[ I actually checked the code works this way, i.e. if you try to read a global
var, even if it's mmaped with PROT_WRITE, in the page-tables it is marked as
read-only; when you try to write it, it will be marked as read-write and the
page will become dirty. ]
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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-06-02 18:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <pan.2004.05.17.20.30.18.825415@sipsolutions.de>
[not found] ` <016101c442cb$b4ae1b80$0201a8c0@hawk>
[not found] ` <0d5701c44321$6f8649f0$2000000a@schlepptopp>
[not found] ` <002101c4434a$ad9cc5b0$0201a8c0@hawk>
2004-05-26 23:23 ` [uml-devel] mlock discussion is back - was: Re: [uml-user] odd ping problems roland
2004-05-27 15:39 ` roland
2004-05-27 16:00 ` Michel
2004-06-02 10:58 ` BlaisorBlade [this message]
2004-06-03 21:38 ` Henrik Nordstrom
2004-05-27 16:39 ` [uml-devel] " roland
2004-05-27 17:38 ` Johannes Berg
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=200406021258.56597.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=for_spam@gmx.de \
--cc=jdike@addtoit.com \
--cc=matthew-list@bytemark.co.uk \
--cc=michel@pollet.net \
--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