Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th November 2009, 04:55 PM
dkd903 Offline
Registered User
 
Join Date: May 2006
Posts: 31
windows_7firefox
Thumbs up A few tweaks to a faster Fedora 12

I compiled this list of tweaks that says using them will speed up your entire Fedora 12 experience: http://digitizor.com/2009/01/31/fedo...fedora-faster/

Please leave your comments and if possible suggest more tweaks so that I can list all of them too :-)
__________________
Tumblelogs are kYute!

Last edited by dkd903; 28th November 2009 at 05:00 PM.
Reply With Quote
  #2  
Old 28th November 2009, 05:24 PM
tdaniel Offline
Registered User
 
Join Date: Nov 2009
Location: Romania
Posts: 19
linuxfedorafirefox
Hello,

The "noatime" mount parameter does not control how often the system updates the time but rather the file access times.

This affects files and dirrectories operations due to the unnecessary overhead created by the updating of the last access time of the file/dir.

Also, i think that a warning must be posted as well regarding the loss of file last access time functionality by implementing the "noatime" tweak.

Regards
Reply With Quote
  #3  
Old 28th November 2009, 05:35 PM
dkd903 Offline
Registered User
 
Join Date: May 2006
Posts: 31
windows_7firefox
So, is it recommended to use the noatime parameter?
__________________
Tumblelogs are kYute!
Reply With Quote
  #4  
Old 28th November 2009, 06:02 PM
tdaniel Offline
Registered User
 
Join Date: Nov 2009
Location: Romania
Posts: 19
linuxfedorafirefox
As detailed from the lkml discussion to which a reference is made in your article, the "noatime" parameter is a performance increaser.

It is correct to recommend it as performance tweak, i just pointed out that your explanation about what "noatime" does is misleading.

The "noatime" mount flag will instruct the kernel to NOT record file access times for the respective filesystem. In practice, file access times are recorded on the disk each time a file is read. This behavior induces a disk performance overhead especially when we're dealing with many small files.

On the other hand, file access times are used by some applications to figure out if the file has been read since the last time the application checked it.

The lkml mentions the mutt e-mail client that makes use of this capability.

Hope this explanation clears things up for you or anybody else reading this thread, if you have further questions don't be shy to ask them
Reply With Quote
  #5  
Old 28th November 2009, 06:43 PM
pankajp Offline
Registered User
 
Join Date: Jul 2007
Location: Mumbai, India
Posts: 226
linuxfedorafirefox
In the same lkml thread, it was mentioned that ubuntu had switched to noatime by default. Is there any idea if fedora already uses it or maybe using it by default in near future.
__________________
Fedora 14 Laughlin user on Dell Inspiron 1525
http://www.smolts.org/client/show/pu...0-71f71be44f7d :)
Reply With Quote
  #6  
Old 28th November 2009, 07:31 PM
tdaniel Offline
Registered User
 
Join Date: Nov 2009
Location: Romania
Posts: 19
linuxfedorafirefox
Both of my F12 installs, notebook and desktop, came without "noatime" set. I've set the mount flag by hand.
Reply With Quote
  #7  
Old 28th November 2009, 08:26 PM
RahulSundaram Offline
Registered User
 
Join Date: May 2005
Posts: 3,549
linuxsafari
Hi,

Upstream kernel itself defaults to relatime these days. It was contributed by Ingo Molnar from Red Hat. Details at

http://lwn.net/Articles/244829/
__________________
Rahul
http://fedoraproject.org/wiki/RahulSundaram
Reply With Quote
  #8  
Old 28th November 2009, 09:14 PM
tdaniel Offline
Registered User
 
Join Date: Nov 2009
Location: Romania
Posts: 19
linuxfedorafirefox
According to : http://www.kernel.org/doc/man-pages/...2/mount.2.html

The "relatime" flag is indeed used as a default since kernel version 2.6.30, this tweak may be considered obsolete.

The file "/proc/mounts" details the currently mounted volumes along with the mount flags used if someone wants to check if "relatime" is used on their system.

The "mount" command will not detail the defaults as i see it on my system:

[root@danielt-l ~]# cat /proc/mounts
rootfs / rootfs rw 0 0
/proc /proc proc rw,relatime 0 0
/sys /sys sysfs rw,relatime 0 0
udev /dev tmpfs rw,relatime,mode=755 0 0
/dev/pts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/shm /dev/shm tmpfs rw,relatime 0 0
/dev/sda3 / ext4 rw,noatime,nodiratime,barrier=1,data=ordered 0 0
/proc/bus/usb /proc/bus/usb usbfs rw,relatime 0 0
/dev/sda1 /boot ext2 rw,noatime,nodiratime,errors=continue 0 0
/dev/sda2 /home ext3 rw,noatime,nodiratime,errors=continue,user_xattr,a cl,data=ordered 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
none /proc/fs/vmblock/mountPoint vmblock rw,relatime 0 0

[root@danielt-l ~]# mount
/dev/sda3 on / type ext4 (rw,noatime,nodiratime)
proc on /proc type proc (rw,noatime,nodiratime)
sysfs on /sys type sysfs (rw,noatime,nodiratime)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,noatime,nodiratime)
/dev/sda1 on /boot type ext2 (rw,noatime,nodiratime)
/dev/sda2 on /home type ext3 (rw,noatime,nodiratime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
Reply With Quote
Reply

Tags
faster, fedora, tweaks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet much faster in Fedora than in XP iamroot Wibble 7 23rd July 2007 05:04 AM
How to make Fedora 7 faster Kirurgs Fedora Focus 30 19th July 2007 09:54 PM
Which one is faster? Fedora or Ubuntu martin.sourada Fedora Focus 22 10th March 2007 05:53 AM
Fedora faster than Windows on laptops? pamount Hardware & Laptops 8 21st February 2006 10:30 PM
Fedora needs to be FASTER scarpaz Fedora Focus 8 6th October 2005 01:01 PM


Current GMT-time: 13:50 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat