Shared by eszpee
kipróbáltuk, meglátjuk.
The Hackosis blog notes a contentious conversation thread between Linux creator Linus Torvalds and a programmer who finds that disabling the
atime
option, which writes a last-accessed time to every single file that's accessed by a Linux system, nets some significant performance improvements. If you don't use any defragmenting or mail-watching apps (like mutt) that rely on atime, you can at least try out disabling atime, and switch back if something goes wrong. Read on for simple instructions on how to do that on a Linux desktop.
- Open a terminal program and give yourself super-user (i.e. sudo) permissions. On some systems, that's typing
sudo -i
, on others it'ssu -
. - Back up your original hard-drive-configuring fstab file. On Ubuntu, that's accomplished with something like this:
cp /etc/fstab /etc/fstab.original
gedit /etc/fstab
relatime,errors=remount-ro
.noatime,nodiratime
sudo cp /etc/fstab.original /etc/fstab
I've tried it out on my Ubuntu 8.04 partition, and it feels like there is some kind of improvement, though with all things hard drive, it's hard to pin down. If you're noticing some real kick, or none at all, tell us about it in the comments.
Utolsó kommentek