Skip to content

u/karmalien

In this archive from Sep 2011 to Apr 2024

3
posts
71
comments
2
media
460
score

And for zram you'd want to increase kernel swappiness up to 200.

I'd also like to know the reasoning here.

Edit: Found the following paragraph in the Kernel docs.

For in-memory swap, like zram or zswap, as well as hybrid setups that have swap on faster devices than the filesystem, values beyond 100 can be considered. For example, if the random IO against the swap device is on average 2x faster than IO from the filesystem, swappiness should be 133 (x + 2x = 200, 2x = 133.33).

2 points

To check the hash algorithms of your system's users:

# cat /etc/shadow | grep ':\$'

The number after the dollar sign encodes the hash algorithm:

ID  | Method
─────────────────────────────────────────────────────────
1   | MD5
2a  | Blowfish (not in mainline glibc; added in some
    | Linux distributions)
5   | SHA-256 (since glibc 2.7)
6   | SHA-512 (since glibc 2.7)

Source: https://unix.stackexchange.com/a/430143/221018

Edit: Ouch. Don't be like me. Don't use cat and grep like this. Just use grep.

46 points

How many more people do I have to thank for this minor pacman "update"?

With that time I could have written my own pacman. Or at least another AUR helper.

But whatever... Thank you, too!

1 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.