Util.pm: change window memory calculation
commitab8794c5b31a8faf274898a008f4b717bff38a1f
authorKyle J. McKay <mackyle@gmail.com>
Sun, 21 Aug 2016 19:48:00 +0000 (21 12:48 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 21 Aug 2016 19:48:00 +0000 (21 12:48 -0700)
treeb94d87878e21781a15a2530a6de3f56a2a64f4d7
parent0fba439f2136a058aa118ac0485938cb05058efe
Util.pm: change window memory calculation

Git has enough overhead that using total-mem / 2 / num-CPUs
can still lead to memory thrashing for some repositories when
computing deltas.

Change to total-mem / 3 / num-CPUs to leave enough room for
Git's overhead to avoid memory thrashing.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Util.pm