All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Post <echo@echoreply.us>
To: Luke S Crawford <lsc@prgmr.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>,
	Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Distro kernel and 'virtualization server' vs. 'server that sometimes runs virtual instances' rant (was: Re: Re: [GIT PULL] Xen APIC hooks (with io_apic_ops))
Date: Mon, 01 Jun 2009 00:44:49 +0800	[thread overview]
Message-ID: <1243788289.5369.33.camel@localhost.localdomain> (raw)
In-Reply-To: <m3skimz4lt.fsf@luke.xen.prgmr.com>

On Sat, 2009-05-30 at 17:02 -0400, Luke S Crawford wrote:

> I keep saying, Pagecache is not idle ram.   Pagecache is essential to the
> perception of acceptable system performance.  I've tried selling service
> (on 10K fibre disk, no less) with shared pagecache, and by all reasonable
> standards, performance was unacceptable.

I've never seen automatic overcommitment work out in a way that everyone
was happy in the hosting industry. You are 100% correct, by default
Linux is like pac man gobbling up blocks for cache.

However, this is partly because even most well written services and
applications neglect to advise the kernel to do anything different.
posix_madvise() and posix_fadvise() do not see the light of day nearly
as often as they should. Are you parsing some m4 generated configuration
file that's just under or north of the system page size? You'd then want
to tell the kernel "Hey, I only need this once .. " prior to even
talking to read(). Yet I see people going hog wild with O_DIRECT because
they think its supposed to make things faster. 

On enterprise systems (i.e. not hosting web sites and databases that are
created by others and uploaded), this is less of a hassle and a bit
easier to manage. You _know_ better than to make 1500 static HTML pages
360K long each and put them where Google can access them. You _know_
better than to mix services that allocate 20x more than they actually
need on the same host. You're able to adjust your swappiness on a whole
group of domains instantly from a central place. Finally, your able to
patch your services so they better suit your goals.

What Dan is describing is very useful, but not to IAAS providers. Like I
said before, I would not flip a switch to AUTO on any server that is
providing the use of a VM to a customer. However , customers do get
e-mails saying "You bought 1 GB, on average this month you've used only
xxx (detail averages sampled through /proc and sysinfo()) you may wish
to switch to a cheaper plan". Sound nuts? It actually makes more money,
because our density per server goes up quite a bit.

So in a large way, I think Dan is correct. If a client bought the use of
memory and barely uses it, I'd rather give them a discount for giving
some back, enabling me to set up another domain on that node. But don't
get me wrong, I'd never dream of doing that 'automagically' :)

Cheers,
--Tim

  reply	other threads:[~2009-05-31 16:44 UTC|newest]

