Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

FileSystem Benchmark

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Genkaku
n00b
n00b
Posts: 72
Joined: Thu Aug 26, 2004 4:31 pm
Location: Poland

FileSystem Benchmark

  • Quote

Post by Genkaku » Thu Oct 14, 2004 9:20 pm

Yalla.

I'll just post my results of some lil' fs benchmarks:

Code: Select all

FS/Test	  *1		*2		*3		*4		*5		*6

ext2	(real)0m2.943s	0m32.818s	2m16.690s	0m16.609s	3m56.574s	(first)15s
	    (user)0m0.002s	0m22.967s	0m0.070s	0m0.009s	3m26.373s	(second)2,5s
	    (sys)0m0.141s	0m1.502s	0m1.649s	0m0.154s	0m15.130s	
	
JFS	  0m3.700s	1m47.886s	5m7.329s	0m50.884s	4m16.316s	13s			
	      0m0.004s	0m23.258s	0m0.104s	0m0.014s	3m28.559s	2-3s		
	      0m0.168s	0m2.147s	0m1.928s	0m0.328s	0m17.222s		

XFS	  0m6.490s	1m2.278s	2m25.033s	0m25.449s	4m3.170s	14s	
	      0m0.003s	0m23.519s	0m0.098s	0m0.030s	3m28.080s	2,5s					
	      0m0.162s	0m3.039s	0m2.872s	0m1.062s	0m16.710s							
												
Reiser4	  0m6.082s	0m33.895s	0m46.481s	0m9.657s	4m8.398s	16				
	      0m0.000s	0m23.529s	0m0.073s	0m0.016s	3m26.641s	2,5s					
	      0m0.160s	0m4.044s	0m3.181s	0m1.843s	0m36.197s							
	  											
ReiserFS  0m0.141s	0m35.667s	2m6.010s	0m0.870s	4m2.503s	14s			
	      0m0.000s	0m23.354s	0m0.095s	0m0.013s	3m27.194s	2,5s						
	      0m0.141s	0m3.190s	0m2.631s	0m0.734s	0m17.756s							
	  											
**1. time cp /usr/portage/distfiles/linux-2.6.8.tar.bz2 /mnt/hda4
**2. time tar xjf linux-2.6.8.tar.bz2
**3. time cp -R linux-2.6.8/ linux
**4. time rm -R linux
**5. cd linux;cp /root/konfa /mnt/hda4/.config;make menuconfig;time make
**6. time of /mnt/hda4/OpenOffice.org1.1.2/program/scalc (first, sekond startup)
Top
Jake
Veteran
Veteran
Posts: 1132
Joined: Thu Jul 31, 2003 8:39 pm

  • Quote

Post by Jake » Fri Oct 15, 2004 12:13 am

*1 can't possibly be right. No way is ReiserFS 46x faster than XFS at something XFS should be better than ReiserFS at. Could caching account for such a significant difference?

*2 what FS the tarball was created on matters, did you create a new tarball on each FS to test that FS?

*3 amazing if correct

*4 deleting files is supposed to be reiser4's weakness, so I question your results, although not as much as *1

