Skip to content

u/gamzer

In this archive from Oct 2011 to May 2023

59
posts
326
comments
10
media
3.8k
score

When I decided to use Linux exclusively, I had little Linux knowledge. My goal was to have a simple setup that I understand, can fix and easily maintain.

I set up different distros trying to achieve this goal, but I failed. Then I installed Arch and succeeded. I had my first installation for multiple years. When switching to 64 bit, I reinstalled as I wanted to make several big changes. The second installation is now over 8 years old.

I understand my setup sufficiently to use, change and fix it. And most importantly, the installation is exactly what it would be if I reinstalled today. Practically zero accumulated cruft over the years.

I failed to achieve this goal with "easy to use", opaque, "blackbox" distros.

The price I paid? The first installation and setup on a laptop took two or three days. However, I'm convinced that I saved much more time since.

1 points

Great, thanks a lot!

I had this in mind:

The AUR community has the ability to vote for packages in the AUR. If a package becomes popular enough — provided it has a compatible license and good packaging technique — it may be entered into the community repository (directly accessible by pacman or abs).

https://wiki.archlinux.org/index.php/Arch_User_Repository

“Popular” is obviously vague. If a package has a tiny number of installations, it could still be considered popular in a different way. Consider tools for emergencies like data recovery. Few people might install them beforehand, but there are still popular packages for these tasks.

1 points

cryptsetup benchmark

In case anyone is wondering, these are the results for a several years old mobile CPU (i7-3520m):

# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      1148495 iterations per second for 256-bit key
PBKDF2-sha256    1483134 iterations per second for 256-bit key
PBKDF2-sha512     981812 iterations per second for 256-bit key
PBKDF2-ripemd160  865161 iterations per second for 256-bit key
PBKDF2-whirlpool  546702 iterations per second for 256-bit key
argon2i       4 iterations, 960446 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
argon2id      4 iterations, 961603 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
#     Algorithm |       Key |      Encryption |      Decryption
        aes-cbc        128b       586.8 MiB/s      2050.0 MiB/s
    serpent-cbc        128b        83.0 MiB/s       286.0 MiB/s
    twofish-cbc        128b       172.6 MiB/s       331.7 MiB/s
        aes-cbc        256b       433.8 MiB/s      1534.2 MiB/s
    serpent-cbc        256b        82.9 MiB/s       284.9 MiB/s
    twofish-cbc        256b       171.4 MiB/s       334.8 MiB/s
        aes-xts        256b      1277.7 MiB/s      1306.8 MiB/s
    serpent-xts        256b       296.9 MiB/s       281.8 MiB/s
    twofish-xts        256b       322.0 MiB/s       329.2 MiB/s
        aes-xts        512b      1060.3 MiB/s      1077.3 MiB/s
    serpent-xts        512b       294.6 MiB/s       281.4 MiB/s
    twofish-xts        512b       323.8 MiB/s       331.1 MiB/s
1 points

Whether ext4 has been proven to be stable is up for debate.

SUSE doesn’t recommend it.

The bcachefs developer says:

ext4, which works - mostly - but is showing its age. The codebase terrifies most filesystem developers who have had to work on it, and heavy users still run into terrifying performance and data corruption bugs with frightening regularity. The general opinion of filesystem developers is that it's a miracle it works as well as it does, and ext4's best feature is its fsck (which does indeed work miracles).

RedHat defaults to XFS but I don’t know their reasons.

This XFS talk contains some comparisons to ext4. Note that it’s from 2012, so butterfs comments might be out of date.

SUSE and RedHat recommend or recommended XFS.

The bcachefs developer has good things to say about it:

xfs, which is reliable and robust but still fundamentally a classical design - it's designed around update in place, not copy on write (COW). As someone who's both read and written quite a bit of filesystem code, the xfs developers (and Dave Chinner in particular) routinely impress me with just how rigorous their code is - the quality of the xfs code is genuinely head and shoulders above any other upstream filesystem. Unfortunately, there is a long list of very desirable features that are not really possible in a non COW filesystem, and it is generally recognized that xfs will not be the vehicle for those features.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.