Thread (138 messages) 138 messages, 9 authors, 2022-03-10

Re: [PATCH v3 2/6] core.fsyncobjectfiles: batched disk flushes

From: Bagas Sanjaya <hidden>
Date: 2021-09-14 10:40:07

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help