lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 25 Jul 2014 14:14:31 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	Eric Sandeen <sandeen@...hat.com>
Cc:	Ext4 Developers List <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH] resize2fs: radically reduce memory utilization by using
 rbtree bitmaps

On Fri, Jul 25, 2014 at 01:11:42PM -0500, Eric Sandeen wrote:
> 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%) ?

Yeah, I was initially looking at the increase in user time, and then
didn't notice that this was more than compensated by the decrease in
system time (probably due to all of the page faults when dealing with
traditional bitmaps).  Oops.

I'll adjust the comments appropriately.

							- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