xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir.fraser@eu.citrix.com>
Subject: RE: tmem - really default to on?
Date: Mon, 01 Feb 2010 08:16:11 +0000	[thread overview]
Message-ID: <4B669BDB020000780002CEFC@vpn.id2.novell.com> (raw)
In-Reply-To: <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default>

>>> Dan Magenheimer <dan.magenheimer@oracle.com> 29.01.10 21:03 >>>
>I don't see how tmem could be causing this problem because it shouldn't
>even be in use (even with tmem=1) unless the domains in use call it.

We have the tmem kernel side patch in place, so any domain using our
kernel and a tmem-enabled file system would (potentially) use it.

>And the tmem code that limits to single page allocation should IIRC
>only be invoked once all system memory has been absorbed (which
>I suppose could be the case for dom0 when dom0_mem is not specified?)

Or if enough VMs had been created to consume all freely available
(outside of tmem) memory.

As said in the original mail - we have seen systems with more than 2G
"freeable" memory still causing domain creation to fail with "not enough
memory".

>I *think* maybe non-pvops dom0 has it on, but pvops almost certainly
>does not.

Correct - and our kernel is non-pvops.

>Rather than turn it off in Xen, maybe best solution is to turn it
>off in non-pvops dom0, at least by default.  Or really there's
>no reason it needs to be on for dom0 at all, so Xen code could
>check for dom0 and disable it if dom0.

I don't know that much about tmem, but why would Dom0 not benefit
from it being enabled if there's memory available in Xen?

Jan

  parent reply	other threads:[~2010-02-01  8:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  9:41 tmem - really default to on? Jan Beulich
     [not found] ` <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default>
2010-02-01  8:16   ` Jan Beulich [this message]
2010-02-04 21:01     ` Dan Magenheimer
2010-02-05  8:39       ` Jan Beulich
2010-02-05 18:44         ` Dan Magenheimer
2010-02-08  8:33           ` Jan Beulich
2010-02-08 17:18             ` Dan Magenheimer
2010-02-08 18:30               ` Dan Magenheimer
2010-02-09  9:25                 ` Jan Beulich
2010-02-09  9:30                   ` Keir Fraser
2010-02-09 15:43                     ` Dan Magenheimer
2010-02-09  9:10               ` Jan Beulich
2010-02-09 10:45               ` Tim Deegan
2010-02-09 13:00                 ` Jan Beulich
2010-02-09 13:31                   ` Keir Fraser
2010-02-09 13:59                     ` Tim Deegan
2010-02-09 16:07                       ` Dan Magenheimer

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=4B669BDB020000780002CEFC@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=keir.fraser@eu.citrix.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 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).