Journaling και fsck
Άγγελος Οικονομόπουλος
aoiko at cc.ece.ntua.gr
Tue Nov 5 15:29:01 EET 2002
On Monday 04 November 2002 02:14, V13 wrote:
[snip]
> Το reiserfs ίσως κάποια μέρα να είναι το κορυφαίο FS, σύμφωνα πάντα με
> αυτά
που λένε στις σελίδες τους οι τύποι... προς το παρόν όμως είναι
> ακόμα ψιλο-beta (κατά τη γνώμη μου).
(fantazomai milas gia to reiser3, alla mia pou aneferes ta claims tou hans
reiser (gamame kai dernoume kpl))
molis edwse o Danilov to url gia to reiser4 kai o Reiser to anakoinwse sthn
lkml, ka8hsa kai eftia3a enan kernel me to patch. shmera ka8hsa na dw kai
giati ta reiser4progs den ginontan build sto debian mou, eftia3a ena
reiser4 kai ekana 2 proxeires dokimes. apotelesmata:
phrunas: to bk tree otan anakoinw8hke to reiser4 (gurw stis 31-10),
ftiagmenos me ton gcc-3.2 tou freebsd (kai mpoutarismenos in-place, apo to
ffs - grub the best etc.) auto shmainei oti to ext3 den xrhsimopoiei ton
orlov allocator.
(akolou8oun edited copy-paste apo 2 script sessions)
i) par8eno reiser4 sto hdd1 me ta default options se mkfs.reiser4 kai mount
erwin:~# ll /usr/dune.avi
-r-xr-xr-x 1 root root 730308608 Jun 20 15:42 /usr/dune.avi
erwin:~# sfdisk -l -uM /dev/hdd | grep hdd1 | awk '{ print $4 }'
954-
reiser4, default mount options
erwin:~# cd /mnt/fakeroot/
erwin:/mnt/fakeroot# time cp /usr/dune.avi .
real 4m15.002s
user 0m0.072s
sys 0m30.096s
erwin:/mnt/fakeroot# time cp -R /usr/src/linux-29-09-02/ linux
real 0m44.948s
user 0m0.642s
sys 0m15.300s
erwin:/mnt/fakeroot# cd ..
# umount & remount me ta idia options gia mhn einai cached ta dentries
erwin:/mnt/fakeroot# time rm -rf linux/
real 0m21.937s
user 0m0.376s
sys 0m7.474s
# reboot
ii) par8eno ext3 sto hdd1 me ta default options sto mkfs kai mounted me
data=writeback
erwin:~# cd /mnt/fakeroot/
erwin:/mnt/fakeroot# time cp /usr/dune.avi .
real 1m9.385s
user 0m0.208s
sys 0m26.469s
erwin:/mnt/fakeroot# time cp -R /usr/src/linux-29-09-02/ linux
real 1m0.266s
user 0m0.396s
sys 0m10.223s
erwin:/mnt/fakeroot# cd ..
# umount & remount
erwin:/mnt/fakeroot# time rm -rf linux/
real 0m9.666s
user 0m0.063s
sys 0m1.737s
shmeiwseis:
to default commit interval tou ext3 einai 5 sec, tou reiser4 kati ths ta3hs
twn 10 leptwn (o reiser ebale tis fwnes stous developers tou prin ligo sthn
lkml)
to reiser 4 _egrafe_ ston disko ka8e ~30 sec kata th antigrafh tou dune.avi
opoios 8elhsei na xrhsimopoihsei to reiser4 na einai etoimos na pairnei
sunexws backtraces me "scheduling while atomic" sthn konsola.
TO BENCHMARK AUTO EINAI AXRHSTO.
den exw epanalabei tis metrhseis,
den exw balei commit interval 10 min sto ext3,
den e3etazei kamia realistikh xrhsh tou susthmatos,
polla alla pou bariemai na anaferw.
--
/**********************************
* *
* Add one to i *
* *
**********************************/
i=i+1;
Don't laugh now, wait until you see it in real life
- Notes on Programming in C (Rob Pike)
More information about the Linux-greek-users
mailing list