Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wtf, XFS is noisy!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Jul 24, 2004 12:54 pm    Post subject: wtf, XFS is noisy! Reply with quote

i know this sound awkward but XFS is noisy

i ran the following small script today to get a glimpse of fs speed

Code:

#!/bin/bash
i=1
while [ $i -le 10 ]; do
  $(tar xfj linux-2.6.7.tar.bz2)
  $(rm -rf linux-2.6.7/)
  i=$(expr $i + 1)
done


first from a reiser4 and the from XFS

while doing on reiser4 the hd didnt make a noise, but on XFS the sound of the hd got really nasty and loud.

how in the name of jebus can this be?!

could it be due to partition layout?

Code:
   
    sda1                    Primary   Linux                             3068.03
    sda5                    Logical   Linux swap                         254.99
    sda6                    Logical   Linux                             4096.19
    sda7                    Logical   Linux                             3068.03
    sda8                    Logical   Linux XFS                        63861.08


where / is sda1, the reiser4 partition sda7, and xfs sda8
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sat Jul 24, 2004 4:24 pm    Post subject: Reply with quote

Dunno about xfs, but I am very sure reiser4 is a lot less noisy than reiser 3.6. The difference is striking, one more reason to upgrade.
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Jul 24, 2004 4:41 pm    Post subject: Reply with quote

i wasnt aware until now that filesystems can have an effect on the noise level of the harddrive

im thinkinig about trying JFS, is it as good as XFS for big files?
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 24, 2004 9:49 pm    Post subject: Reply with quote

The noise your are refering to is probably head movement. So the way each fs orders, buffers its writes would have an effect. Since deleting a file is just removing a node this will vary greatly.

Perso , I have a 80G Seagate Baracuda that is so quiet I thought it was broken when I first used it! so I did notice any diff when recently doing similar tests.

BTW got any results?

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Jul 24, 2004 10:44 pm    Post subject: Reply with quote

Quote:

The noise your are refering to is probably head movement.


yeah i thought something like this could be the reason

Quote:

I have a 80G Seagate Baracuda that is so quiet I thought it was broken when I first used it!

lol =)
im actually surprised by the overall noise level of the Raptor, i thought the 10000rpm would be somewhat louder ;)

Quote:
BTW got any results?


yes, i formatted sda8 with different filesystems and ran the script mentioned in the first post, this is what i got:

Code:

XFS on sda8

real    3m29.633s
user    2m55.329s
sys     0m39.571s

with tvtime

real    4m51.834s
user    3m40.900s
sys     0m57.272s

---

JFS on sda8

real    3m45.562s
user    2m53.953s
sys     0m26.986s

with tvtime

real    4m55.613s
user    3m39.481s
sys     0m40.967s

reiser4 on sda8

real    3m29.475s
user    3m1.989s
sys     1m10.415s

with tvtime

real    5m7.053s
user    3m42.989s
sys     1m48.752s


"with tvtime" simply means that tvtime was running while the test, which translates to ~15% CPU Usage.
I know this isnt a comprehensive FS Benchmark, and it isnt meant as such ;)

the noise levels are:
reiser4 - near to silent
XFS - "wtf, this harddrive sounds broken" ^^
JFS - moderate, more silent than XFS but a little bit louder than reiser4

so ive now switched sda8 (being a storage partition for big files and games) to JFS
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 24, 2004 10:58 pm    Post subject: Reply with quote

Maybe you should do a "big file" bench as well.

I may be worth thinkinga about the noise issue. This must translate to disk wear.

Test r4 vs jfs on the big files you want that partition for and wiegh the possible speed gain of jfs against being nice to your hardware.

Just a thought. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sat Jul 24, 2004 11:16 pm    Post subject: Reply with quote

well, i dont really think that the noise is a sign for slowly damaging the HD (my old 6GB hd runs since some years with even more noise)

and using reiser4 over JFS because of the noise level is just like buying a sports car and then being afraid to drive it at high speed because the enginge gets loud ;)

and benching for big files just seems not worth the time, a comprehensive test between JFS/XFS/ReiserFS/ext3 can be found here:
http://linuxgazette.net/102/piszcz.html
i admit reiser4 != ReiserFS but as i store important data on that partition, id rather see a slightly slower JFS on it than a development version of reiser4
(many people seem to have problems with reiser4)
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Jul 24, 2004 11:39 pm    Post subject: Reply with quote

I'm not saying noise dB = wear in comparing differnet drives , what I meant was head movement = wear. So , if R4 is quieter on a given drive it is stressing it less.

Fair point about data integrity if you dont have comfidence in R4. It IS still experimental , however I feel some people are a bit too quick to slag it off .

I and many others have used it without pbs. I have used 2.6.6-love4 with r4 for serveral months and use it heavily.

