Re: Theoretical Question about commit=n

2017-11-12 Thread Qu Wenruo
On 2017年11月13日 09:17, Hans van Kranenburg wrote: > On 11/13/2017 01:41 AM, Qu Wenruo wrote: >> >> On 2017年11月13日 06:01, Hans van Kranenburg wrote: >>> On 11/12/2017 09:58 PM, Robert White wrote: Is the commit interval monotonic, or is it seconds after sync? What I mean is that if

Re: Theoretical Question about commit=n

2017-11-12 Thread Hans van Kranenburg
On 11/13/2017 01:41 AM, Qu Wenruo wrote: > > On 2017年11月13日 06:01, Hans van Kranenburg wrote: >> On 11/12/2017 09:58 PM, Robert White wrote: >>> Is the commit interval monotonic, or is it seconds after sync? >>> >>> What I mean is that if I manually call sync(2) does the commit timer >>> reset?

Re: Theoretical Question about commit=n

2017-11-12 Thread Qu Wenruo
On 2017年11月13日 06:01, Hans van Kranenburg wrote: > On 11/12/2017 09:58 PM, Robert White wrote: >> Is the commit interval monotonic, or is it seconds after sync? >> >> What I mean is that if I manually call sync(2) does the commit timer >> reset? I'm thinking it does not, but I can imagine a

Re: Theoretical Question about commit=n

2017-11-12 Thread Hans van Kranenburg
On 11/12/2017 09:58 PM, Robert White wrote: > Is the commit interval monotonic, or is it seconds after sync? > > What I mean is that if I manually call sync(2) does the commit timer > reset? I'm thinking it does not, but I can imagine a workload where it > ideally would. The magic happens inside