Re: RAM consumption when working with the gcc repo
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Dec 7, 2007, 21:39 UTC
- Message-ID
- <9e4733910712071339o5b1efd37g8ff471e767c0ae76@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.0.99999.0712071529580.555@xanadu.home>
Here's a big clue.
When I repack the 300MB file the process grows to 4.8GB When I repack the 2,000MB file the process grows to 3.3GB
In both cases the last 10% of the repack is taking as much time as the first 90%.
At the end I am packing 60 objects/sec. In the beginning i was packing 1,000s of objects per second.
I'm not swapping
jonsmirl@terra:/video/gcc/.git/objects/pack/foo$ vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 2 0 1416 25668 3904 2756404 0 0 62 45 115 398 6 0 93 1 3 0 1416 26880 3900 2754852 0 0 0 0 414 2453 26 1 73 0 2 0 1416 26880 3900 2754852 0 0 0 0 472 3518 26 1 73 0 4 0 1416 26912 3900 2754768 0 0 0 0 394 1642 26 1 74 0 2 0 1416 26912 3900 2754768 0 0 0 0 401 1364 25 0 75 0 2 0 1416 26896 3900 2754768 0 0 0 0 456 1922 25 1 75 0
-- Jon Smirl jonsmirl@gmail.com