From: Bagas Sanjaya Date: Tue, 14 Sep 2021 10:39:45 GMT Subject: Re: [PATCH v3 2/6] core.fsyncobjectfiles: batched disk flushes Message-ID: In-Reply-To: On 14/09/21 10.38, Neeraj Singh via GitGitGadget wrote: > _Performance numbers_: > > Linux - Hyper-V VM running Kernel 5.11 (Ubuntu 20.04) on a fast SSD. > Mac - macOS 11.5.1 running on a Mac mini on a 1TB Apple SSD. > Windows - Same host as Linux, a preview version of Windows 11. > This number is from a patch later in the series. > > Adding 500 files to the repo with 'git add' Times reported in seconds. > > core.fsyncObjectFiles | Linux | Mac | Windows > ----------------------|-------|-------|-------- > false | 0.06 | 0.35 | 0.61 > true | 1.88 | 11.18 | 2.47 > batch | 0.15 | 0.41 | 1.53 Interesting here the performance. You said that core.fsyncObjectFiles=batch performed 2.5x slower than core.fsyncObjectFile=false on Linux and Windows, why? -- An old man doll... just what I always wanted! - Clara