9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Kernel panic when allocating a huge memory
Date: Sat,  3 Nov 2012 13:57:10 -0400	[thread overview]
Message-ID: <e9355a257521877035b6cc707c175849@kw.quanstro.net> (raw)
In-Reply-To: <20121103174555.GA96072@intma.in>

>
> This makes more sense.  However, if your hypervisor is swapping, you've
> screwed up your planning.  RAM oversubscription is the reason most
> dime-store VPS services suck really badly.  I leave swapping to the
> guest OS, since that's where malloc is being called.

i'm not a big vm guy, but i do know that oversubscription is a big problem.

however, i think that queuing theory in general says that one queue with global
sorting beats n smaller queues with local sorting.  i think this is sometimes called the
checkout-line problem.

other factors, like global knowledge of memory use stats and page duplication
should put the vm in an even better position than general queueing theory
would suggest to make decisions on what pages to move to disk wrt. global
(that is total machine) throughput.

do you have a reference that demonstrates or derives that a similarly-loaded
machine can perform better with all the guests swapping indepdently and
the vm not swapping, rather than preventing the guests from swapping and
letting the vm swap?

- erik



  reply	other threads:[~2012-11-03 17:57 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02  9:50 [9fans] Kernel panic when compiling Go on native Plan 9 Pavel Klinkovsky
2012-11-02 10:56 ` Pavel Klinkovsky
2012-11-02 11:59   ` Richard Miller
2012-11-02 13:04     ` erik quanstrom
2012-11-02 12:19   ` Anthony Martin
2012-11-02 13:39   ` Pavel Klinkovsky
2012-11-02 13:51     ` Richard Miller
2012-11-02 13:57       ` erik quanstrom
2012-11-02 15:25         ` Richard Miller
2012-11-02 16:42           ` cinap_lenrek
2012-11-02 14:16     ` Pavel Klinkovsky
2012-11-02 13:39 ` Pavel Klinkovsky
2012-11-02 14:00   ` erik quanstrom
2012-11-02 14:39     ` Anthony Martin
2012-11-02 15:13       ` erik quanstrom
2012-11-02 16:44     ` steve
2012-11-02 15:21 ` Pavel Klinkovsky
2012-11-02 16:03 ` Pavel Klinkovsky
2012-11-02 17:07   ` Skip Tavakkolian
2012-11-02 17:09     ` erik quanstrom
2012-11-02 16:19 ` [9fans] Kernel panic when allocating a huge memory Pavel Klinkovsky
2012-11-02 16:29   ` erik quanstrom
2012-11-02 17:36 ` Pavel Klinkovsky
2012-11-02 18:36   ` John Floren
2012-11-02 18:52     ` erik quanstrom
2012-11-02 19:09   ` Skip Tavakkolian
2012-11-02 19:18     ` erik quanstrom
2012-11-02 20:28       ` Charles Forsyth
2012-11-03  5:43         ` pmarin
2012-11-03  6:53           ` steve
2012-11-03  6:56             ` erik quanstrom
2012-11-03  9:16             ` Charles Forsyth
2012-11-03 10:02               ` lucio
2012-11-03 15:40               ` erik quanstrom
2012-11-03 15:50                 ` Charles Forsyth
2012-11-03 16:31                 ` Kurt H Maier
2012-11-03 16:33                   ` erik quanstrom
2012-11-03 16:46                     ` hiro
2012-11-03 16:51                     ` Kurt H Maier
2012-11-03 17:04                       ` erik quanstrom
2012-11-03 17:13                         ` Kurt H Maier
2012-11-03 17:22                           ` Dan Cross
2012-11-03 17:28                             ` Kurt H Maier
2012-11-03 17:38                               ` hiro
2012-11-03 21:29                             ` Steve Simon
2012-11-03 17:40                           ` erik quanstrom
2012-11-03 17:45                             ` Kurt H Maier
2012-11-03 17:57                               ` erik quanstrom [this message]
2012-11-03 18:06                                 ` Kurt H Maier
2012-11-03 18:48                                 ` Charles Forsyth
2012-11-04 14:02                                   ` erik quanstrom
2012-11-04 14:18                                     ` hiro
2012-11-04 14:58                                       ` Charles Forsyth
2012-11-04 18:57                                         ` Bakul Shah
2012-11-04 14:54                                     ` Charles Forsyth
2012-11-04 16:14                                   ` Martin Harriss
2012-11-04 16:18                                     ` Charles Forsyth
2012-11-04 16:27                                   ` tlaronde
2012-11-04 19:17                                     ` tlaronde
2012-11-03 21:15                         ` hiro
2012-11-03 16:55                   ` balaji
2012-11-03 17:05                 ` Matthew Veety
2012-11-02 17:42 ` [9fans] Kernel panic when compiling Go on native Plan 9 Pavel Klinkovsky
2012-11-05 13:33 ` [9fans] Kernel panic when allocating a huge memory Pavel Klinkovsky
2012-11-05 13:50   ` erik quanstrom
2012-11-05 15:56     ` Pavel Klinkovsky
2012-11-05 13:51   ` cinap_lenrek
2012-11-05 15:56     ` Pavel Klinkovsky

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=e9355a257521877035b6cc707c175849@kw.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).