xfs
[Top] [All Lists]

Re: PROBLEM + POSS FIX: kernel stack overflow, xfs, many disks, heavy wr

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: PROBLEM + POSS FIX: kernel stack overflow, xfs, many disks, heavy write load, 8k stack, x86-64
From: John Berthels <john@xxxxxxxxx>
Date: Thu, 08 Apr 2010 13:16:45 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, Nick Gregory <nick@xxxxxxxxx>, Rob Sanderson <rob@xxxxxxxxx>, xfs@xxxxxxxxxxx, linux-mm@xxxxxxxxx
In-reply-to: <20100408030347.GM11036@dastard>
References: <4BBC6719.7080304@xxxxxxxxx> <20100407140523.GJ11036@dastard> <4BBCAB57.3000106@xxxxxxxxx> <20100407234341.GK11036@dastard> <20100408030347.GM11036@dastard>
User-agent: Thunderbird 2.0.0.24 (X11/20100317)
Dave Chinner wrote:
On Thu, Apr 08, 2010 at 09:43:41AM +1000, Dave Chinner wrote:
And there's a patch attached that stops direct reclaim from writing
back dirty pages - it seems to work fine from some rough testing
I've done. Perhaps you might want to give it a spin on a
test box, John?
Thanks very much for this. The patch is in and soaking on a THREAD_ORDER 1 kernel (2.6.33.2 + patch + stack instrumentation), so far so good, but it's early days. After about 2hrs of uptime:

$ dmesg | grep stack | tail -1
[   60.350766] apache2 used greatest stack depth: 2544 bytes left

(which tallies well with your 5 1/2Kbytes usage figure).

I'll reply again after it's been running long enough to draw conclusions.

jb

<Prev in Thread] Current Thread [Next in Thread>