RE: fsync occasionally very slow

2007-01-31 Thread Matthew Kirk
>>> Regarding the long fsyncs, here's a trace... >>> >>> I upgraded to a more recent kernel - 2.6.18.6 - and ran it on a >>workstation. >>> This particular box has In this case the elevator is CFQ. >>> >>> This sample came from a stall that lasted about 2.5 minutes(!) - the longest >>> one I've

RE: fsync occasionally very slow

2007-01-31 Thread Matthew Kirk
Regarding the long fsyncs, here's a trace... I upgraded to a more recent kernel - 2.6.18.6 - and ran it on a workstation. This particular box has In this case the elevator is CFQ. This sample came from a stall that lasted about 2.5 minutes(!) - the longest one I've seen yet. The box is a

Re: fsync occasionally very slow

2007-01-29 Thread Andrew Morton
On Mon, 29 Jan 2007 17:02:14 -0500 "Matthew Kirk" <[EMAIL PROTECTED]> wrote: > Regarding the long fsyncs, here's a trace... > > I upgraded to a more recent kernel - 2.6.18.6 - and ran it on a workstation. > This particular box has In this case the elevator is CFQ. > > This sample came from a

RE: fsync occasionally very slow

2007-01-29 Thread Matthew Kirk
+0x0/0x37 [] kthread+0x85/0xaa [] kthread+0x0/0xaa [] kernel_thread_helper+0x5/0xb -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 6:17 AM To: Matthew Kirk Cc: linux-kernel@vger.kernel.org Subject: Re: fsync occasionally very slow On Fri

RE: fsync occasionally very slow

2007-01-29 Thread Matthew Kirk
Subject: Re: fsync occasionally very slow On Fri, 26 Jan 2007 05:37:38 -0500 Matthew Kirk [EMAIL PROTECTED] wrote: I am working on an application that fsync(2) files and directories as needed.I’m seeing intermittent stalls on fsync that can last many seconds. Please generate an all-task

Re: fsync occasionally very slow

2007-01-29 Thread Andrew Morton
On Mon, 29 Jan 2007 17:02:14 -0500 Matthew Kirk [EMAIL PROTECTED] wrote: Regarding the long fsyncs, here's a trace... I upgraded to a more recent kernel - 2.6.18.6 - and ran it on a workstation. This particular box has In this case the elevator is CFQ. This sample came from a stall that

Re: fsync occasionally very slow

2007-01-26 Thread Andrew Morton
On Fri, 26 Jan 2007 14:33:36 -0500 "Matthew Kirk" <[EMAIL PROTECTED]> wrote: > Sorry, this will show my ignorance... my system is lacking > /proc/sysrq-trigger. I can find how to build a kernel with the magic sysrq > key (CONFIG_MAGIC_SYSRQ=y), and have done so, but I still don't have >

RE: fsync occasionally very slow

2007-01-26 Thread Matthew Kirk
that's what's missing. Presumably it's something in .config I'm just not seeing? Thanks again! Matt -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 6:17 AM To: Matthew Kirk Cc: linux-kernel@vger.kernel.org Subject: Re: fsync occasionally

Re: fsync occasionally very slow

2007-01-26 Thread Andrew Morton
On Fri, 26 Jan 2007 05:37:38 -0500 "Matthew Kirk" <[EMAIL PROTECTED]> wrote: > I am working on an application that fsync(2) files and directories as > needed.I’m seeing intermittent stalls on fsync that can last many > seconds. Please generate an all-task backtrace during the stall via:

fsync occasionally very slow

2007-01-26 Thread Matthew Kirk
Hi I am working on an application that fsync(2) files and directories as needed.I’m seeing intermittent stalls on fsync that can last many seconds. The file system is mounted ext3, however I have reproduced the problem with ext2. The as scheduler is in use. I have also tried deadline. I

fsync occasionally very slow

2007-01-26 Thread Matthew Kirk
Hi I am working on an application that fsync(2) files and directories as needed.I’m seeing intermittent stalls on fsync that can last many seconds. The file system is mounted ext3, however I have reproduced the problem with ext2. The as scheduler is in use. I have also tried deadline. I

Re: fsync occasionally very slow

2007-01-26 Thread Andrew Morton
On Fri, 26 Jan 2007 05:37:38 -0500 Matthew Kirk [EMAIL PROTECTED] wrote: I am working on an application that fsync(2) files and directories as needed.I’m seeing intermittent stalls on fsync that can last many seconds. Please generate an all-task backtrace during the stall via: dmesg -n 8

RE: fsync occasionally very slow

2007-01-26 Thread Matthew Kirk
that's what's missing. Presumably it's something in .config I'm just not seeing? Thanks again! Matt -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007 6:17 AM To: Matthew Kirk Cc: linux-kernel@vger.kernel.org Subject: Re: fsync occasionally

Re: fsync occasionally very slow

2007-01-26 Thread Andrew Morton
On Fri, 26 Jan 2007 14:33:36 -0500 Matthew Kirk [EMAIL PROTECTED] wrote: Sorry, this will show my ignorance... my system is lacking /proc/sysrq-trigger. I can find how to build a kernel with the magic sysrq key (CONFIG_MAGIC_SYSRQ=y), and have done so, but I still don't have /proc/sysrq-*