You are not logged in.

#1 2011-11-19 22:48:02

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Fstab and relatime/noatime

Hi

I just edit my /etc/fstab file and change my root and home partition to relatime, because my system becomes somehow sluggish and HHD loud after couple of days of uptime. My /etc/fstab:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>

tmpfs		       /tmp	     tmpfs     nodev,nosuid	   0	  0
/dev/sda1 / ext4 defaults,relatime 0 1
/dev/sda2 /home ext4 defaults,relatime 0 1
/dev/sda3 /media/Multi ext4 defaults 0 1
/dev/sda5 swap swap defaults 0 0

What else should i do to boost it in fstab file?

Also,  what is your fstab and what do you propose to boost your system in the context of fstab file.

Last edited by Shark (2011-11-19 22:52:59)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2011-11-20 00:00:54

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Fstab and relatime/noatime

That won't do much for you unless you are doing heavy io.  See the wiki for additional tweaks.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-11-20 01:56:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Fstab and relatime/noatime

I've used for ages:

UUID=thats-a-secret   /   ext4    defaults,noatime,commit=60  1 1

You can most probably use noatime rather than relatime.

Offline

#4 2011-11-20 09:52:40

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Fstab and relatime/noatime

brebs wrote:

I've used for ages:

UUID=thats-a-secret   /   ext4    defaults,noatime,commit=60  1 1

You can most probably use noatime rather than relatime.

Have you use it only for root partition or home and other partitions too?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2011-11-20 15:17:07

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Fstab and relatime/noatime

That's my only partition. I don't subscribe to the "multiple partitions" way of thinking smile

Offline

#6 2011-11-20 15:20:50

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Fstab and relatime/noatime

Hehehe

What do you think? Should i do this for boosting the system with my other partition too?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#7 2011-11-20 15:36:10

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Fstab and relatime/noatime

Sure. Mutt is one of the few apps which still conflicts with noatime.

Offline

#8 2011-11-20 15:42:58

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Fstab and relatime/noatime

Thanks. So i will do relatime for my "data/private stuff" partition too. Thanks.


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB