Admiral Patrick

I’m surprisingly level-headed for being a walking knot of anxiety.

Ask me anything.

Special skills include: Knowing all the “na na na nah nah nah na” parts of the Three’s Company theme.

I also develop Tesseract UI for Lemmy/Sublinks

Avatar by @SatyrSack@feddit.org

  • 12 Posts
  • 18 Comments
Joined 3 years ago
cake
Cake day: June 6th, 2023

help-circle







  • I suspect zram’s swap device only consumes RAM when it actually contains swapped pages, but I don’t know for sure. Can anyone link an authoritative statement on this?

    I’m wondering the same. I haven’t read anything authoritative, but it definitely seems like it only consumes the RAM it’s using. Otherwise, it wouldn’t be able to create block devices that exceed the physical memory. I started to wonder when I had it set to 50% (4 GB) and gave it a stress test. The 4 GB it allocated filled up but was compressed to just about 1 GB, so I thought “surely this isn’t wasting 3 GB of RAM to hold 1 GB of pages.”

    The guidelines I’ve read seem like there’s some guesswork involved in the planning. Basically you can make the zram device as large as you want so long as the compressed data is less than the physical RAM (not all pages compress equally as you mentioned).

    I’ve since bumped it to 200% of system ram (16 GB), and I think that’s probably good enough for my use cases. I’m seeing about a 4:1 average compress ratio, so I could go higher, but 8 GB has been plenty usable up until now. :shrug: I also left the original swap file in place with a lower priority as a spillover (I’m not really missing the 4 GB of disk space that uses, so might as well keep it).








  • Admiral Patrick@dubvee.orgtoLinux@programming.devKaiOS
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    I looked into it, but more for development purposes than installing it onto anything.

    Seems like it would be easy to develop for, but the ecosystem seems to be pretty locked down due to the permissions model. There’s some ability to jailbreak devices, but it’s not a huge list of supported models.

    For basic apps it’d be fine. But if I wanted to make custom applications for SMS, use bluetooth, make a new default dialer (e.g. to add SIP dialing), etc, it wouldn’t be possible since only OEMs can “bless” those. Even the next permission level down (Privileged) requires the apps to be signed by an authorized KaiStore.

    Since my goal at the time was to make a lightweight Meshtastic client, I just gave up since I wouldn’t have the necessary permissions to make it work.



  • Admiral Patrick@dubvee.orgtolinuxmemes@lemmy.worldSnap bad
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Let the hate of the crowd wash over me, but I don’t even like Flatpak, and I’ve got love-hate (mostly hate) relationship with AppImage as well.

    Just give me a system package or a zipped tarball.

    In recent years, have had to just get used to needing to build most projects from source.