zfs vs ext4?
hello, question, i have heard that zfs is better then ext4 and that i should switch over to it, my question is
why? why and how is zfs better then ext4? thank you |
It's not better (or worse), it's different.
Generally, X is never better than Y unless one first defines what "better" means, and - unless that definition matches your own needs - what is better for someone else may or not be the same for you. ZFS is more akin to Btrfs (B-tree file system) - if you have a reason to switch you should be evaluating both of them - but sometimes people tell others to use the same thing as them, without considering the needs of others. //en.wikipedia.org/wiki/Comparison_of_file_systems |
Quote:
There are lots of things you can find by putting your exact question into a search engine: https://storage.qsan.com/blog/zfs-vs...torage%20space. |
Quote:
|
Quote:
> where did you hear this? youtube and reddit > are you having problems with your system? no, i just want to have the best system possible |
Quote:
BtrFS was mentioned. What you might do is compare BtrFS with OpenZFS, since they are most like each other. Then compare EXT4 with XFS since they are most like each other. After that if you're still feeling adventurous compare Ceph with (deprecated) OpenAFS. Comparing EXT4 with OpenZFS would be comparing technologies which are too dissimilar for the comparison to be of much use. How do you plan to actually use your storage? How many systems or drives are involve and how many people? Those factors will steer you in one direction or another. If it's for just an off-the-shelf laptop for home or average work use, then EXT4 is the mostly likely outcome. |
I ran tests (12 years ago now: LORD I am getting OLD!) using EXT4, EXT3, BTRFS (it was not widely used yet then and has been improved a LOT since), XFS, RaiserFS4, ZFS, and one other I forget. Where appropriate MDMADM RAID-5 was in play.
Mine was a DATABASE APPLICATION using a proprietary in-house database engine with massive client users (emulated). I found EXT4/LVM/MDADM performed best for that application. ZFS might have performed better, but there was not support for it in the kernel so it was not running at kernel priority. All of them did well enough to be used in production, but ZFS and BTRFS dragged on some operation involving simultaneous access to several big files and hundreds of small ones at once. XFS and Raiser could corrupt under some loads, but performed well until then. None of them came up to the speeds EXT4 would maintain, but ZFS was pretty close. The things is that performance depends upon the hardware and application, and the OS I/O buffer operation, as much as the FS drivers and file system. Testing must be specific to your use and hardware to have real meaning. If you are not seeing issues and your performance is adequate, breaking it makes no sense. BTRFS has become more performant since then, and if you do not need RAID-5/6 is about as stable and is a good option for normal use. EXT4 if you need better speed. ZFS only if you are making a file server or have other application that is is specifically good at by design. |
Quote:
Quote:
Ask yourself logical questions about your setup and what your goals are. |
Quote:
|
Quote:
It's not impossible that I'm wrong, but it's far more likely that the idiots on YouTube and Reddit are wrong. Quote:
There is almost never a "best at everything" because many properties are mutually exclusive, and different things matter more/less in different situations. If you don't know what criteria matters to you, that's what you need to figure out first, generally by identifying a problem: "X isn't good enough because ..." and then there's something concrete to improve. |
I tend to use the filesystem that the distro has by default. A lot of them use either.
They have quite different features. In some ways ZFS is superior. Web site Phoronix tests distro's and kernels and filesystems for some starting point to decide. |
Quote:
just for my personal use for myself > How many systems or drives are involve and how many people? 1 computer, i have multiple external drives that i encrypt, and for only myself |
Quote:
youtube and reddit |
I'd just stick with ext4 then. Home users rarely need anything more for their systems in my opinion. It is 'simple' and to the point. Well supported. No extra commands to know or figure out. Just format partitions or drives and go. And plenty fast for and my/your use. I see all these 'fancy' file systems with features I'd never use like extending a disk to another disk. Really? I have 'plenty' of room on my 2TB drives. And keep good backups. I don't encrypt as I don't see a need to do so (just another layer of headaches for 'my' use). I do encrypt individual 'files' when needed however on the disks. Anyway, that's my opinion.
Youtube and reddit are mine fields of mis-information (and that goes for the AI garbage too). As pointed out above, you have to dig it out your self, evaluate in your head, and then make a decision. Just like voting, you can just listen to talking heads and nod/vote. Or dig out the truth behind the scenes and make an informed decision... :) |
Quote:
Quote:
You have one computer, with external drives. What good, exactly, is ZFS in this case?? Are you going to put the external drives in a pool, and if you are, what do you think is going to happen when you UNPLUG one of those external drives?? This makes zero sense to do in your case. AGAIN: unless you have a *SPECIFIC NEED* to use ZFS, what's the point, exactly??? |
All times are GMT -5. The time now is 09:35 AM. |