dd if=/dev/urandom of=/dev/null  

Feel free to fork.

    • ImgurRefugee114@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      14 days ago

      Unironically. I did this with my 480 back in the day in an uninsulated apartment. Also crypto mining in the narrow slice of time where it was profitable-ish to do so with a consumer GPU. But then ASICs took off and I went back to folding / SETI

      • ravenn@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        would you mind explaining what you mean by folding/SETI? I’m assuming you mean dedicating hardware power to (protein?) folding and the Search for Extra Terrestrial Intelligence. Is there payout for this?

        • ImgurRefugee114@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I used einstein@home and seti@home and things like that (BOINC; and I think some other thing at some point). No payout. Well, for me at least. There were some projects, like curecoin; but none that were economically viable.

          I was saying that when mining lost profitability, I donated my processing instead. Actually, I went donating->crypto->donating; before and after crypto was profitable. Had to heat my space anyways, so may as well do some computation while I was at it.

      • juipeltje@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        13 days ago

        I remember trying this for a little bit too and did some crypto mining, but after leaving it on for days my room refused to warm up at all. I think the room was just too big for the heat output of the pc to handle. In the end i gave up and just turned on the heater again.

        • ImgurRefugee114@reddthat.com
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          13 days ago

          Yeah, it was basically like me running a ~400 watt heater. It’s not a ton, but it’s also not nothing. Even when I did use resistive electric heaters, I still kept it going because it still contributed. 15A 120v circuits, ~1500w heaters are the norm. At the time I did that I was also running Dual Xeons; so, full system draw was in the ballpark of ~600w. At the time, it was cheaper-than-free heat, so why not, even if just supplemental.

          Of course, now that doesn’t work at all; always a loss. But still: It’s a heater that does some limited good while also heating. The electricity is the same anyways… May as well push it through some logic gates before warming my room.

          100% efficient. (of course, heat pumps can go over 100%… But as far as resistive heating goes, it’s not like a GPU is any worse then a space heater… Watts are watts)

      • RandomHugs@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        14 days ago

        How much did someone make from that? With one ordinary PC I mean, to not turn my question into a “how long is a rope” type.

        • ImgurRefugee114@reddthat.com
          link
          fedilink
          arrow-up
          1
          ·
          14 days ago

          At the time I was running it, it was about enough to offset the cost of electricity and maybe turn a slight profit. Nothing substantial. But then it got way harder to mine btc and asics dominated the field.

          Of course, had I started a few years earlier, I’d probably be a billionaire.

  • crank0271@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 days ago

    Look at ol’ Moneybags here, with their computer hooked up to their neighbor’s electric meter.

  • qwerty@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    14 days ago

    Great opportunity to get into mining monero, I’ve been using my gaming PC as a heater for years now, compute generated heat is almost 100% as power efficient as a regular electric heater.

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      14 days ago

      Regular electric heaters kinda suck, though. Heat pumps are 3-5x as efficient (they can go above 100% because they move heat rather than creating it) and natural gas is often cheaper per BTU.

      I’m not saying that mining crypto in the winter is bad, just that it isn’t necessarily completely “free” if your regular heater is something other than electric resistance.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      for((i=0;i<$(grep -c '^processor' /proc/cpuinfo);i++)); do dd if=/dev/urandom of=/dev/null & done

      killall dd if you want to kill them

      Caveats: Runs on my machine. Might not work on yours. If it does, you accept all responsibility for any system damage from running it or any version with typos.

      Other notes: This doesn’t actually lock each process to a specific processor, but the system ought to spread the load anyway. taskset --cpu-list $i before the dd if you absolutely have to have that.