*5 if you want to see the differences better in this benchmark, use "make allyesconfig && make". Running more jobs would be interesting too (make -jx, where x is >1 and unless you're crazy, <50; normally it's used for SMP systems in which case it's between 1+# of CPUs and 2x# of CPUs)
Top
Genkaku
n00b
n00b
Posts: 72
Joined: Thu Aug 26, 2004 4:31 pm
Location: Poland

  • Quote

Post by Genkaku » Fri Oct 15, 2004 1:04 am

/usr/portage/distfiles/ was on XFS.

Maybe i'll do some other benchmarks later (yup, creating tarball from kernel source).

I created Reiser4 on /dev/hda4 (above 7GB). And...

-First system startup was awfuly long.
-Second was better, but:
*Firefox, Xorg, kde - such programs were starting 3 times longer than on my XFS partition.
-emerge sync - blazing fast,... caused my system laggy, veru unresponsive for moments.
-emerge whatever is causing same effects as --sync

WTF is wrong with this filesystem ?!

Now I'm going to do Reiserfs on hda4(this hda4 is my test-root), and i'll check what happens.
Top
Jake
Veteran
Veteran
Posts: 1132
Joined: Thu Jul 31, 2003 8:39 pm

  • Quote

Post by Jake » Fri Oct 15, 2004 2:09 am

What kernel are you using?
Top
playfool
l33t
l33t
User avatar
Posts: 688
Joined: Tue Jun 01, 2004 12:49 am
Location: Århus, Denmark

  • Quote

Post by playfool » Fri Oct 15, 2004 9:27 am

I take it this was on the same partition, reformated to "filesystem foo" everytime, to avoid disc placement screws in your timing (data closer to the inner rim is traditionally faster accessed than the outer rim)
My blog

Proud supporter of The EFF, The FSF and The Triad of Reason.
Top
waverider202
Tux's lil' helper
Tux's lil' helper
Posts: 146
Joined: Wed Sep 25, 2002 2:25 pm
Location: Drexel University

taint

  • Quote

Post by waverider202 » Fri Oct 15, 2004 5:49 pm

all these benchmarks are tainted

here's the thing people need to realize about filesystem benchmarks, linux caches the hard disk. Which means, timing the copying of a file or directory doesn't mean anything cause the read/writes didn't actually happen yet. If you think that isn't true, then try coping a 1.4mb file onto a floppy ;-) It'll take less than a second. Now, try unmounting the floppy, and it'll take some time. Because of Reiser's magic it does with search tree's, it tends to be faster with inode-related opporations. People interpret this as being "faster" than everything else, but in the end, the actual data moving around hasn't happened. Very often, you'll find other filesystems that outperform riser in many instances. Because of the caching, it is very hard to benchmark a fs. The only way for you to really know which one is best for you is to try out each fs for a while, and do what you normally do. Unless you run a server, $5 says you can't tell the difference.
:-P
Top
Genkaku
n00b
n00b
Posts: 72
Joined: Thu Aug 26, 2004 4:31 pm
Location: Poland

  • Quote

Post by Genkaku » Fri Oct 15, 2004 7:44 pm

My kernel is 2.6.9-rc4-nitro1.

Yup, I agree it is best to test some FS by using it for a while. I'm doing so ;]
Top
malloc
l33t
l33t
User avatar
Posts: 762
Joined: Fri Sep 19, 2003 3:35 pm

  • Quote

Post by malloc » Fri Oct 15, 2004 8:09 pm

There's a little point you're missing in your bench and that it makes a hell of a diference (imo at least) wich cpu usage. Reiser and reiser4 are true cpu hogs whilst xfs is not.
--> Linux ### 2.6.11-ck2 #1 Sat Mar 12 20:21:30 WET 2005 i686 GNU/Linux <--
Top
Jake
Veteran
Veteran
Posts: 1132
Joined: Thu Jul 31, 2003 8:39 pm

  • Quote

Post by Jake » Fri Oct 15, 2004 8:39 pm

malloc wrote:There's a little point you're missing in your bench and that it makes a hell of a diference (imo at least) wich cpu usage. Reiser and reiser4 are true cpu hogs whilst xfs is not.
As flawed as these benchmarks are, kernel compilation is affected (to the point of being bound) by CPU usage, so that issue has been addressed. Sure you wouldn't want to use reiser4 on a slow CPU, but that's the whole point. Usually people have way more CPU power than they need and hard drive access is the bottleneck. Surely we have CPU power to waste with out Athlon64s. And while we're bringing up comparisions other than speed, remember that reiser4 has the advantage of being fully atomic, easy to program with plugins, and stores tiny files amazingly efficiently which comes in handy for the metadata feature other FSs lack.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic