All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: "Theodore Ts'o" <tytso@mit.edu>,
	Ext4 Developers List <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH] resize2fs: radically reduce memory utilization by using rbtree bitmaps
Date: Fri, 25 Jul 2014 13:11:42 -0500	[thread overview]
Message-ID: <53D29DDE.805@redhat.com> (raw)
In-Reply-To: <1406310671-10784-1-git-send-email-tytso@mit.edu>

On 7/25/14, 12:51 PM, Theodore Ts'o wrote:
> When resizing an empty 21T file system to 28T, resize2fs was using
> this much CPU time and memory:
> 
> 216.98user 19.77system 4:02.92elapsed 97%CPU (0avgtext+0avgdata 4485664maxresident)k
> 8inputs+1068680outputs (0major+800745minor)pagefaults 0swaps
> 
> After this one-line change:
> 
> 222.29user 0.49system 3:48.79elapsed 97%CPU (0avgtext+0avgdata 30080maxresident)k
> 8inputs+1068552outputs (0major+2497minor)pagefaults 0swaps
> 
> An extra 14 seconds (+6%) of elapsed time to reduce the memory
> utilization from 4.2GB to 29MB seems like a fair trade.  :-)

especially when it actually looks like 14 *fewer* seconds (-6%) ?

-Eric


  reply	other threads:[~2014-07-25 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25 17:51 [PATCH] resize2fs: radically reduce memory utilization by using rbtree bitmaps Theodore Ts'o
2014-07-25 18:11 ` Eric Sandeen [this message]
2014-07-25 18:14   ` Theodore Ts'o

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=53D29DDE.805@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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.