Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Very slow transfers to/from micro SD card on a RPi B+



On January 19, 2016 10:23:33 AM EST, Taylor R Campbell <campbell+netbsd-tech-kern%mumble.net@localhost> wrote:
>   Date: Tue, 19 Jan 2016 15:52:33 +0100
>   From: Stephan <stephanwib%googlemail.com@localhost>
>
>A way to circumvent these hangs is to remount the filesystem with
>noatime.
>
>Maybe we should make noatime the default...  I have mounted all my
>file systems with noatime for many years, and never regretted it.

The fact that /etc/daily updates the atime on all directories (I presume it's not actually all *files*, is it?) seems like a contributing poor behavior.  That would mask any "actual" access time updates.
It's too bad our open(2) doesn't have support for a O_NOATIME flag.  With that, and modifications to fts(), find and locate's updatedb then you could keep atime turned on without as much of a daily performance hit.

Eric



Home | Main Index | Thread Index | Old Index