From: Joe Thornber <thornber@redhat.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: dm-devel@redhat.com, "Alasdair G. Kergon" <agk@redhat.com>
Subject: Re: new dm-bufio
Date: Tue, 23 Aug 2011 12:30:48 +0100 [thread overview]
Message-ID: <20110823113048.GC5442@ubuntu> (raw)
In-Reply-To: <Pine.LNX.4.64.1108221600510.26651@hs20-bc2-1.build.redhat.com>
On Mon, Aug 22, 2011 at 04:05:28PM -0400, Mikulas Patocka wrote:
> I uploaded new dm-bufio patch at
> http://people.redhat.com/mpatocka/patches/kernel/dm-thinp-bufio/dm-bufio.patch
>
> It reports the number of allocated bytes in
> "/sys/module/dm_bufio/parameters/". There is a file "total_allocated" that
> contains the number of bytes allocated for buffer cache. There are files
> "allocated_get_free_pages", "allocated_kmalloc", "allocated_vmalloc" that
> contain a number of allocated bytes with each method.
>
> BTW. if you store "1" in "cache_size", it switches to a mode where it
> won't allocate any memory during operation, relying only on preallocated
> reserves --- useful for testing reservation deadlocks.
Great stuff, will merge straight away.
Are these stats broken down by bufio client? ie. can we tell which pool/thinps are consuming all the space?
Would it be possible to record a high watermark as well? This would
be very useful for benchmarking. eg, we'd run a heavy load, then be
able to get the peak memory usage. (Resetting this hwm would also be useful).
- Joe
next prev parent reply other threads:[~2011-08-23 11:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 20:05 new dm-bufio Mikulas Patocka
2011-08-23 11:30 ` Joe Thornber [this message]
2011-08-23 11:44 ` Alasdair G Kergon
2011-08-23 14:16 ` Mikulas Patocka
2011-08-23 18:54 ` Christoph Hellwig
2011-08-29 18:53 ` Mikulas Patocka
2011-08-29 18:53 ` [dm-devel] " Mikulas Patocka
2011-08-30 1:49 ` [xfs-masters] " Dave Chinner
2011-08-30 1:49 ` [xfs-masters] [dm-devel] " Dave Chinner
2011-08-30 5:27 ` [xfs-masters] " Christoph Hellwig
2011-08-30 5:27 ` [xfs-masters] [dm-devel] " Christoph Hellwig
2011-08-24 11:13 ` Joe Thornber
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=20110823113048.GC5442@ubuntu \
--to=thornber@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=mpatocka@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.