Some Performance Tests
Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> Sat, 24 Feb 2007 18:54:42 +0100
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm moving the thread to this list (is the OBFS list still in existence? sending a mail to it bounced and it isn't listed on the website) to not bother the admins not interested in this technical issue anymore. I've inserted the results for the Create/Delete test for the same BFS partition, just initialized *with* indices. The drop in performance is worrisome IMHO. The Raw Write and Find results are, as expected, virtually identical, so I left them out. For Haiku/OBFS the Create/Delete test hits KDL, unfortunately. I hope this will be fixed in the not too distant future, since I'm quite interested to see how Haiku fares. CU, Ingo On 2007-02-23 at 19:33:04 [+0100], Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> wrote: [...] > PS: Some BFS vs. ReiserFS tests on the same machine (my good old P4 1.8 GHz > laptop). I freshly initialized a 1.9 GB BFS partition with -noindex for that > purpose. I've copied the "src/bin" directory (r20207) onto it for the tests. > I used my system partition (ReiserFS 3.6) under Linux (kernel 2.6.8) -- I > didn't bother to copy the checked out tree (to have a less fragmented > version) before the first test, but used the working tree directly. > > Create/Delete > ============= > > [BeOS/BFS] > > $ lsindex > /bin/lsindex: device 7 has no index directory! > $ time cp -r bin bin2; time sync; time rm -r bin2; time sync > > real 4m15.224s > user 0m1.287s > sys 0m46.185s > > real 0m2.566s > user 0m0.001s > sys 0m0.252s > > real 2m18.268s > user 0m0.409s > sys 0m9.529s > > real 0m1.621s > user 0m0.001s > sys 0m0.120s [BeOS/BFS indexed!] $ time cp -r bin bin2; time sync real 11m40.137s user 0m1.580s sys 1m51.518s real 0m2.363s user 0m0.001s sys 0m0.196s $ time rm -rf bin2; time sync real 8m8.703s user 0m0.434s sys 0m38.430s real 0m1.953s user 0m0.000s sys 0m0.074s > [Linux/ReiserFS] > > bonefish@graete:~/develop/haiku> time cp -r haiku/src/bin bin2; time sync > > real 2m10.467s > user 0m0.531s > sys 0m22.987s > > real 0m1.323s > user 0m0.001s > sys 0m0.038s > > [reboot to have nothing in the cache] > > bonefish@graete:~/develop/haiku> time rm -rf bin2; time sync > > real 0m22.939s > user 0m0.073s > sys 0m8.852s > > real 0m0.292s > user 0m0.001s > sys 0m0.008s > > > Raw Write > ========= > > [BeOS/BFS] > > $ time dd if=/dev/zero of=tt bs=10M count=10; time sync > 10+0 records in > 10+0 records out > > real 0m3.755s > user 0m0.002s > sys 0m0.146s > > real 0m0.169s > user 0m0.001s > sys 0m0.013s > > [Linux/ReiserFS] > > bonefish@graete:~/develop/haiku> time dd if=/dev/zero of=tt bs=10M count=10; > time sync > 10+0 records in > 10+0 records out > > real 0m0.542s > user 0m0.000s > sys 0m0.503s > > real 0m3.561s > user 0m0.001s > sys 0m0.081s > > > Find > ==== > > [BeOS/BFS] > > $ time find . -name nosuchfile > > real 0m47.185s > user 0m0.247s > sys 0m2.556s > > [Linux/ReiserFS] > > bonefish@graete:~/develop/haiku/haiku/src/bin> time find . -name nosuchfile > > real 0m10.534s > user 0m0.150s > sys 0m0.405s > > [BeOS/ReiserFS] (!!!) > > $ cd /ReiserFS\ untitled/home/bonefish/develop/haiku/haiku/src/bin/ > $ time find . -name nosuchfile > > real 0m12.589s > user 0m0.178s > sys 0m3.906s ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV