UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. verdre@mastodon.social
    V
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 9
    • Groups 0

    verdre@mastodon.social

    @verdre@mastodon.social

    0
    Reputation
    1
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    verdre@mastodon.social Unfollow Follow

    Latest posts made by verdre@mastodon.social

    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      @root42 I don’t think anyone in userspace handles malloc() failures, might as well kill apps instead…

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      @tbernard @pid_eins All of the above, this kind of stuff needs work all across the stack.

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      @dpk @rmader @fogti mmh interesting.. I guess this would be as far as you can get for the dynamic swap files if you want to avoid doing kernel work.

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      @x0 Nope, but would be interesting to take a look. I think they are also notoriously bad at this, so wouldn’t expect too much…

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      @rmader yup, I think all the things necessary are quite doable. Systemd could also dynamically create/remove swapfiles based on memory pressure (IIRC this was even discussed at some point).

      Probably the reason nobody does is that developers just don’t run into these issues, because they all get the beefiest machines with 64 gigs of ram 😕

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      All of this without one tab getting unloaded by Firefox, or one app getting killed without user consent.

      So OOM conditions *can* be handled without losing people's data. Don't let kernel developers fool you into believing this is an impossible problem to solve.

      (4/4)

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      With about 200 MB of disk space left, Firefox froze completely, and at the same time a window popped up telling me that Firefox and a few other apps were frozen (not killed!!!) by the system.

      The window prompted to either kill the app or resume it. Pressing resume, Firefox continued running smoothly for a few seconds, until it got frozen again. Pressing resume again, I could quickly close a few tabs, and things worked fine again.

      (3/4)

      posted in World
      V
      verdre@mastodon.social
    • RE: One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      Once my 16 GB of memory were filled up, with a good extra amount saved thanks to compression, macOS just started creating swapfiles. Memory pressure went from the green to the yellow area, things got a little bit sluggish when switching to the oldest tabs, but no major slowdowns or freezes of multiple seconds.

      The more tabs were open, the more swap files got created. At some point the disk would fill up though.

      (2/4)

      posted in World
      V
      verdre@mastodon.social
    • One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      One thing I obsess a little bit over is the fact that it’s 2026, we pretend that Linux is a serious OS, but we‘re still losing your data on a regular basis.

      Out of memory conditions (OOM) are one of our biggest pain points, so I just did a quick experiment with macOS to see how they are handling OOM.

      I loaded about 200 memory heavy tabs in Firefox and kept a close look at memory usage.

      (1/4)

      posted in World
      V
      verdre@mastodon.social