From: Tom Parker <palfrey@tevp.net>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Using device-mapper with many targets
Date: Sat, 11 Aug 2007 01:53:49 +0200 [thread overview]
Message-ID: <46BCFA8D.4070607@tevp.net> (raw)
In-Reply-To: <46AFA7D0.8040900@tevp.net>
Tom Parker wrote:
> With RAID 1 targets, I can get up to about 600 targets before the whole
> thing seems to lock hard (dmsetup itself gets OOM'ed, and I can't get
> back to the shell or to any other of the virtual terminals). While
> scaling up to that point, I find that for every RAID 1 target,
> device-mapper seems to eat ~.5MB of RAM. The targets themselves are
> currently very small (1MB I think) as this was more a test in many
> targets, rather than in large targets.
I've been trying to investigate this on my own, and ran into the issue
that there's both a dm-raid1.c file in the 2.6.22 kernel, *and* in the
device-mapper CVS. Additionally, the dm-raid1.c in the device-mapper CVS
appears to be out of sync with current kernels. This does raise the
issue of which one I should be investigating regarding the memory issues....
Any good reason why this is? Should I just be looking at the current
kernel versions of that file?
Thanks,
Tom
P.S. If anyone knows any good tools for getting per-module memory usage
(preferably with alloc/free tracing) out of the kernel, I'd love to know
about them. I'm tempted at the moment to go with manual printk adding
just because it's simple and it'll work.
next prev parent reply other threads:[~2007-08-10 23:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 21:21 Using device-mapper with many targets Tom Parker
2007-08-10 23:53 ` Tom Parker [this message]
2007-08-12 14:32 ` Alasdair G Kergon
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=46BCFA8D.4070607@tevp.net \
--to=palfrey@tevp.net \
--cc=dm-devel@redhat.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.