Re: git clone: very long "resolving deltas" phase
- From
- Vitaly Berov <vitaly.berov@gmail.com>
- Date
- Apr 10, 2010, 13:25 UTC
- Message-ID
- <hppu9a$ugq$1@dough.gmane.org>
- In-Reply-To
- <alpine.LFD.2.00.1004070842580.7232@xanadu.home>
Hi,
On 04/07/2010 04:55 PM, Nicolas Pitre wrote:
Show 12 quoted lines
> On Wed, 7 Apr 2010, Vitaly wrote: > > > OK then. What happens if you do the following on the server machine > where the repository is stored: > > git repack -a -f -d > > How long does this take? > > If the "Resolving deltas" takes more than 10 minutes, could you capture > a strace dump from that process during a minute or so and post it here?
Nicolas, I took strace and sent it to you personally.
Here is the extract (99% of strace is the same): -------------- access("/home/vitaly/Projects/test/a1/.git/objects/0f/9a3d28766f8b767fb64166139dd65c079512de", F_OK) = -1 ENOENT (No such file or directory) pread(5, "x\234\324\275y\\Ni\374\377\177\256\323]\335Q\271S\332\220\"\n\241\10Q\10!$!d/\262"..., 214850, 8944159649) = 214850 access("/home/vitaly/Projects/test/a1/.git/objects/a5/5430cbc6674b56d7c2d2d81ef5b7d5c8ebdec8", F_OK) = -1 ENOENT (No such file or directory) pread(5, "x\234\354\275\vT\224U\0270<\347\231\v\363\250\244#\f0 \"\"\"\312ETD\300af"..., 159502, 8944374506) = 159502 access("/home/vitaly/Projects/test/a1/.git/objects/e5/02b7d050d1b81ebc256234e303eac17116c9fb", F_OK) = -1 ENOENT (No such file or directory) pread(5, "x\234\324\274yX\24G\3607>\3353\263,\310\342\"7\2.\202\342\1\10\212\210\212\10\236x\341"..., 61131, 8944534014) = 61131 access("/home/vitaly/Projects/test/a1/.git/objects/5b/6bdba61771e5ba63ba8b43659db1612345c2eb", F_OK) = -1 ENOENT (No such file or directory) pread(5, "x\234\324\275\tX\216Y\3747~\237\323\366DOJiyR\236\210B*$!\311\276\223=[\n"..., 236685, 8944595152) = 236685 ----------------- As for me, it looks very suspicious.
Vitaly