Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hypertown@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

It's fine until you run out of disk space

lemmy.world

message-square
132
fedilink
1.03K

It's fine until you run out of disk space

lemmy.world

hypertown@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
132
fedilink
  • ChaoticNeutralCzech@feddit.de
    link
    fedilink
    arrow-up
    206
    ·
    2 years ago

    Protip: Put swapfile on ramdisk for highest speed

    • Dran@lemmy.world
      link
      fedilink
      arrow-up
      90
      ·
      2 years ago

      Unironically that’s how zram works

      • seaQueue@lemmy.world
        link
        fedilink
        arrow-up
        28
        ·
        2 years ago

        Don’t do boy zram dirty, it has a ton of utility when you have ample spare compute and limited RAM.

        • Dran@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Is that not how it works though? Lol

      • jtfletchbot@lemmy.ko4abp.com
        link
        fedilink
        arrow-up
        21
        ·
        2 years ago

        Doesn’t it compress the contents that it’s storing to help kind of get the best of both worlds?

        You get faster storage because it’s in ram still, but with it being compressed there’s also “more” available?

        I could be completely mistaken though

        • Ew0@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          16
          ·
          2 years ago

          You are correct, although zram uses more cpu power since it compresses things. It’s not really an issue if you’re not using a potato :=)

          • Still@programming.dev
            link
            fedilink
            arrow-up
            11
            ·
            2 years ago

            even if you are using a potato it probably doesn’t have much ram so slightly slowing it to make things run smoother is a very popular choice

            • jtfletchbot@lemmy.ko4abp.com
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              Today I learned!

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 28 users / day
  • 1.76K users / week
  • 2.53K users / month
  • 9.95K users / 6 months
  • 441 local subscribers
  • 35.7K subscribers
  • 1.73K Posts
  • 37.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org