Re: [PATCH v3 2/6] core.fsyncobjectfiles: batched disk flushes
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Sep 14, 2021, 10:39 UTC
- Message-ID
- <b992c83d-747f-55b2-cf58-f39f4ef734aa@gmail.com>
- In-Reply-To
- <f8b5b709e9edc363b2de7d4afa443deec0120ca0.1631590725.git.gitgitgadget@gmail.com>
On 14/09/21 10.38, Neeraj Singh via GitGitGadget wrote:
Show 14 quoted lines
> _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