Re: [PATCH] read-cache: increase write buffer size

2016-03-21 Thread David Turner
On Sat, 2016-03-19 at 18:18 +0700, Duy Nguyen wrote: > On Sat, Mar 19, 2016 at 8:19 AM, David Turner < > dtur...@twopensource.com> wrote: > > Each write() has syscall overhead, and writing a large index > > entails > > many such calls. A larger write buffer reduces the overhead, > > leading to inc

Re: [PATCH] read-cache: increase write buffer size

2016-03-19 Thread Duy Nguyen
On Sat, Mar 19, 2016 at 8:19 AM, David Turner wrote: > Each write() has syscall overhead, and writing a large index entails > many such calls. A larger write buffer reduces the overhead, > leading to increased performance. > > On my repo, which has an index size of 30m, this saves about 10ms of >

[PATCH] read-cache: increase write buffer size

2016-03-19 Thread David Turner
Each write() has syscall overhead, and writing a large index entails many such calls. A larger write buffer reduces the overhead, leading to increased performance. On my repo, which has an index size of 30m, this saves about 10ms of time writing the index. Signed-off-by: David Turner --- read-

Re: [PATCH] read-cache: increase write buffer size

2016-03-19 Thread Pranit Bauva
On Sat, Mar 19, 2016 at 1:35 PM, Torsten Bögershausen wrote: > On 2016-03-19 02.19, David Turner wrote: >> Each write() has syscall overhead, and writing a large index entails >> many such calls. A larger write buffer reduces the overhead, >> leading to increased performance. >> >> On my repo, wh

Re: [PATCH] read-cache: increase write buffer size

2016-03-19 Thread Torsten Bögershausen
On 2016-03-19 02.19, David Turner wrote: > Each write() has syscall overhead, and writing a large index entails > many such calls. A larger write buffer reduces the overhead, > leading to increased performance. > > On my repo, which has an index size of 30m, this saves about 10ms of > time writin