[sheepdog-users] noatime

Liu Yuan namei.unix at gmail.com
Thu Dec 20 14:33:30 CET 2012


On 12/20/2012 07:51 PM, Liu Yuan wrote:
> On 12/20/2012 07:46 PM, Valerio Pachera wrote:
>> Hi, I'm afraid to pass the option 'noatime' mounting the sheepdog device.
>> This may increase performance but I wonder if 'access time' is
>> important for sheepdog.
>> What do recommend to do?
>>
>> Thank you.
> 
> Sheepdog doesn't use atime at all. So you can safely turn-off it for
> sheepdog backend device and journal device.
> 

Besides noatime, If you can use sheepdog journal, then you can safely use EXT4 nojournal mode 
for backend and journal device, because journaling of sheepdog itself use directio,
which will boost write performance a lot.

To turn off EXT4 journal, mkfs.ext4 -O ^has_journal /dev/sdX

Thanks,
Yuan



More information about the sheepdog-users mailing list