[Top][All Lists]

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

Re: bzr is dying; Emacs needs to move

From: James Cloos
Subject: Re: bzr is dying; Emacs needs to move
Date: Thu, 02 Jan 2014 18:57:03 -0500
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

>>>>> "TN" == Thien-Thi Nguyen <address@hidden> writes:

TN> Do you happen to know the maximum transient memory usage for
TN> "git gc --aggressive"?

I just tried it in a clone of git://git.savannah.gnu.org/emacs,
which should be similar.

Before the gc, .git/objects used about 1 Gig of disk space, per du(1).

Git gc --aggressive allocated just over 5 (binary) Gig of VM, and
dirtied most of it, to compress 733141 objects, according to top(1).

An 8 Gig VM should do it without paging.
(DO's price for an 8 Gig is 11.9 cents/hr; Atlantic's is about the same.)

The gnu time(1) output is:

        Command being timed: "git gc --aggressive"
        User time (seconds): 7540.15
        System time (seconds): 22.91
        Percent of CPU this job got: 346%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 36:21.75
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 19393776
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 12574
        Minor (reclaiming a frame) page faults: 6147439
        Voluntary context switches: 105240
        Involuntary context switches: 1550786
        Swaps: 0
        File system inputs: 3066072
        File system outputs: 428408
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6

reply via email to

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