From: Jeff King Date: Tue, 28 May 2019 21:30:04 GMT Subject: Re: GIT issue while cloning (fatal: pack is corrupted (SHA1 mismatch)) !!! Message-ID: <20190528213004.GF24650@sigill.intra.peff.net> In-Reply-To: On Tue, May 28, 2019 at 06:45:18PM +0000, Vanak, Ibrahim wrote: > BUT still I have significant slowness(50 times slower than clone on > linux machine) while cloning. HPUX box is having very good H/W > configuration and network is also stable. From your output: > [hpux] > Receiving objects: 100% (63627/63627), 681.90 MiB | 111.00 KiB/s, done. > [linux] > Receiving objects: 100% (63627/63627), 681.90 MiB | 5.59 MiB/s, done. The main things going on there are: 1. we're getting the bytes over the network 2. we're computing a sha1 on the stream we're getting 3. we're zlib inflating any non-delta objects we find and computing their sha1 4. we're checking the filesystem to see if we have other copies of any of those objects For (2) and (3) it could be that the sha1 implementation is not quite as fast. But 50x is much larger than I'd expect. If you've built Git from source, you could try running "t/helper/test-sha1