On Thu, 5 Apr 2007, Nicolas Pitre wrote:Without "--full", it doesn't actually really do anything much, since it will basically ignore objects that are in the pack. With --full, there are certainly things that we could improve upon. We currently tend to walk things a few times for pack contents: - first we do the SHA1 of the full pack - then we go back, and unpack and fsck each entry in the pack. So if the pack-file is too big to fit in memory, we'll basically always read it at least twice (and that's ignoring the fact that delta lookup will obviously seek back and forth, which makes access patterns worse). On the other hand, there's a perfectly good reason why we don't actually fsck pack-files by default. They're "stable storage". You don't normally need to. So I'd not worry too much about fsck performance. I suspect you'll find that with 1GB or RAM you'll have other performance problems that are more pressing ("git clone" comes to mind ;) Me, I'm just 53% done with the download, so I probably won't be looking at this today ;) Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Nick Piggin | Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS] |
| Greg KH | Linux 2.6.26.3 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| David Symonds | Re: git and binary files |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Linus Torvalds | Re: [PATCH 0/6] Initial subproject support (RFC?) |
| Petr Baudis | Re: repo.or.cz wishes? |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Jeff Garzik | Re: Wasting our Freedom |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| ropers | Re: Real men don't attack straw men |
| David Howells | [PATCH 6/7] FS-Cache: CacheFiles: ia64: missing copy_page export [try #13] |
| Valdis.Kletnieks | Re: [RFD] Incremental fsck |
| Chris Mason | Re: [PATCH][RFC] fast file mapping for loop |
| Nikolai Joukov | Re: [ANNOUNCE] RAIF: Redundant Array of Independent Filesystems |
