Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Dmitry Artamonow <mad_soft@inbox.ru>
To: openembedded-devel@openembedded.org
Subject: Re: [PATCH/RFC] base-files: add noatime to rootfs mount	options
Date: Sun, 29 Mar 2009 14:39:58 +0400	[thread overview]
Message-ID: <20090329103958.GA30154@rainbow> (raw)
In-Reply-To: <1237162088.5882.7.camel@utx.utx.cz>

On 01:08 Mon 16 Mar     , Stanislav Brabec wrote:
> Dmitry Artamonow wrote in Sun 03/15 2009 at 23:47 +0300:
> > In most machines' fstabs rootfs mounted with 'defaults' option.
> > This implies that atime logging is on - i.e. on every read from
> > filesystem kernel writes atime stamp to files' metadata.
> > Here in embedded world, where rootfs is usually stored on some
> > kind of flash (internal NAND/NOR, or external SD/MMC/CF card)
> > it is a real problem, because higher number of writes causes
> > flash wearing, higher system load and higher chance of filesystem
> > corruption.
> > 
> > Fix it by adding noatime to rootfs mount options in fstab.

If there's no objections, can somebody apply this?
(hint: I don't have a commit rights)

I can send updated patch if needed - though changing 'packages' to
'recipes' with sed shouldn't be too hard:
 sed -i 's:a/packages/:a/recipes/:g' *.patch
 sed -i 's:b/packages/:b/recipes/:g' *.patch

> 
> Good idea. On Zaurus it even prevents regular hard disc waking up while
> executing scripts and significantly increases speed of writing of large
> amount of small files.
> 
> Patching of udev mount.sh script would be useful as well.

Yes. I'll try too look into this.

-- 
Best regards,
Dmitry "MAD" Artamonow




  reply	other threads:[~2009-03-29 10:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-15 20:47 [PATCH/RFC] base-files: add noatime to rootfs mount options Dmitry Artamonow
2009-03-16  0:08 ` Stanislav Brabec
2009-03-29 10:39   ` Dmitry Artamonow [this message]
2009-03-16 15:43 ` Florian Boor
2009-03-29 11:48 ` Koen Kooi
2009-04-04  9:09   ` Dmitry Artamonow
2009-04-04 17:53     ` Otavio Salvador
2009-04-15 10:21       ` Dmitry Artamonow
2009-04-15 10:27         ` [PATCH] base-files: add relatime " Dmitry Artamonow
2009-04-15 11:02           ` Koen Kooi

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=20090329103958.GA30154@rainbow \
    --to=mad_soft@inbox.ru \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.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