From: Mike Looijmans <mike.looijmans@topic.nl>
To: <yocto@yoctoproject.org>
Subject: Re: tmp on NFS
Date: Wed, 7 Oct 2015 09:01:21 +0200 [thread overview]
Message-ID: <5614C341.2090104@topic.nl> (raw)
In-Reply-To: <DB59870584238C45879465F0A2E5C3F17E16BB@IRVEXCHMB14.corp.ad.broadcom.com>
I can think of various things that would go wrong with tmp on NFS. One of the
most obvious example would be to try and change the network configuration
while running, and needing some temporary file to manage that.\
I think the expectation is that /tmp should be accessible at all times, and
that it's local and (at least somewhat) volatile.
I tend to mount /tmp/ in RAM on all systems. Even my desktop. Not having to do
wait for a device IO queue when performing actions in /tmp/ can greatly
improve the responsiveness of the system.
If your application's /tmp/ storage requirements are such that they don't fit
in RAM, I don't think /tmp/ is the place where they should be stored.
On 07-10-15 03:37, Luke (Lucas) Starrett wrote:
> Hi,
>
> Can anybody give a brief history of time on why using an NFS drive for tmp is
> necessarily a bad thing, and why we have a sanity check for it? We’re doing
> this without any obvious side effects.
>
> I’m aware of the checks added by changes like this:
>
> patchwork.openembedded.org/patch/61107/
>
> However, I don’t see the reasoning/background documented as to exactly what is
> actually broken when putting tmp on NFS. Is it time skew, problems with
> concurrent file access, something else?
>
> Thanks,
>
> Luke
>
>
>
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
next prev parent reply other threads:[~2015-10-07 12:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 1:37 tmp on NFS Luke (Lucas) Starrett
2015-10-07 7:01 ` Mike Looijmans [this message]
2015-10-07 12:59 ` Luke (Lucas) Starrett
2015-10-07 12:59 ` Burton, Ross
2015-10-07 13:04 ` Burton, Ross
2015-10-07 13:39 ` Mike Looijmans
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=5614C341.2090104@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.