Archived

This topic is now archived and is closed to further replies.

Crazy_Vasey

ext3

Recommended Posts

My system is really zipping along now much better than it used to with ext2. Extracting a 2meg .tar.gz file with ark is done almost instantly, it''s great Anyone else noticed speed boosts like this?

Share this post


Link to post
Share on other sites
with ext3, you should notice a speed EROSION, not a boost

Its probably just psychological, or you used to be using an older kernel....

for thosen ot in the know, ext3 is ext2 with some extra journaling stuff, which (really simplified) increases reliability.

You can actually decrease the negative effects (read: speed it up) of going from ext2 to ext3 by switching from ordered to writeback modes... google it

There were some benchmarks of ext3 (along with reiserfs) done by some hacker... it was posted to the linux kernel mailing list not too long ago...

Share this post


Link to post
Share on other sites
It seems faster to me, too. Maybe it''s something other than just the FS, but when I went from Slack 8.0 to 8.1 (and ext2 to ext3), I no longer experience temporary system hangs where I might be extracting a tarball, and my mp3''s will stop playing or play choppily for a bit. Actually, everything just runs smoother now... Maybe it''s not the FS though but something else that was included in 8.1...

Share this post


Link to post
Share on other sites
I''m willing to bet quite a lot that it isn''t that ext3 is faster than ext2, but rather that a different configuration change caused the speedup.

specifically, one of you said you went from slack 8.0 to 8.1? but you don''t mention kernel versions...

you could have gone from 2.2.19 to 2.4.18, if you''ve never changed your kernel

Share this post


Link to post
Share on other sites
No, I actually went from 2.4.17 to 2.4.18

Besides, I changed kernels quite frequently under my old system, and the same little temporary hangups kept happening.

Share this post


Link to post
Share on other sites
Hi !
i''m using ext2 on a redhat 7.3, i have a dual boot with windows (which i use lesser everyday), with one partition for each, so is there a way for me to turn my ext2 partition into an ext3 one without having to reinstall everything ?

thanks in advance

--
flure

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by flure
Hi !
i''m using ext2 on a redhat 7.3, i have a dual boot with windows (which i use lesser everyday), with one partition for each, so is there a way for me to turn my ext2 partition into an ext3 one without having to reinstall everything ?

thanks in advance

--
flure


Assuming you have backups of your partitions and that your HD is IDE with the following partitions:
/dev/hda1 -> /boot
/dev/hda3 -> /

as root, type: tune2fs -j /dev/hda1 && tune2fs -j /dev/hda3 (if you have more partitions, just do so for each partition you want to convert).

Then edit /etc/fstab and change the file system of the partitions you just changed to "ext3" (don''t change anything else though). Reboot.

Note: it is very important that your kernel has ext3 support (either built-in or as a module), or you''ll run into some problems (in which case you can boot in single user mode, mount the partition holding /etc as ext2 and change everything back to ext2, that''s the beauty of ext3).

Of course if you''re careful, you''ll first try to apply this to a partition that''s not too vital to your system (like /usr/local or even /home), then proceed one partition at a time (and remember to backup).

Check the tune2fs(8) man page for more infos if you want to set some additionnal options.

Hope this helps.

Share this post


Link to post
Share on other sites