From: Tommi Virtanen <tommi.virtanen@dreamhost.com>
To: Colin McCabe <cmccabe@alumni.cmu.edu>
Cc: Gregory Farnum <gregf@hq.newdream.net>,
Tomasz Chmielewski <mangoo@wpkg.org>,
Wido den Hollander <wido@widodh.nl>,
ceph-devel@vger.kernel.org
Subject: Re: Ceph on just two nodes being clients - reasonable?
Date: Wed, 19 Jan 2011 12:03:49 -0800 [thread overview]
Message-ID: <20110119200349.GA753@dreamer> (raw)
In-Reply-To: <AANLkTikFWk_p0=c1_o__2EmPS7t-=Ua68cLWGNS9badB@mail.gmail.com>
On Wed, Jan 19, 2011 at 09:55:27AM -0800, Colin McCabe wrote:
> If you knew what the maximum memory consumption for the daemons would
> be, you could use mlock to lock all those pages into memory (make them
> unswappable.) Then you could use rlimit to ensure that if the daemon
> ever tried to allocate more than that, it would be killed.
The classic nfs loopback mount deadlock is less about how much memory
the daemons are grabbing via malloc etc, and more about the buffer
cache management in kernel.
With a "loopback ceph", pressure from activity on the kernel ceph
client mountpoint might interact badly with the buffer cache the OSD
needs to work well, whether the OSD userspace tries to limit itself or
not.
It's one of those "it'll work until you have a bad day" things.
http://www.webservertalk.com/archive242-2007-10-2051163.html
https://bugzilla.redhat.com/show_bug.cgi?id=489889
http://lkml.org/lkml/2006/12/14/448
http://docs.google.com/viewer?a=v&q=cache:ONtIKJFSC7QJ:https://tao.truststc.org/Members/hweather/advanced_storage/Public%2520resources/network/nfs_user+nfs+loopback+deadlock+linux&hl=en&gl=us&pid=bl&srcid=ADGEESgpaVYYNoh2pmvPVQ9I_bpLLcoF3GJIMKavomIHNgTb-cbii6RVtWg28poJKdHBqQgKGXzVA2NOsC25FtWMP3yywTfNkX9N26IrKVIcVA9eRz6ZGBx1_Ur0JerUrfBQlPcmcBBz&sig=AHIEtbSjGX_hCVny345iFSq7WKBvxNZmIw
(slide 5)
--
:(){ :|:&};:
next prev parent reply other threads:[~2011-01-19 20:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-19 10:33 Ceph on just two nodes being clients - reasonable? Tomasz Chmielewski
2011-01-19 11:30 ` DongJin Lee
2011-01-19 11:41 ` Wido den Hollander
2011-01-19 11:55 ` would you recommend me a solution to store xen-imgfile Longguang Yue
2011-01-19 17:06 ` Sage Weil
2011-01-19 12:14 ` Ceph on just two nodes being clients - reasonable? Tomasz Chmielewski
2011-01-19 15:57 ` Gregory Farnum
2011-01-19 16:21 ` Tomasz Chmielewski
2011-01-19 17:55 ` Colin McCabe
2011-01-19 20:03 ` Tommi Virtanen [this message]
2011-01-19 21:09 ` Colin McCabe
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=20110119200349.GA753@dreamer \
--to=tommi.virtanen@dreamhost.com \
--cc=ceph-devel@vger.kernel.org \
--cc=cmccabe@alumni.cmu.edu \
--cc=gregf@hq.newdream.net \
--cc=mangoo@wpkg.org \
--cc=wido@widodh.nl \
/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.