Skip to content

u/obj_Obj

In this archive from Oct 2021 to Jun 2023

2
posts
146
comments
1
media
556
score

When you compile most stuff it defaults to using the original x86 spec (from like the 1990s), but CPU manufacturers have added some more instructions to the spec over time (x86v2, v3, and recently v4). v2 and v4 aren't that important, but the instructions added in v3 give like a 20% performance improvement over v1

People who use gentoo put -march=native in their compiler args iirc (to tell the compiler to autodetect features from their current cpu), and I think theres different march flag for the x86 versions or something (idk, I haven't used gcc at all)

9 points

You should remove your swap, then use zram-generator and a config file something like this:

[zram0]
zram-size = ram * 5
compression-algorithm = zstd

You’re probably never going to use 5x your physical ram, so there isnt really a point in going higher

Also, you might want to add zswap.enabled=0 in your kernel parameters to be safe, in case zswap is enabled for some reason

2 points

The kernel does have a system to compress ram when you run out, and its called zram lol

I have 77 gigs of zram swap rn on a machine with 16g of ram

2 points

The issue causing the AUR to go down the first time was pamac using ?type=search in the URL rather than ?type=suggest, which requested a full search from the AUR every time a character was typed, rather than just search suggestions, which is clearly a bug.

Looking into the second issue however it does seem like it was Arch's fault in that case (pamac was making the correct API requests, the AUR servers just couldn't handle it)

I have an issue with SSL certificates being out of date mainly because of how easy it is to automate it (takes like 5 minutes in your reverse proxy config, and some reverse proxies don't even need any configuration)

2 points

Well if Manjaro is working well for you, yeah there's no reason to use anything else. Back when I used it (1-2 years ago I think) I had problems with paru multiple times when there were openssl updates, as well as some -git AUR packages (don't remember which ones)

What I mean by bad planning/QA is when they released Pamac updates (twice) that DDOSed the AUR (sent a lot of unnecessary requests) and made it unavailable for all arch/arch-based distro users until the problem was fixed (when this happened a lot of requests were being sent, like thousands per instance of pamac running, and all manjaro users were using pamac. The arch devs ended up having to ban all AUR connections from pamac for like a week. It was a bug, not intentional, and it got past the manjaro devs' QA)

And out of date SSL certificates prevents anyone from accessing the sites the certificate has expired on AT ALL, as browsers/other programs will see that the SSL certificate has expired and refuse to connect to the website.

2 points

In my case Manjaro had a lot of issues, enough to push me to try installing base arch. The arbitrary 2-week delay on packages also didn't help (conflicts with AUR packages due to the delay)

The manjaro devs also have a history of bad planning/security/QA, as they DDOSed the AUR twice, shipped pre-alpha kernels to end users, and let their SSL certificates expire 5 times (plus telling users to roll back their system clock the first time their SSL certificate expired), which doesn't affect the OS itself but still isn't ideal

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