Re: [git-users] Getting good compression

2013-06-09 Thread Dale R. Worley
 $ time git repack -d -l -f --depth=250 --window=250 -A --window-memory=1g

From the manual pages and testing its behavior, when git repack is
executed by git gc, the default --window-memory value is supplied by
the pack.windowMemory configuration value:

   pack.windowMemory
   The window memory size limit used by git-pack-objects(1) when no
   limit is given on the command line. The value can be suffixed with
   k, m, or g. Defaults to 0, meaning no limit.

So if git gc can't get enough memory, or uses so much memory it
swaps, you can configure the repository to reduce its memory
consumption.

Dale

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] Getting good compression

2013-06-07 Thread Dale R. Worley
 From: Martin Mųller Skarbiniks Pedersen traxpla...@gmail.com
 
 It sounds like you are using the mbox email format where everything is
 kept inside a
 single file.

That is correct.

 Have you considered using the Maildir fomat instead ?

No, because my mail reader uses mbox format (and it might require
various changes to my infrastructure).

Dale

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [git-users] Getting good compression

2013-06-06 Thread Martin Møller Skarbiniks Pedersen
On 6 June 2013 18:06, Dale R. Worley wor...@alum.mit.edu wrote:
 I an working on a system to archive files for backup purposes.  The
 current challenge is a Unix mailbox file which is about 100Mb.  By its
 nature, new mail is added to the file at the end and most of that is
 rapidly deleted.

It sounds like you are using the mbox email format where everything is
kept inside a
single file.
Have you considered using the Maildir fomat instead ?

http://en.wikipedia.org/wiki/Maildir

Regards
Martin

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.