Re: syncing large mmaped files

2012-10-19 Thread Konstantin Belousov
On Thu, Oct 18, 2012 at 03:43:25PM -0400, John Baldwin wrote: > On Thursday, October 18, 2012 12:42:18 pm Konstantin Belousov wrote: > > On Thu, Oct 18, 2012 at 09:39:34AM -0400, John Baldwin wrote: > > > On Thursday, October 18, 2012 4:35:37 am Konstantin Belousov wrote: > > > > On Thu, Oct 18, 20

RE: syncing large mmaped files

2012-10-18 Thread Tristan Verniquet
> From: j...@freebsd.org > To: kostik...@gmail.com > Subject: Re: syncing large mmaped files > Date: Thu, 18 Oct 2012 15:43:25 -0400 > CC: freebsd-hackers@freebsd.org; tris_v...@hotmail.com > > On Thursday, October 18, 2012 12:42:18 pm Konstantin Belousov wrote: > >

Re: syncing large mmaped files

2012-10-18 Thread John Baldwin
On Thursday, October 18, 2012 12:42:18 pm Konstantin Belousov wrote: > On Thu, Oct 18, 2012 at 09:39:34AM -0400, John Baldwin wrote: > > On Thursday, October 18, 2012 4:35:37 am Konstantin Belousov wrote: > > > On Thu, Oct 18, 2012 at 10:08:22AM +1000, Tristan Verniquet wrote: > > > > > > > > I wa

Re: syncing large mmaped files

2012-10-18 Thread Konstantin Belousov
On Thu, Oct 18, 2012 at 09:39:34AM -0400, John Baldwin wrote: > On Thursday, October 18, 2012 4:35:37 am Konstantin Belousov wrote: > > On Thu, Oct 18, 2012 at 10:08:22AM +1000, Tristan Verniquet wrote: > > > > > > I want to work with large (1-10G) files in memory but eventually sync > > > them ba

RE: syncing large mmaped files

2012-10-18 Thread Tristan Verniquet
> From: j...@freebsd.org > To: freebsd-hackers@freebsd.org > Subject: Re: syncing large mmaped files > Date: Thu, 18 Oct 2012 09:39:34 -0400 > CC: kostik...@gmail.com; tris_v...@hotmail.com > > On Thursday, October 18, 2012 4:35:37 am Konstantin Belousov wrote: > > On

Re: syncing large mmaped files

2012-10-18 Thread John Baldwin
On Thursday, October 18, 2012 4:35:37 am Konstantin Belousov wrote: > On Thu, Oct 18, 2012 at 10:08:22AM +1000, Tristan Verniquet wrote: > > > > I want to work with large (1-10G) files in memory but eventually sync > > them back out to disk. The problem is that the sync process appears to > > lock

Re: syncing large mmaped files

2012-10-18 Thread Konstantin Belousov
On Thu, Oct 18, 2012 at 10:08:22AM +1000, Tristan Verniquet wrote: > > I want to work with large (1-10G) files in memory but eventually sync > them back out to disk. The problem is that the sync process appears to > lock the file in kernel for the duration of the sync, which can run > into minutes

Re: syncing large mmaped files

2012-10-18 Thread Nikolay Denev
On Oct 18, 2012, at 3:08 AM, Tristan Verniquet wrote: > > I want to work with large (1-10G) files in memory but eventually sync them > back out to disk. The problem is that the sync process appears to lock the > file in kernel for the duration of the sync, which can run into minutes. This >