From: Martin Pool <mbp@sourcefrog.net>
To: linux-kernel@vger.kernel.org
Subject: Re: make -j4 gets stuck w/ ccache over NFS
Date: Tue, 07 Dec 2004 17:22:43 +1100 [thread overview]
Message-ID: <pan.2004.12.07.06.22.36.666301@sourcefrog.net> (raw)
In-Reply-To: 20041207022429.GA5295@jupiter.solarsys.private
On Mon, 06 Dec 2004 21:24:29 -0500, Mark M. Hoffman wrote:
> Hello:
>
> 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.
>
> When it is stuck, both NFS client and server are almost totally idle. The
> network itself has almost no other traffic. It doesn't seem to matter if
> I mount NFS w/ udp or tcp (v3 in both cases).
>
> If I move ~/.ccache to a local FS, it never gets stuck. If I just use
> 'make' or even 'make -j2', (I'm pretty sure but not 100%) it never gets
> stuck.
Perhaps ccache is getting jammed/deadlocked trying to take a lock on NFS.
Maybe you should try getting an ethereal dump of the network traffic.
--
Martin
next prev parent reply other threads:[~2004-12-07 6:41 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 [this message]
2004-12-08 7:25 ` tridge
2005-03-10 5:47 ` make -j4 gets stuck w/ ccache over NFS - solved! Mark M. Hoffman
2005-03-10 16:24 ` 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=pan.2004.12.07.06.22.36.666301@sourcefrog.net \
--to=mbp@sourcefrog.net \
--cc=linux-kernel@vger.kernel.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