From: "Ray Lee" Subject: Re: Fwd: 2.6.26.3 kernel - progressive slowdown over NFS Date: Tue, 9 Dec 2008 17:12:46 -0800 Message-ID: <2c0942db0812091712l5efa2d2dia9ff2e3d92f81bbc@mail.gmail.com> References: <2c0942db0812091638o3d0fe68ek70744f6938949b25@mail.gmail.com> <1228871206.30231.76.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: LKML , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Netdev To: "Trond Myklebust" , pkpatel.lists-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Return-path: In-Reply-To: <1228871206.30231.76.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Content-Disposition: inline Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org [ sigh, adding back original reporter. Oops. -- rbl ] Priyank Patel, please see Trond's response below and try out the suggested patch linked below. On Tue, Dec 9, 2008 at 5:06 PM, Trond Myklebust wrote: > On Tue, 2008-12-09 at 16:38 -0800, Ray Lee wrote: >> [ adding netdev, linux-nfs to cc: -- rbl ] >> >> Hi, >> >> >> We have a simple python program which keeps running a C loop to lstat >> NFS mounted directories. We are seeing some weird behavior w.r.t. the >> run-time of this program on 2.6.26.3 kernel vs 2.6.24 kernel. >> >> The run-time of the following code increases over time on the 2.6.26.3 >> kernel, whereas remains flat (as expected) on the 2.6.24 kernel. >> [See attached graphs - B1.jpg and B2.jpg] Once the 2.6.26.3 machine >> gets into this state, we need to restart the box to get back to >> reasonable run-times. Is this a known issue ? > > Could you try applying the following patch? > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=23918b03060f6e572168fdde1798a905679d2e06 > > Trond > > PS: note that your 2.6.26 config file has _very_ different memory models > and kernel debugging options enabled compared to your 2.6.24 kernel. > That may also affect performance. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html