All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Bloch <matthew@bytemark.co.uk>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: user-mode-linux-user@lists.sourceforge.net
Subject: [uml-devel] Re: [uml-user] Network lags
Date: Fri, 16 Apr 2004 16:12:30 +0100	[thread overview]
Message-ID: <c5ot4u$hj5$1@sea.gmane.org> (raw)
In-Reply-To: <000801c422e1$783f8030$1400a8c0@DAVIDVAIO>

David Cannings wrote:
>>>Anyone else who's running lots of UMLs with interactive sessions may have
>>>noticed the following symptoms which this patch cures:
>>>
>>>  * irregular ping times to UMLs-- huge delay for the first ping, a few
>>>      normal, a couple of long delays etc.;
> 
> The huge delay is often related to ARP, a fundamental part of 802.3/true
> ethernet.

Indeed, but when logging back on to an ssh session etc. it's very 
irritating for customers to find their machine takes seconds to "wake 
up" while the 2.4 kernel swaps stuff back in.

[snip]
> The problem with "just activating that option" is that many people will do
> it blindly, unaware of the serious implications it could have to their host.
> Whilst mlocking an area of memory may not affect you now, or in the next ten
> minutes, it could cause trouble in three weeks when you start doing
> something on the host that is memory intensive.  In the last three years of
> running a remote server I have only had to turn up on site to fix it twice.
> Both were very silly things, one that I'd "just activated" to see what it
> would do.  It cost me a rather expensive journey half way across the country
> to fix.

Since writing that post back in October, we've deployed the mlock patch 
across two rackfuls of hosts, and we've never had a host kernel "just 
crash" (well we have, but that was down to something else <g>): longest 
uptime on one group of our hosts is 100 days.  Yes it was experimental 
but we did a bit of testing first.

 From this experience; I would disagree that using lots of mlocked 
memory inherently destabilises the machine.  I'm sure it *can* but this 
goes for a lot of things.

[snip]
> The idea behind UML is to create a separate environment from the host,
> constructing a UML kernel that can interfere so badly with the host is the
> total opposite.

It's very easy for a UML kernel to trash the host, and I'm not sure 
anyone knows what "the idea behind UML" is :-)

I can see Jeff's point about the mlock patch despite the fact that it 
solved a major problem for us with deploying UML in a hosting 
environment.  Jeff's proposed new memory management features will give 
us more flexibility than my simple on/off mlock patch, and allows him to 
wash his hands of these grubby management decisions.

cheerio,

-- 
Matthew Bloch                             Bytemark Hosting
                         http://www.bytemark-hosting.co.uk/
                 phone UK: 0845 004 3 004 US: 1-877 BYTEMAR
           Dedicated Linux hosts from 15ukp ($26) per month



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

  parent reply	other threads:[~2004-04-16 15:30 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
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 [this message]
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='c5ot4u$hj5$1@sea.gmane.org' \
    --to=matthew@bytemark.co.uk \
    --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 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.