I have just been recommended by 'thebell' that 2.6.7-love7 is equally reliable . I believe he is involved in working on gcc 3.5 so he knows his stuff and certainly uses his system for more than email! He is totally R4 for months as well.

I think the key to safe r4 is choise of a suitable kernel HTH.

However, if you prefer to sit at the lights revving your engine please dont let me put you off! :wink:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
u2mike
Apprentice
Apprentice


Joined: 06 Nov 2003
Posts: 209

PostPosted: Sat Jul 24, 2004 11:41 pm    Post subject: Reply with quote

Ya, the best way to test filesystems is make a partition for each one on the same drive. Then fill them with files and directories, then bench them and see what happens.

Noise does indicate more disk wear (maby not a huge amount), noise is caused by movement(no, they didn't put a loud speaker on your HDD) and movement causes friction which in turn tends to wear stuff down :P

And as a previos user mentioned, if anyone's in the market for low noise harddrives seagate rules. I have a segate 80GB and a maxtor 80GB, the segate you can't hear, the maxtor is always roaring away whenever I'm doing anything on it.
Back to top
View user's profile Send private message
c0balt
Guru
Guru


Joined: 04 Jul 2004
Posts: 441
Location: Germany

PostPosted: Sun Jul 25, 2004 12:02 am    Post subject: Reply with quote

Quote:

Noise does indicate more disk wear (maby not a huge amount), noise is caused by movement(no, they didn't put a loud speaker on your HDD) and movement causes friction which in turn tends to wear stuff down Razz


well, afaik the raptor has a 5y warranty, so.. ;)

Quote:
Fair point about data integrity if you dont have comfidence in R4. It IS still experimental


this isnt about confidence, as you said reiser4 _is_ experimental. thats why im using JFS on the stuff i really need.
/, /var and /usr are all reiser4!

Quote:

however I feel some people are a bit too quick to slag it off .

as stated above i use it on several other partitions, no problems till now (only 2days since i got the hd so this doesnt say anything)

Quote:

I think the key to safe r4 is choise of a suitable kernel HTH.


HTH?
im using "linux-2.6.7-mm7-reiser4-2004.07.23-19.36" right now,
seems rather stable, but i didnt have the time to stresstest the system.
Back to top
View user's profile Send private message
sindre
Guru
Guru


Joined: 01 Nov 2002
Posts: 315
Location: Norway

PostPosted: Sun Jul 25, 2004 12:54 am    Post subject: Reply with quote

u2mike wrote:
Ya, the best way to test filesystems is make a partition for each one on the same drive. Then fill them with files and directories, then bench them and see what happens.
Remember that harddrives are usually faster in the beginning of the disc than towards the end, so having differently placed partitions might effect performance.
Back to top
View user's profile Send private message
ledskof
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 209

PostPosted: Sun Jul 25, 2004 1:08 am    Post subject: Reply with quote

I've been using Reiser4 for over a year. (Maybe much more than a year)
The only problems I've had were:

1. a system freeze which was like 5 minutes after I changed a system over to Reiser4. I had to come back up and do a scan to fix the partition. No files were lost. But the system was still unstable. I had to wait for the next patch and reiser4progs before using reiser4 again.

2. I stopped keeping up with the reiser4 threads and one day just started using a newer reiser4 patch. I had a system freeze, restarted and needed a scan. I fscked the files and lost every file name. There was no data loss, just file names.

If you are going to use reiser4, you need to keep up with what's going on with it before changing to a new kernel patch. I've been through 3 instances of hearing "the layout isn't going to change again", then it changed and I had to rebuild my reiser4 partitions. (althought I really think it's frozen now... I might have said this before though)

HTH = Hope This Helps
Back to top
View user's profile Send private message
Marctraider
Guru
Guru


Joined: 24 Dec 2003
Posts: 387

PostPosted: Sun Aug 29, 2004 12:40 am    Post subject: Reply with quote

Topicstarter: i agree, xfs is much more noisy (and much slower with small files) then reiserfs and ofcourse reiser4.

And imo linux has very much small files, and alot of files ;)
_________________
MOBO: Maximus II Gene
RAM: DDR2 OCZ 4GB
CPU: E6400 Conroe
GPU: HD2600XT
SATA: 3x 250GB.
Back to top
View user's profile Send private message
thechris
Veteran
Veteran


Joined: 12 Oct 2003
Posts: 1203

PostPosted: Sun Aug 29, 2004 3:38 am    Post subject: Reply with quote

JFS is still a bit buggy. there is a char2uni issue that needs to be fixed or some ebuilds will fail... This doens't apply to all partitions unless you want to extract files with odd characters. there is a potential fix, but I couldn't get it to work. I may switch over to r4 in a while, but xfs is working just fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum