Commits
- Commit:
2d6dd3ed2c8c3bfc84e2e35d7c457e035725e3cf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
style tweaks from jamsek
- Commit:
1aaa1562179ea8be813abb49d6bdb197e0eb2c60
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache fulltext data in delta cache to improve speed with long delta chains
ok jamsek
- Commit:
b77715b73bccc5e7b56252864e0b7902a3a17626
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in the delta-cache debug report, show the size of the largest delta seen
- Commit:
5822e79e39a8777984e08b5d89a8c55d6aa0356d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h too where sha1.h is included
In preparation for wide sha256 support; stsp@ agrees. Change done
mechanically with
find . -iname \*.[cy] -exec sam {} +
X ,x/<sha1\.h>/i/\n#include <sha2.h>
- Commit:
b5e1b8cdfc1252ab2430c1e9fabc09d393dd1373
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a separate compile-time DEBUG flag for the delta cache
- Commit:
b43d5a6cd3a253c93c9cc25574997ac4aac7a4f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
upate number elements stored in the delta cache when removing an element
- Commit:
99f7567eaa6fad9b271f55d1469fcd383bb13205
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reduce delta cache size to avoid running out of memory on large pack files
As reported by Jerome Kasper, got-index-pack would run out of memory while
cloning projects like LLVM or the Linux kernel. The delta cache was pushed
to its maximum size limit of ~2GB, which is much higher than the default
user data limit on OpenBSD. Set the delta cache size limits to values which
should result in the cache limiting itself to 128MB or less.
- Commit:
22f6beb0dae033aa1e023e1d849d5cede058e002
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add dedicated compilation flag for the delta cache, separate from object cache
- Commit:
d89a2828a39d1ae3d6c68b2d325ce6a3d0ca768a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- Commit:
20282b029acc164f2067a9ab57fb8ab9a931d25c
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix build with -DGOT_NO_OBJ_CACHE
ok stsp
- Commit:
4264b841d71d67329a7bf291a2f6565fac246668
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check the maximum cached delta size against the correct constant
- Commit:
dac5c75ed0c009997c4b71cb83bfaebbfaff22f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert delta cache to a hash table
This approach uses more memory but is much faster. To offset the
additional memory usage somewhat the cache now stores very small
deltas only. However, overall memory usage goes up. Hopefully we
will find a way to reduce this later.
ok op@
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
fa7a529ed4c1497b79f04fcd0484304e69b28873
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
disable delta cache in GOT_NO_OBJ_CACHE builds
- Commit:
c3b318d03e2208287f9ada2f6f9c759dfc0ba576
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add debug stats to delta cache
- Commit:
ab2f42e760e128287c5e880a39c591845231922b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cache delta data buffers in an LRU cache