Design documents and specification of Ext4 ?
Re: Design documents and specification of Ext4 ?
Do u think Btrfs is better than ext4 in term of speed and stability? The two file system seems to have the same amount of documents anyway. So I'm looking for faster design, the faster is the better.
"Programmers are tools for converting caffeine into code."
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
The two file systems struggle to achieve different goals. ext4 is probably more suitable for home systems while Btrfs for servers and perhaps even more distributed environments. If it's speed rather than features you're looking for, they are both in the wrong direction.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
- NickJohnson
- Member
- Posts: 1249
- Joined: Tue Mar 24, 2009 8:11 pm
- Location: Sunnyvale, California
Re: Design documents and specification of Ext4 ?
For a first (or probably up to third) filesystem, I doubt ext4 is the best way to go - ext2 is much simpler. Afaik, the Linux folks didn't even have a stable implementation of ext4 until a few months ago. If you're not GPLed, and you want speed through complexity anyway, you might as well go with ZFS, which iirc is much better documented.
Re: Design documents and specification of Ext4 ?
Is ZFS the fastest one?
"Programmers are tools for converting caffeine into code."
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Design documents and specification of Ext4 ?
Google?
Still, if you want an established, used, fast (not fastest), and documented FS, you might want to check out XFS. But starting simple might be, especially considering your reputation in this thread, a much better idea.
Still, if you want an established, used, fast (not fastest), and documented FS, you might want to check out XFS. But starting simple might be, especially considering your reputation in this thread, a much better idea.
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
Haha, did you google for the slowest ones around or are you trying all the ones you know on us?quanganht wrote:Is ZFS the fastest one?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Design documents and specification of Ext4 ?
I will not try something like ext or FAT16. Actually I (we) have a long term plan so I think it's better to choose a good FS and stick with it until the OS become mature.
"Programmers are tools for converting caffeine into code."
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
Re: Design documents and specification of Ext4 ?
Then try ext2 and/or FAT32. I don't even know any OS that implements ext support.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
Re: Design documents and specification of Ext4 ?
Hi,
I would suggest ext2. It's not the fastest, but it's relatively fast and it's an easier start for ext3/4. Plus, there are lot's of documentation about ext2. As for ext3, I've only found one useful explanation of the journal implementation, but the Linux code is readable, as long as you know the basics of how file systems are implemented in Linux. I haven't read anything about ext4 yet so I can't help you there... Some books were helpful for me: Unix Filesystems - Evolution, Design and Implementation; and also the VFS, Cache and ext2 chapters of Understanding the Linux Kernel.
If you want the fastest file system, you must first consider where it's going to run. Either way, there is always a tradeoff. Consider Log file-systems, they provide probably the fastest write speeds for HDs (no seeking), however for reading it might be an entirely different story. If you want fast read speeds, tree organization certainly helps a lot (like Btrfs), however write speeds might suffer a little. If you truly want the fastest, you'll probably have to waste some space anyway...
Hope this helps, and good luck!
JVFF
I would suggest ext2. It's not the fastest, but it's relatively fast and it's an easier start for ext3/4. Plus, there are lot's of documentation about ext2. As for ext3, I've only found one useful explanation of the journal implementation, but the Linux code is readable, as long as you know the basics of how file systems are implemented in Linux. I haven't read anything about ext4 yet so I can't help you there... Some books were helpful for me: Unix Filesystems - Evolution, Design and Implementation; and also the VFS, Cache and ext2 chapters of Understanding the Linux Kernel.
If you want the fastest file system, you must first consider where it's going to run. Either way, there is always a tradeoff. Consider Log file-systems, they provide probably the fastest write speeds for HDs (no seeking), however for reading it might be an entirely different story. If you want fast read speeds, tree organization certainly helps a lot (like Btrfs), however write speeds might suffer a little. If you truly want the fastest, you'll probably have to waste some space anyway...
Hope this helps, and good luck!
JVFF