Tzeentch

#NoBot #NoIndex #NoBridge

  • 0 Posts
  • 20 Comments
Joined 2 years ago
cake
Cake day: June 24th, 2023

help-circle
  • Linux is kind of dogshit at memory management unfortunately, due to a thing called overcommit it can essentially commit more memory than there actually exists on the system, cue potential for hard locks, stutters and freezing, there are some mitigations

    Now the common recommendation is brute forcing the issue by making a swap partition or file, this is generally a bad idea on a modern system, due to the speed of ssds and even some fast spinning hard drives its possible for the kernel to get confused and think there’s enough memory spare where it becomes less snappy about clearing memory, often ironically making the problem worse, generally only use a swap partition if you need something else like hibernation

    What should instead be done these days is setting up zram which essentially does compression of your memory in ram so that it stays clear for as long as possible, zswap does something similar but will also fallback to a swap partition soon after, the two are very similar so just setup zram on installs that dont have or need a swap partition, and setup zswap on ones that need or already have a swap partition(as they’re annoying to remove in an existing install)

    But we’re not done yet because while this will buy you a lot of time there is still another massive issue at play, the linux kernel’s oom killer doesn’t generally care how full your memory is unless it starts biting into the kernel’s needs, this means it can take ages before it does anything even if everything is so overloaded where your display server has been hard frozen for 20 minutes, and since it has no real priority outside of the kernel it may force shut off vital processes first rather than secondary ones

    To fix this you want a userspace oom killer that keeps in mind the entire OS and prioritises what needs to go first, many exist but if you want something that just works then EarlyOOM is great

    With these mitigations in place your OS should become much less prone to freezing and stutters, if you really want a nuclear option there’s also cgroups







  • TzeentchtoPrivacy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    11 months ago

    This is probably the best resource for keeping track of which search engine options exist and what their quality is like: https://seirdy.one/posts/2021/03/10/search-engines-with-own-indexes

    For a “fire and forget” option that doesnt require any configuration you cant go wrong with good ol DuckDuckGo: https://duckduckgo.com

    If you’re okay with dealing with more configuration and breakage then Searx can be pretty powerful as its a metasearch engine that can search with every search engine you tell it at once and agregate the results(while proxying things to maintain privacy): https://searx.space (had decent luck with the https://search.sapti.me instance if you just wanna try it out without searching through a list of options)

    Also all search engines are kinda bad due to SEO spam and “AI” generated images and articles polluting the results, consider using uBlacklist to help you filter out the trash from search results(think of it like ublock origin for search engine results), can use it for basically any search engine so no reason to not set it up: https://github.com/iorate/ublacklist







  • Your best bet is to find a car where its easiest to disable the antenna/cellular modem for, so look for a car that has a fuse for the DCM(digital communications module) you can pull, as having it be a fuse means you can readily reconnect it should you need to, try to find its schematic online, or find the repair manual for the car or use a car maintenance program,

    Apparently its also possible to call the car company and ask for an opt out when serviced,

    I vaguely remember some people experimenting with replacing the head unit with aftermarket ones, but no idea how well that would actually go in practice