Re: pack operation is thrashing my server

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

 



> Have you tried something like this?
>
>        [core]
>                packedGitWindowSize = 16m
>                packedGitLimit = 64m
>
>        [pack]
>                threads = 1
>                windowMemory = 64m
>                deltaCacheSize = 1m
>
> On a 64 bit system packedGitWindowSize and packedGitLimit have very
> large thresholds which will cause it to mmap in the entire pack file.
> You may need to try even smaller settings than these; 256m physical
> memory isn't a lot when dealing with a repository 180m in size.
> Especially on a 64 bit system.

I just went as low as:

[core]
        packedGitWindowSize = 1m
        packedGitLimit = 4m
[pack]
        threads = 1
        windowMemory = 4m
        deltaCacheSize = 128k

And it didn't make a dent in memory usage. Server is still swapping
within ~10 seconds of starting object compression.

I'm starting to think repacking is just not feasible on a 64-bit
server with 256MB of RAM (which is a very popular configuration in the
VPS market).

Thanks!

Ken
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux