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: > > On Thu, Oct 18, 2012 at 09:3

Re: dtrace failed to resolve struct thread

2012-10-18 Thread vasanth rao naik sabavat
Thanks Ryan, I checked out latest source code and compiled the kernel which has the option you have mentioned. I can now run dtrace -s schedgraph.d without any issues. Thanks, Vasanth On Thu, Oct 18, 2012 at 1:49 PM, Ryan Stone wrote: > On Thu, Oct 18, 2012 at 12:32 PM, vasanth rao naik sabav

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: dtrace failed to resolve struct thread

2012-10-18 Thread Ryan Stone
On Thu, Oct 18, 2012 at 12:32 PM, vasanth rao naik sabavat wrote: > Hi, > > I have an issue with latest FreeBSD when enabling dtrace > > dtrace -s schedgraph.d > ./hotkernel > both return the following error. > > : "/usr/lib/dtrace/psinfo.d", line 88: failed to resolve type kernel`struct > thread

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

dtrace failed to resolve struct thread

2012-10-18 Thread vasanth rao naik sabavat
Hi, I have an issue with latest FreeBSD when enabling dtrace dtrace -s schedgraph.d ./hotkernel both return the following error. : "/usr/lib/dtrace/psinfo.d", line 88: failed to resolve type kernel`struct thread * for identifier curthread: Unknown type name 10.0-CURRENT FreeBSD 10.0-CURRENT #0:

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 Thu, Oct 18, 2012 at 10:08:2

Re: NFS server bottlenecks

2012-10-18 Thread Nikolay Denev
On Oct 15, 2012, at 5:34 PM, Ivan Voras wrote: > On 15 October 2012 16:31, Nikolay Denev wrote: >> >> On Oct 15, 2012, at 2:52 PM, Ivan Voras wrote: > >>> http://people.freebsd.org/~ivoras/diffs/nfscache_lock.patch >>> >>> It should apply to HEAD without Rick's patches. >>> >>> It's a bit

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 >