bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6524: du now uses less than half as much memory, sometimes


From: Pádraig Brady
Subject: bug#6524: du now uses less than half as much memory, sometimes
Date: Mon, 28 Jun 2010 02:15:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 27/06/10 23:09, Jim Meyering wrote:
> FYI,
> This is just a preliminary heads-up.  At least one detail must be
> addressed before I push: I haven't written justification for the
> change to hash.c (I confess that I don't remember -- parts of this
> change date back to Dec 2008 ;-)

I tried to test the speed of this compared to the original,
but got a consistent abort() after doing:

cd /other/dev/gcc
cp -al gcc-4.5.0 gcc-4.5.0.hl
cd ~/git/coreutils
./src/du -hs /other/dev/gcc

Setting breakpoint at hash.c:1077 is just before it calls abort()
  hash_find_entry (table=0x8060ac8, entry=0x810201dd, bucket_head=0xbfffef9c, 
delete=false) at hash.c:788
    di_ent_compare (x=0x810201dd, y=0x81fc7a95) == true

shout if you need anything else.
cheers,
Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]