[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large
From: |
Jim Meyering |
Subject: |
Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories |
Date: |
Sat, 20 Aug 2011 08:16:20 +0200 |
Erik Auerswald wrote:
> there is a typo in the NEWS entry:
>
> On Fri, Aug 19, 2011 at 06:24:46PM +0200, Jim Meyering wrote:
>> [...]
>> + fts-using tools (rm, du, chmod, chgrp, chown, chcon) no longer use memory
>> + proportional to the number of entries in each directory they process.
>> + Before, rm -rf 4-million-entry-directory would consume about 1GiB of
>> memory.
>> + Now, it uses less than 30GB, no matter how many entries there are.
Thanks!
I've fixed it with this:
>From 423b079f5324b9097d487e752b71a8399b970ba9 Mon Sep 17 00:00:00 2001
From: Erik Auerswald <address@hidden>
Date: Sat, 20 Aug 2011 08:12:31 +0200
Subject: [PATCH] doc: correct typo in yesterday's NEWS entry: 30GB -> 30MB
* NEWS: s/30GB/30MB/
---
NEWS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index b356a03..569c33b 100644
--- a/NEWS
+++ b/NEWS
@@ -20,7 +20,7 @@ GNU coreutils NEWS -*-
outline -*-
fts-using tools (rm, du, chmod, chgrp, chown, chcon) no longer use memory
proportional to the number of entries in each directory they process.
Before, rm -rf 4-million-entry-directory would consume about 1GiB of memory.
- Now, it uses less than 30GB, no matter how many entries there are.
+ Now, it uses less than 30MB, no matter how many entries there are.
[this bug was inherent in the use of fts: thus, for rm the bug was
introduced in coreutils-8.0. The prior implementation of rm did not use
as much memory. du, chmod, chgrp and chown started using fts in 6.0.
--
1.7.6.857.gf34cf
- [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Jim Meyering, 2011/08/19
- Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Erik Auerswald, 2011/08/19
- Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories,
Jim Meyering <=
- RE: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Voelker, Bernhard, 2011/08/23
- Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Jim Meyering, 2011/08/23
- RE: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Voelker, Bernhard, 2011/08/23
- Re: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories, Jim Meyering, 2011/08/24
- make check-expensive [was: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories], Bernhard Voelker, 2011/08/24
- Re: make check-expensive [was: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories], Jim Meyering, 2011/08/24
- Re: make check-expensive [was: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories], Bernhard Voelker, 2011/08/24
- Re: make check-expensive [was: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories], Jim Meyering, 2011/08/24
- Re: make check-expensive [was: [PATCH] rm, du, chmod, chown, chgrp: use much less memory for large directories], Bernhard Voelker, 2011/08/24
- [PATCH] tests: mention targets check-expensive/check-very-expensive in test logs, Bernhard Voelker, 2011/08/25