You are not logged in.

#1 2008-11-03 16:27:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

hard drive speed up?

http://www.hackosis.com/2008/11/03/linu … tem-up-40/

Wondered if anyone has any thoughts on this article?

MrG


Mr Green loves CCM

Offline

#2 2008-11-03 16:34:13

Procyon
Member
Registered: 2008-05-07
Posts: 1,807

Re: hard drive speed up?

I have been using noatime, works fine.
I will set nodiratime too now, didn't know that existed.

Do these work for XFS too?

EDIT: man mount says XFS can do noatime. I guess it can't hurt to just put both of these for all filesystems.

Last edited by Procyon (2008-11-03 16:58:20)

Offline

#3 2008-11-03 16:39:35

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

Re: hard drive speed up?

Think it relates more to ext3... atm all I have in fstab is defaults


Mr Green loves CCM

Offline

#4 2008-11-03 21:07:25

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: hard drive speed up?

Well that's an old trick, but yes, it helps a lot.

Offline

#5 2008-11-03 21:31:40

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

Re: hard drive speed up?

very quiet thread maybe Archers use something other than ext3


Mr Green loves CCM

Offline

#6 2008-11-03 23:12:23

Mikko777
Member
From: Suomi, Finland
Registered: 2006-10-30
Posts: 837

Re: hard drive speed up?

Mr Green wrote:

very quiet thread maybe Archers use something other than ext3

No no, thats just the things ppl automatically do when installing...

I think even ubuntu has that on by default. Afaik noatime is enough, nodiratime comes with it.

Offline

#7 2008-11-04 00:38:49

R00KIE
Member
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 2,495

Re: hard drive speed up?

Latest ubuntu seems to have relatime and .... I didn't know about this (guess I didn't read the wiki properly or it got changed meanwhile) .... I'm starting with relatime and see if everything keeps working as it should (I suspect it will) then I'll move on to noatime,nodiratime.
I've read that noatime is a superset of nodiratime but by reading the man page I get the feeling they are two separate things and you need to use both to do the trick.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2008-11-04 07:11:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

Re: hard drive speed up?

/dev/sda2 / ext3 defaults 0 1

Emmm my fstab is about 5 years old :-) .... guess its me who is living in the past

Just checked Ubuntu its showing

 relatime, errors=remount-ro

Boing!

Last edited by Mr Green (2008-11-05 09:28:59)


Mr Green loves CCM

Offline

#9 2008-11-05 09:36:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,685

Re: hard drive speed up?

Boing!


Mr Green loves CCM

Offline

#10 2008-11-05 21:40:47

R00KIE
Member
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 2,495

Re: hard drive speed up?

Yes I know, I asked a friend that is trying ubuntu to cat his fstab big_smile
But I've moved to noatime,nodiratime. No other options besides the defaults and it seems to be working very well. Fam doesn't seem to hang that much (at all) now but thats something for another thread I guess.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#11 2008-11-06 20:54:30

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: hard drive speed up?

Does this procedure mean anything when applied to raid0 array made up of three CF IDE cards?


My ailment? Lackatesla!
Tesla fails smog test..no gas!
Favorite song...Tesla On My Mind....

Offline

#12 2008-11-06 21:44:07

R00KIE
Member
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 2,495

Re: hard drive speed up?

Yes, if for every file you read you need to write back the last access time then it doesn't matter what kind of setup you have. It may be just less noticeable if the storage subsystem is faster (which is your case with raid0).


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#13 2008-11-27 06:08:08

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 393

Re: hard drive speed up?

I was using option noatime for my JFS partitions for quite a time, but haven't heard of nodirtime till now. Will see if it changes anything.
Anyone know a good HDD benchmark for Linux? smile


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI MegaBook GX600P-208NL

Offline

#14 2008-11-27 06:26:41

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 339

Re: hard drive speed up?

relatime is techincally the most compatible option. noatime implies nodiratime so its pointless...

edit: and afaik there are no fs benchmarks for linux, there are plenty of hdd benchmarks but I dont think thats what you meant?
People tend to just copy around files, time it and assume that this has some real world relevance to the FS performance wink

Last edited by shazeal (2008-11-27 06:30:12)

Offline

Board footer

Powered by FluxBB