Skip to content

For improved pack locality

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2core: log offset pack data accesses happenedcache.h config.c environment.c +1 more+28 -00 replies
2/2pack-objects: optimize "recency order"builtin/pack-objects.c+137 -111 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] For improved pack locality

Shawn kept bugging me about the locality of data in the packfiles generated by C-git (see pack-heuristics.txt in Documentation/technical) is often horrible, so here is my stab at it. The idea is to make sure that the majority of pack accesses fall to nearby locations in the mmapped packfile to reduce minor faults (which would help if you are accessing the packfile over slow link like NFS, or starting from a cold cache).

Junio C Hamano (2):
core: log offset pack data accesses happened
pack-objects: optimize "recency order"

 builtin/pack-objects.c |  138 +++++++++++++++++++++++++++++++++++++++++++++++-
 cache.h                |    3 +
 config.c               |    3 +
 environment.c          |    1 +
 sha1_file.c            |   21 +++++++
 5 files changed, 165 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6.134.gcf13f6