Thread overview: 184+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 23:25 [GIT PULL] Xen APIC hooks (with io_apic_ops) Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 01/17] xen/dom0: handle acpi lapic parsing in Xen dom0 Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 02/17] x86: add io_apic_ops to allow interception Jeremy Fitzhardinge
2009-05-25  3:54   ` Ingo Molnar
2009-05-25  3:54     ` Ingo Molnar
2009-05-27  7:17     ` Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 03/17] xen: implement io_apic_ops Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 04/17] xen: create dummy ioapic mapping Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 05/17] xen: implement pirq type event channels Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 06/17] x86/io_apic: add get_nr_irqs_gsi() Jeremy Fitzhardinge
2009-05-12 23:25   ` Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 07/17] xen/apic: identity map gsi->irqs Jeremy Fitzhardinge
2009-05-12 23:25   ` Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 08/17] xen: direct irq registration to pirq event channels Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 09/17] xen: bind pirq to vector and event channel Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 10/17] xen: pre-initialize legacy irqs early Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 11/17] xen: don't setup acpi interrupt unless there is one Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 12/17] xen: use acpi_get_override_irq() to get triggering for legacy irqs Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 13/17] xen: initialize irq 0 too Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 14/17] xen: dynamically allocate irq & event structures Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 15/17] xen: set pirq name to something useful Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 16/17] xen: fix legacy irq setup, make ioapic-less machines work Jeremy Fitzhardinge
2009-05-12 23:25 ` [PATCH 17/17] xen: disable MSI Jeremy Fitzhardinge
2009-05-19 12:35 ` [GIT PULL] Xen APIC hooks (with io_apic_ops) Ingo Molnar
2009-05-19 12:35   ` Ingo Molnar
2009-05-20 17:57   ` Jeremy Fitzhardinge
2009-05-20 17:57     ` Jeremy Fitzhardinge
2009-05-25  4:10     ` Ingo Molnar
2009-05-25  4:10       ` Ingo Molnar
2009-05-26 12:46       ` [Xen-devel] " George Dunlap
2009-05-26 12:46         ` George Dunlap
2009-05-26 18:26         ` [Xen-devel] " Avi Kivity
2009-05-26 18:26           ` Avi Kivity
2009-05-26 19:18           ` [Xen-devel] " Dan Magenheimer
2009-05-26 19:18             ` Dan Magenheimer
2009-05-26 19:41             ` [Xen-devel] " Avi Kivity
2009-05-26 19:41               ` Avi Kivity
2009-05-28  0:13             ` [Xen-devel] " Ingo Molnar
2009-05-28  0:13               ` Ingo Molnar
2009-05-28  0:49               ` [Xen-devel] " Jeremy Fitzhardinge
2009-05-28  0:49                 ` Jeremy Fitzhardinge
2009-05-28  3:47               ` [Xen-devel] " Dan Magenheimer
2009-05-28 12:03                 ` Distro kernel and 'virtualization server' vs. 'server that sometimes runs virtual instances' rant (was: Re: Re: [GIT PULL] Xen APIC hooks (with io_apic_ops)) Luke S Crawford
2009-05-28 13:39                   ` Tim Post
2009-05-28 22:23                     ` Luke S Crawford
2009-05-29  1:00                       ` Tim Post
2009-05-29  8:31                         ` Tim Post
2009-05-29  9:49                           ` George Dunlap
2009-05-29 13:42                       ` Dan Magenheimer
2009-05-30 21:02                         ` Luke S Crawford
2009-05-31 16:44                           ` Tim Post [this message]
2009-05-31 17:00                             ` Tim Post
2009-05-31 19:48                               ` Dan Magenheimer
2009-06-02  0:15                                 ` Luke S Crawford
2009-06-01 18:04                           ` Dan Magenheimer
2009-05-30  1:10                     ` Distro kernel and 'virtualization server' vs. 'server that sometimes runs virtual instances' rant Michael David Crawford
2009-05-28 14:26               ` [Xen-devel] Re: [GIT PULL] Xen APIC hooks (with io_apic_ops) George Dunlap
2009-05-28 14:26                 ` George Dunlap
2009-05-29  0:45               ` Xen is a feature Jeremy Fitzhardinge
2009-05-29  0:45                 ` Jeremy Fitzhardinge
2009-05-29  1:27                 ` Greg KH
2009-05-29  4:05                 ` David Miller
2009-05-29  6:37                   ` Jaswinder Singh Rajput
2009-05-29  6:51                     ` David Miller
2009-05-29 12:01                   ` George Dunlap
2009-05-29 12:01                     ` George Dunlap
2009-05-29 14:14                     ` Pasi Kärkkäinen
2009-05-29 14:14                       ` Pasi Kärkkäinen
2009-05-29 21:29                       ` David Miller
2009-05-29 18:34                     ` Andi Kleen
2009-05-29 21:31                       ` [Xen-devel] " Jeremy Fitzhardinge
2009-05-29 21:31                         ` Jeremy Fitzhardinge
2009-05-29 23:09                       ` [Xen-devel] " Nakajima, Jun
2009-05-29 23:09                         ` Nakajima, Jun
2009-05-29 23:26                         ` [Xen-devel] " Jeremy Fitzhardinge
2009-05-29 23:26                           ` Jeremy Fitzhardinge
2009-06-02 15:23                     ` Thomas Gleixner
2009-06-02 15:23                       ` Thomas Gleixner
2009-06-02 16:41                       ` George Dunlap
2009-06-02 16:41                         ` George Dunlap
2009-06-02 17:28                         ` Chris Friesen
2009-06-02 17:28                           ` Chris Friesen
2009-06-02 17:46                         ` Linus Torvalds
2009-06-02 17:46                           ` Linus Torvalds
2009-06-02 18:02                           ` Linus Torvalds
2009-06-02 18:02                             ` Linus Torvalds
2009-06-02 18:59                             ` Avi Kivity
2009-06-02 18:59                               ` Avi Kivity
2009-06-07  9:13                               ` Ingo Molnar
2009-06-07  9:13                                 ` Ingo Molnar
2009-06-07 10:01                                 ` Avi Kivity
2009-06-07 10:01                                   ` Avi Kivity
2009-06-07 10:35                                   ` Ingo Molnar
2009-06-07 10:35                                     ` Ingo Molnar
2009-06-07 12:46                                     ` Avi Kivity
2009-06-07 12:46                                       ` Avi Kivity
2009-06-07 13:02                                       ` Jaswinder Singh Rajput
2009-06-07 13:02                                         ` Jaswinder Singh Rajput
2009-06-04 14:02                           ` [Xen-users] " Thomas Goirand
2009-06-04 14:02                             ` Thomas Goirand
2009-06-02 18:59                         ` Thomas Gleixner
2009-06-02 18:59                           ` Thomas Gleixner
2009-06-03 19:49                       ` Bill Davidsen
2009-06-03 19:49                         ` Bill Davidsen
2009-06-03 20:20                         ` Thomas Gleixner
2009-06-03 20:20                           ` Thomas Gleixner
2009-06-03 22:37                           ` Bill Davidsen
2009-06-03 22:37                             ` Bill Davidsen
2009-06-03 23:29                             ` Frans Pop
2009-06-04 13:21                               ` George Dunlap
2009-06-04 13:21                                 ` George Dunlap
2009-06-04 15:10                                 ` Theodore Tso
2009-06-04 15:10                                   ` Theodore Tso
2009-06-04 15:31                                 ` Chris Friesen
2009-06-04 15:31                                   ` Chris Friesen
2009-06-05  4:14                               ` Bill Davidsen
2009-06-05  4:55                                 ` Chris Friesen
2009-06-02 22:40                     ` Steven Rostedt
2009-06-02 22:40                       ` Steven Rostedt
2009-06-02 23:28                       ` Merge Xen (the hypervisor) into Linux Ingo Molnar
2009-06-02 23:28                         ` Ingo Molnar
2009-06-03  0:00                         ` Dan Magenheimer
2009-06-03  0:32                           ` Thomas Gleixner
2009-06-03  2:43                           ` Theodore Tso
2009-06-03  3:42                             ` Steven Rostedt
2009-06-03  4:49                               ` Dan Magenheimer
2009-06-03  4:58                                 ` David Miller
2009-06-03  5:07                                   ` Steven Rostedt
2009-06-03  5:22                                 ` Steven Rostedt
2009-06-03 12:03                                   ` George Dunlap
2009-06-03 12:03                                     ` George Dunlap
2009-06-03 19:05                                     ` Theodore Tso
2009-06-03 19:05                                       ` Theodore Tso
2009-06-03 21:49                                       ` Samuel Thibault
2009-06-04 13:43                                       ` [Xen-users] " Florian Manschwetus
2009-06-04 14:03                                         ` Steven Rostedt
2009-06-04 14:03                                           ` Steven Rostedt
2009-06-03  7:28                             ` Gerd Hoffmann
2009-06-03  8:47                               ` Alan Cox
2009-06-03  9:09                                 ` Gerd Hoffmann
2009-06-03  9:20                                   ` Keir Fraser
2009-06-03  9:20                                     ` Keir Fraser
2009-06-03 11:15                                   ` Theodore Tso
2009-06-03 11:39                                     ` Keir Fraser
2009-06-03 11:39                                       ` Keir Fraser
2009-06-03 11:41                                     ` Gerd Hoffmann
2009-06-03 11:41                                     ` Gerd Hoffmann
2009-06-03  7:28                             ` Gerd Hoffmann
2009-06-03  1:00                         ` Joel Becker
2009-06-03  1:00                           ` Joel Becker
2009-06-03  2:00                           ` david
2009-06-03  2:00                             ` david
2009-06-03  7:59                           ` Alan Cox
2009-06-03  7:59                             ` Alan Cox
2009-06-03  8:07                         ` Christian Tramnitz
2009-06-04 18:53                           ` Linus Torvalds
2009-06-05  0:09                             ` Samuel Thibault
2009-06-05  0:09                               ` Samuel Thibault
2009-06-05  0:18                               ` David Miller
2009-06-05  0:54                               ` Linus Torvalds
2009-06-05  0:54                                 ` Linus Torvalds
2009-06-03 17:31                         ` Chris Friesen
2009-06-03 17:31                           ` Chris Friesen
2009-06-03 17:36                           ` Alan Cox
2009-06-03 17:36                             ` Alan Cox
2009-06-02 23:41                       ` Xen is a feature Thomas Gleixner
2009-06-02 23:41                         ` Thomas Gleixner
2009-05-30  2:19                 ` [Xen-devel] " Andy Burns
2009-05-26 21:19         ` [Xen-devel] Re: [GIT PULL] Xen APIC hooks (with io_apic_ops) Gerd Hoffmann
2009-05-26 21:19           ` Gerd Hoffmann
2009-05-27 10:14           ` [Xen-devel] " George Dunlap
2009-05-27 10:14             ` George Dunlap
2009-05-24 20:10   ` Avi Kivity
2009-05-24 20:10     ` Avi Kivity
2009-05-25  3:51     ` Ingo Molnar
2009-05-25  3:51       ` Ingo Molnar
2009-05-25  4:55       ` Avi Kivity
2009-05-25  4:55         ` Avi Kivity
2009-05-25  5:06         ` Ingo Molnar
2009-05-25  5:06           ` Ingo Molnar
2009-05-25  5:12           ` Avi Kivity
2009-05-25  5:12             ` Avi Kivity
2009-05-25  5:19             ` Ingo Molnar
     [not found] <d3a0a7ef-e6d5-4959-b7ca-133443e527dd@default>
2009-05-28 21:40 ` Distro kernel and 'virtualization server' vs. 'server that sometimes runs virtual instances' rant (was: Re: Re: [GIT PULL] Xen APIC hooks (with io_apic_ops)) Luke S Crawford

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=1243788289.5369.33.camel@localhost.localdomain \
    --to=echo@echoreply.us \
    --cc=dan.magenheimer@oracle.com \
    --cc=lsc@prgmr.com \
    --cc=xen-devel@lists.xensource.com \
    /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.