From: "Mark M. Hoffman" <mhoffman@lightlink.com>
To: tridge@samba.org, Greg KH <greg@kroah.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
"J. Bruce Fields" <bfields@citi.umich.edu>,
Neil Brown <neilb@cse.unsw.edu.au>, Andrew Morton <akpm@osdl.org>
Subject: Re: make -j4 gets stuck w/ ccache over NFS - solved!
Date: Thu, 10 Mar 2005 00:47:37 -0500 [thread overview]
Message-ID: <20050310054737.GA27656@jupiter.solarsys.private> (raw)
In-Reply-To: <16822.44167.836780.288332@samba.org>
Hi Tridge, Greg, et. al.:
I wrote, some months ago:
> > I'm using ccache version 2.4 [1]. I just changed ~/.ccache to a symbolic
> > link to a directory which is NFS mounted [2]. The kernel source itself is
> > on a local FS. With the ccache suitably primed, when I do a kernel compile
> > using 'make -j4' it seems to get stuck for seconds at a time. When it gets
> > unstuck, it blows through a handful of files and then gets stuck again.
* tridge@samba.org <tridge@samba.org> [2004-12-08 18:25:59 +1100]:
> I'd suggest you first narrow down the problem to either being a
> locking problem or a file IO problem. To do that, change lock_fd() in
> util.c in ccache to just "return 0;". That will mean the ccache stats
> file could become corrupted, but if it runs fast then you know that it
> is a locking problem. I have noticed severe speed problem with NFS
> locking on Linux previosly, which is why I mention this as a
> possibility.
>
> Note that removing this locking will not cause ccache to produce
> incorrect object files, it will just mean the stats printed with
> "ccache -s" may be inaccurate.
Thanks for the suggestions. It wasn't very important to me so I didn't
make time to follow up on it. I was just playing w/ ccache at the time.
Finally I noticed this patch from -mm1... and it solves the problem.
nfsd--lockd-dont-try-to-match-callback-requests-against-export-table.patch
How I tested: I applied the first 12 patches in 2.6.11-mm1; the above
mentioned was last - couldn't reproduce the bug. When I unapplied just
that one, I saw it again.
original bug report:
http://marc.theaimsgroup.com/?l=linux-kernel&m=110238645132535&w=3
Greg: have you considered this one for 2.6.11.x?
Thanks,
--
Mark M. Hoffman
mhoffman@lightlink.com
next prev parent reply other threads:[~2005-03-10 5:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 2:24 make -j4 gets stuck w/ ccache over NFS Mark M. Hoffman
2004-12-07 6:22 ` Martin Pool
2004-12-08 7:25 ` tridge
2005-03-10 5:47 ` Mark M. Hoffman [this message]
2005-03-10 16:24 ` make -j4 gets stuck w/ ccache over NFS - solved! J. Bruce Fields
2005-03-10 17:11 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050310054737.GA27656@jupiter.solarsys.private \
--to=mhoffman@lightlink.com \
--cc=akpm@osdl.org \
--cc=bfields@citi.umich.edu \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
--cc=tridge@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®