aksdb

joined 2 years ago
[–] aksdb@feddit.de 27 points 2 years ago

It likely has an edge. But I think on SSDs the advantage is negligible. Also games have the most performance critical stuff in-memory anyway so the only thing you could optimize is read performance when changing scenes.

Here are some comparisons: https://www.phoronix.com/news/Linux-5.14-File-Systems

But again ... practically you can likely ignore the difference for desktop usage (also gaming). The workloads where it matters are typically on servers with high throughput where latencies accumulate quickly.

[–] aksdb@feddit.de 12 points 2 years ago

wieder richtig kommunizieren

Du meinst statt den Problemen ins Gesicht zu sehen und die Probleme zu benennen (wie es z.B. Habeck macht) lieber wieder alles schön-reden und so tun, als wäre nichts?

Wir hatten vor den Grünen lange keine Partei, die sich so offen mit absoluten Scheiß-Themen rumschlägt/schlagen muss.

[–] aksdb@feddit.de 143 points 2 years ago* (last edited 2 years ago) (30 children)

As with every software/product: they have different features.

ZFS is not really hip. It's pretty old. But also pretty solid. Unfortunately it's licensed in a way that is maybe incompatible with the GPL, so no one wants to take the risk of trying to get it into Linux. So in the Linux world it is always a third-party-addon. In the BSD or Solaris world though ....

btrfs has similar goals as ZFS (more to that soon) but has been developed right inside the kernel all along, so it typically works out of the box. It has a bit of a complicated history with it's stability/reliability from which it still suffers (the history, not the stability). Many/most people run it with zero problems, some will still cite problems they had in the past, some apparently also still have problems.

bcachefs is also looming around the corner and might tackle problems differently, bringing us all the nice features with less bugs (optimism, yay). But it's an even younger FS than btrfs, so only time will tell.

ext4 is an iteration on ext3 on ext2. So it's pretty fucking stable and heavily battle tested.

Now why even care? ZFS, btrfs and bcachefs are filesystems following the COW philisophy (copy on write), meaning you might lose a bit performance but win on reliability. It also allows easily enabling snapshots, which all three bring you out of the box. So you can basically say "mark the current state of the filesystem with tag/label/whatever 'x'" and every subsequent changes (since they are copies) will not touch the old snapshots, allowing you to easily roll back a whole partition. (Of course that takes up space, but only incrementally.)

They also bring native support for different RAID levels making additional layers like mdadm unnecessary. In case of ZFS and bcachefs, you also have native encryption, making LUKS obsolete.

For typical desktop use: ext4 is totally fine. Snapshots are extremely convenient if something breaks and you can basically revert the changes back in a single command. They don't replace a backup strategy, so in the end you should have some data security measures in place anyway.

*Edit: forgot a word.

[–] aksdb@feddit.de 1 points 2 years ago (1 children)

Does this replace the third party Better Thermostat?

[–] aksdb@feddit.de 7 points 2 years ago* (last edited 2 years ago) (2 children)

What fucks me up is that I have to force myself over and over to take notes of some sort because basically every damn time I am fully convinced that I will remember even though it practically never works out that way.

[–] aksdb@feddit.de 2 points 2 years ago

So if I put a movement sensor that triggers a light in front of a jewish household, they couldn't leave on sabbath because their movement would trigger a fire?

[–] aksdb@feddit.de 2 points 2 years ago

One problem is that they need to put a price tag and therefore a timeline on such a project. Due to the complexity and the many unknown unknowns in theses decades worth of accumulated technical debts, no one can properly estimate that. And so these projects never get off and typically die during planning/evaluation when both numbers (cost and time) climb higher and higher the longer people think about it.

IMO a solution would be to do it iteratively with a small team and just finish whenever. Upside: you have people who know the system inside-out at hand all the time should something come up. Downside of course is that you have effectively no meaningful reporting on when this thing is finished.

[–] aksdb@feddit.de 4 points 2 years ago

It only needs to work long enough for the current management to cash in on their savings. Then it's their successors problem.

[–] aksdb@feddit.de 21 points 2 years ago

Nope, you aren't the only one.

It pisses me off each time, but I also expected it.

[–] aksdb@feddit.de 3 points 2 years ago

To execute more than one process, you need to explicitly bring along some supervisor or use a more compicated entrypoint script that orchestrates this. But most container images have a simple entrypoint pointing to a single binary (or at most running a script to do some filesystem/permission setup and then run a single process).

Containers running multiple processes are possible, but hard to pull off and therefore rarely used.

What you likely think of are the files included in the images. Sure, some images bring more libs and executables along. But they are not started and/or running in the background (unless you explicitly start them as the entrypoint or using for example docker exec).

[–] aksdb@feddit.de 3 points 2 years ago (3 children)

The point with an external drive is fine (I did that on my RPi as well), but the point with performance overhead due to containers is incorrect. The processes in the container run directly on the host. You even see the processes in ps. They are simply confined using cgroups to be isolated to different degrees.

[–] aksdb@feddit.de 4 points 2 years ago

If the application in question doesn't need to write anything, it also doesn't write outside of docker, so it also won't wear down the SD card.

If the app has to write something, a fully read-only container will simply not work (the app will crash or fail otherwise).

view more: ‹ prev next ›