I got a pc that suffers from severe heating problems because of its poorly designed passive cooling case. I tried several strategies to put temperature under control, did a lot of tests with thermald, but ended up hacking a fan into the case. However, I still have problems with ssd temperatures.

Right now, as I write this, the nvme ssd is at 67ºC and easily goes beyond 80 or 90 during data transfers. I already lost 2 ssds before realizing this was the problem, because I was controlling just the cpu temperature.

There’s no physical way to force airflow where the ssd is, so I was wondering if there’s some way to throttle data transfer of something to prevent the ssd temperatures from reaching a threshold. All I could find was a vibecoded github repository. I don’t care if data transfer gets ridiculously slow, as long as the ssd remain safe, and I can’t consider getting any new hardware right now.

I’m currently running fedora 44 on that machine

Edit: I thought there was an easier software mitigation to that, but apparently, solutions will tend to the hardware side, so here are the hardware details:

  • It’s an unbranded chinese cheap mini pc with a heat dissipation case that doesn’t dissipate well
  • The ssd is mounted on the back of the motherboard. The model is a sandisk M.2 1TB 2280
    Here’s a photo of the case, for the reference (don’t judge me lol):

image

  • fuckwit_mcbumcrumble@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    4 小时前

    You need contact in between the SSD and the case. Most cheap mini PCs like that don’t cool their drives well. You can try getting thermal pads to make good contact between the SSD and the case. Or if it’s too big and you’re stacking multiple then get a block of copper and put it in between.

    Also make sure there’s something making contact between the SSD and the motherboard.

    Also also flip than fan around so it’s blowing air into the PC and not sucking air past it.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 小时前

      Thanks. I just don’t get this part:

      Also make sure there’s something making contact between the SSD and the motherboard.

      What do you mean?

  • Dingaling@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 小时前

    You’ll never get good balance with that case as you’ve explained yourself.

    If you can, remove the lid and run like that, or I’d be cutting big holes in it until it’s just a chassis. If you have cats/kids and need it protecting, maybe put it in a normal PC case. I’ve run a lot of machines naked and they breathe a lot better.

      • Dingaling@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 分钟前

        And how’s that working out?

        Unless the lid is thermally bonded to the CPU or GPU, it’s unlikely to be contributing much. And if that is the case, there must be places you can add ventilation.

  • TrollAccount69@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    1 天前

    The other person said heat dissipator. The usual phrasing is heatsink.

    Your nvme is gonna have a four digit code like 2280 following the m2 designation. The last two digits indicate the length. If you cannot see the code or look up the product description then you can measure it. If you can’t measure it then you can instead look at the supported nvme form factor documentation for your case and ensure it meets the 2280 constraints. 2280 is the biggest m2 nvme ssd size so if your case supports it you’ll be fine.

    Make sure it’ll work by looking first, but five bucks will get you a passive heatsink that will probably keep you in good stead over five minute transfers and twenty bucks will get you one with a little fan on it that will make sure you’re golden even during extended transfers.

    Post the case model and I’ll look up what will fit in it with links and also see if there’s a good spot to sneak a fan in.

    E: you asked the other person how a heatsink keeps temperatures down. It’s real simple: there’s a chip that gets hot. It gets hot because when It does something heat builds up and when it does a lot of stuff a lot of heat builds up. Heat goes away through several ways but here by radiating into the material around it, the connector, pcb and air. If the air is flowing past the hot chip then the difference in heat between the chip package surface and the cool incoming air is greater than that between the stagnant air that’s being heated up by the chip and more heat from the chip can be dissipated into that cool incoming air. Which is why a fan helps.

    Air is a gas and gasses are generally not as good at taking on energy. Which is what heat is, energy. They’re bad at it because the particles of a gas are farther apart than those of a liquid or solid. If you dunked your hot ssd in a liquid like oil or encased it in a solid like aluminum you’d see much better temperatures because the hot chip could transfer its energy in the form of heat to the oil or aluminum much more efficiently because the particles of aluminum wouldn’t have to be at as high of an energized state to impart their energy onto their neighbors as those in the air have to.

    A heatsink is slapping a big chunk of solid material (that’s good at transferring heat because it’s a metal, metals are good at transferring heat) on the hot chip to get more heat off the chip faster. They have little fins and crap to make their own transfer of heat to the air more efficient.

    TLDR: if you glue a half inch nut to your chip the chip gotta heat that nut up.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      22 小时前

      Thank you. I added some hardware details to the original post.

      My doubt with the heatsink is if it will be enough for a large difference, since the internal airflow is very poor, but it’s probably worth a try nonetheless. Thanks

      • alottafagina@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        21 小时前

        Your doubts are warranted. Heatsinks at best drop component temps to ambient temps, so the heat from the cpu and gpu in such a tightly packed environment will severely limit any benefit it can offer. So this is sort of like debating whether to upgrade from 2" plastic wheels to 3" rubber/steel wheels on a pickup truck.

        Heat is the enemy of electronics and considering the cost of internal components, investing in even an ultra-budget case with 2-3 fan mounts and some fans will always be worth it. Because if the motherboard dies tomorrow, most people would find themselves up shitts creek without a paddle.

      • TrollAccount69@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        edit-2
        19 小时前

        Can you provide any more information that will help identify the mini pc? I really don’t wanna have to go geoguesser mode on image search to track down that case and point you at a heatsink that will fit.

        You have a reply saying that a heatsink won’t fix the problem. That person is deadass wrong.

        The problem is that the ssd gets hot when it does stuff. A passive heatsink provides more thermal mass and more surface area with a greater capacity to transfer its heat into the air. That will, 100% improve things.

        I am speaking from years of experience when I say the following: a half inch nut from the hardware store superglued to the package (the black “chip”) is enough to extend the functional life of almost every nand storage thing.

        The solution is to get that drives chip coupled to a piece of metal.

        E: looks like the hnsun fmc-bm02 or fmc-bm20

        • alottafagina@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          12 小时前

          You have a reply saying that a heatsink won’t fix the problem. That person is deadass wrong.

          I’m assuming you mean me. I suggest you read what I wrote again before you apply your “years of experience” because your terrible advice will leave OP with a dead PC in a couple years at best. I’m not saying an nvme heatsink won’t reduce the ssd’s temps. I’m saying you’re setting a heatgun at 100C, aiming it at the nvme and now attempting to fix the “heat issue” with a heatsink. The nvme temps are the tree in the forest and OP is better off addressing the core problem, airflow, which will both reduce nvme temps and prolong the life of the entire pc.

          The problem is that the ssd gets hot when it does stuff. A passive heatsink provides more thermal mass and more surface area with a greater capacity to transfer its heat into the air. That will, 100% improve things.

          Wrong. The SSD also gets hot when the rest of the PC “does stuff”, including the cpu and/or gpu which are often the leading contributers to internal temps. More thermal mass and surface area will mean little if the ambient temps are high. You have all these case manufacturers making high end cases with 8+ fan mounts for a reason - because of how important moving hot air away from the hardware components is. Your solution will absolutely not improve things a 100%.

          I am speaking from years of experience when I say the following: a half inch nut from the hardware store superglued to the package

          Please don’t do this OP. Superglue typically bonds two materials via chemical reaction and will damage your hardware, removal will also be a nightmare depending on the glue. I’m assuming OP wanted to say thermal adhesive but superglue sounds more “hack-ey” when trying to impress a novice I guess.

          • TrollAccount69@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            51 分钟前

            I’m gonna start off with an apology because my flippant tone may have made it seem like I was targeting you when really I’m running on all eight cylinders trying to blast out accurate, useful posts that are fun to read. I’m sorry I hit you with a little friendly fire, that wasn’t my intent.

            Working backwards: ca glue doesn’t make a chemical bond with the plastic of a semiconductor package, it creates a solid material out of itself using water that relies on the surface dressing of the stuff it’s being used on for mechanical purchase. That’s why you gotta use sandpaper to rough up stuff you’re trying to glue together first. That also explains why supergluing a nut to an ic doesn’t hold like you’d think it would and in the case of for example the big boy fets and voltage regulators of a video card creates a weaker bond than the solder to the pcb (I was carrying a mining gpu by the bolt glued to the vrm and the glue failed and the card dropped three feet onto concrete).

            Removal of ca glue can be easily accomplished with acetone. Be careful using acetone on or around electronics because it will eat certain plastics (the “a” in ca glue stands for acrylic!).

            What you do need to be careful with when using ca glue is natural fibers. For reasons I have never felt (see what I did there?) the need to investigate, it reacts with them and can get really hot.

            I’m gonna combine the other two sections of what you wrote into one because there’s a misconception there.

            Based on the ops own post, the ssd is idling at 67 or so c. We wanna keep it below 90 for [explanation redacted].

            That doesn’t mean there is 67c air inside the pc case. That would be crazy. It means the ssd can’t effectively dissipate its heat into the surrounding air at idle until it reaches 67c.

            The equation for that is (kATd)/l.

            K is the ability for the material to conduct heat, A is the area over which it’s happening, Td is the difference in temperature and it’s all over l, the distance it’s happening across.

            Basically every part of that equation is bad numbers when we’re using a bare die into the ambient air.

            But why?

            Well straight off the bat, air sucks. Heating it up is way harder than heating up for example plastic, water, oil, metal or human skin. That’s why when you run out of heating oil for the furnace and use the coil stove burner to heat the house you can keep your hands cozy by rubbing them over it but get a crazy burn when you put them on the coil. Air is such a bad conductor of heat that the difference between “ahh” and “AUGH!” Is a couple of inches.

            But plastics suck too! Remember that the part of the ssd that gets hot is the big ol chip and the part of the chip that gets hot is the silicon die inside it. Plastics are in general so bad at conducting heat that in many cases we use them explicitly for that purpose in industrial engineering. If you’re worried that some parts variable temperature will have an effect on some other part then you can plop a chunk of nylon or something down in between em and suddenly the temperature shifts are good enough for government work!

            So the ssd is getting too hot before it can transfer its heat to something else (the air). It’s being hampered by how shitty the two materials plastic and air involved are at doing this job but that isnt the whole story! We havent even talked about surface area or thermal mass!

            The chip could effectively conduct away more of its heat if it were bigger. If you have a one inch square chip it can only radiate (I’m playing fast and loose with the words here but all throughout this post I’m actually only talking about conduction, the amount of joules lost to terahertz radiation in a ssd chip is negligible) into the air close to the surface of the 1 square inch chip. If it were three square inches it would be able to heat up three times more air! A heatsink will usually have a knurled surface with fins and other hard to dust features that raise its surface area super high. It’s not uncommon to see a little bitty heatsink with an effective surface area of a foot square!

            We can also solve for bigger in a different direction, and imagine a chip with a one inch cubed package size as opposed to one inch square. Now not only do you get to take advantage of the 5x increase in surface area, but you have much more mass to mess with. If it takes one joule of energy generated in the ssd chip die as it recalls futa SpongeBob memes to heat up the normal 1 inch square package surface one degree, the one inch cubed package can take much more bikini bottom dick pics before it heats up one degree. Because it’s bigger. See what I did there? Futa, bigger? Never mind.

            That’s called thermal mass.

            Oh yeah and I guess in a heatsink there’s usually some kind of conductive material to make a good connection between the package and the heatsink surface. I didn’t talk about that but I’m running out of energy so just imagine a good explanation of why even something not specifically engineered to do the job like ptm is still better than shitty ol microscopic air pockets.

            So to recap: the heat is coming from inside the ssd. We want to get it away from the ssd. We can use a big thermal mass to the a huge surface area made out of a material that conducts heat really well coupled to the die with some solid or liquid to both reduce the effect a joule of heat generated has on the die temperature and increase the rate at which that heat is conducted into the air.

            Adding a heatsink improves literally every part of the math for getting parts cool and if that doesn’t convince you I encourage you to experiment on your own with your hair dryer and see what happens.

        • morto@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          17 小时前

          Thank you four your help and for your humor. The case doesn’t have any labels of model numbers on the outside, so I don’t know the exact model. I got it from aliexpress a few years ago, but I deleted my account recently, so I can’t search my history. However, that fmc-bm20 indeed looks very similar. The holes in the back are at the same positions

          I even tried improvising a fan into the back, where those holes apparently suited for 2.5’’ drives are, but they’re exactly where the support holds the case on the table

          • TrollAccount69@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            17 小时前

            I have an idea, if you get a chance can you post a picture of the inside of the case? I’m looking specifically for the side that you had to put the ssd in.

            I’m thinking a thermal pad might couple the ssd to the side panel if it’s close enough and work like the cases on recent macs do…

  • TiredTiger@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    22 小时前

    Slap a thermal pad and a heatsink on that NVME and you should be fine, provided the rest of the case isn’t overheating.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 小时前

      Thanks. I will probably follow that direction, as others also suggested

      About the rest of the case, it’s not overheating anymore, but other internal components are also suffering, like the wifi module, but those aren’t critical, so I’m not caring too much for now

  • Majestic@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    21 小时前

    As others have said you need to heat-sink it. If the inside of the case is getting too hot as well then you need to try to heatsink it to the case itself since that’s meant to act as a heatsink. Without airflow you’re going to have issues no matter what.

    In general to keep NVMe heat low you’d want to choose gen3-4 if possible as those run cooler than gen5. You’d want to choose one with DRAM built in rather than a pseudo-SLC cache which will heat up the drive dramatically when it’s hit. And you want a heatsink on the drive itself. Obviously you already have the drive but something to keep in mind for future reference.

    There’s a lot of options for heatsinking including large aluminum heatsinks you can buy with thermal tape that can attach to the outside of cases. The problem with that in your particular instance is your case has fins so the contact area between such an external heatsink and your case would be bad and you’d need to jam thermal putty in there and probably still get mediocre performance.

    There are mini-peltier pad elements you can buy cheap bags of which you hook up to an appropriate DC or AC power supply which you could attach to the outside of this case as well to directly cool it by drawing the heat out and apply cold. You can find pre-built ones with fans attached and USB power supplies if you just search peltier cooler USB.

    But these do use electricity to run so they reduce the efficiency of your mini-PC and you still run into the problem of the fins on the outside creating very poor heat conductive contact.

    Generally you want to avoid those kinds of passive cooling PC cases. Even the well built ones suffer heat issues for various components. They’re really meant for low end projects like running a display in a mall that shows a map and does basic tasks on a mini OS. Not for running a PC you’re regularly reading/writing files from.

    One last thing. Unless that’s a reversed fan (unlikely) you really want it blowing air on the case not trying to pull air away as you have it. It’s much more efficient that way in most cases. There’s not enough clearance for it to be a very effective puller fan. So in my opinion try reversing the direction you have that fan mounted.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 小时前

      There’s a lot of options for heatsinking including large aluminum heatsinks you can buy with thermal tape that can attach to the outside of cases.

      That sounds interesting. What kind of heatsink is that? Mind showing me some images?

      Generally you want to avoid those kinds of passive cooling PC cases. Even the well built ones suffer heat issues for various components. They’re really meant for low end projects like running a display in a mall that shows a map and does basic tasks on a mini OS. Not for running a PC you’re regularly reading/writing files from.

      Yes, that was my mistake and had to learn the bad way… but well, I got to stick with it for a while…

      One last thing. Unless that’s a reversed fan (unlikely) you really want it blowing air on the case not trying to pull air away as you have it. It’s much more efficient that way in most cases. There’s not enough clearance for it to be a very effective puller fan. So in my opinion try reversing the direction you have that fan mounted.

      I’m so used to using fans to pull air, that I didn’t think about that. Gonna give it a try too, thanks!

  • marxismtomorrow@lemmy.today
    link
    fedilink
    arrow-up
    9
    arrow-down
    2
    ·
    1 天前

    Seconding the heat dissipator. This is the easiest option, you can usually just rip it off any electronic scrap you may have laying around or can find easily, and while it would be nice to have new thermal paste, you should be able to just salvage whatever is still stuck to it. It’ll work well enough for a while.

    As an alternative, you can throttle disk read/write speeds. Just not globally, not really.

    Option 1:

    Cgroups. Depending on distro you either already have some cgroups set up, or you should be able to set them up; and then just set max read/write speed for each group.

    After setting control groups you can wrap your command in ionice to set the command to that group.

    ionice -c3 <your cp command>

    Option 2:

    If you only notice this during file transfers and not during normal tasks, use a compatible file transfer application that lets you limit bandwidth, for example for rsync:

    rsync --bwlimit=1024 source/ destination/

  • Bryan065@kbin.earth
    link
    fedilink
    arrow-up
    3
    ·
    23 小时前

    like others have asked, what case/mobo/SSD brand?

    is the SSD on the front side or back side of the mobo?

    sometimes what I do if the SSD is on the backside (and theres no mobo tray cutout), is to get a nice thick 10mm+ thermal pad and have it transfer heat to the motherboard tray.

    if you can’t get airflow or fans to where the SSD is, your best bet is to try to transfer it somewhere else (aka case).

    you can actually get copper heatpipe assemblies of different sizes/lengths/angles to help transfer the heat

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      22 小时前

      I added the hardware details and a photo to the post.

      Hmm transferring heat to the case isn’t a bad idea. The case would get really hot before, but after adding that indecent fan, now it’s cool

      • Bryan065@kbin.earth
        link
        fedilink
        arrow-up
        1
        ·
        17 小时前

        I see the unit now, your easiest mod is probably a thick thermal pad to transfer heat to the chassis. It might work out well if you combine that with those graphene heatsink stickers. (SSD > graphene heatsink sticker > thermal pad > chassis)

        I have a feeling you might not have a good time with a standard SSD heatsink/dissipator. Those usually work best with at least a little bit of airflow. It might not be much different once the heatsink fully saturates. The heat needs to go somewhere

  • Kajika@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    23 小时前

    isn’t the whole case hot? Usually motherboard has sensors for monitoring the case temperature and control case fans. If the whole environment is above 45°C it makes everything hotter.

    If you can check that an easy test would be to disable you CPU boost. I always do this anyway as boosting is a temporary way for a CPU to squeeze some extra performance at a huge energy/temperature cost. On my stress test this “only” get 10-15% more performance but without boost the CPU temperature never get above 50°C.

    Because the CPU is not warming the case anyone everything is cooler, how much I don’t know though. Hopefully this could also reduce I/O on the SSD in general too but a cooler case is definitely better for every component.

    The way to disable boosting depends on the CPU model as a starting point you can check https://wiki.archlinux.org/title/CPU_frequency_scaling#Configuring_frequency_boosting.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 小时前

      Yes, the whole case used to get hot. I didn’t try disabling cpu boost, but I reduced cpu frequency with thermald. In order to prevent overheating, it got terribly slow, and during summer (room temperature goes above 40ºC here), it wasn’t enough to prevent overheating, so I ended up adding a fan to the case. It’s ugly, but keeps it cool

      But the problem now is that only the cpu used the case as a heatsink, and the internal airflow is terrible, so the ssd is overheating. I was wondering if there’s some way to throttle ssds in a similar way we do with cpus

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 小时前

      I added the hardware details to the post. It’s an unbranded case and a sandisk m.2 2280 ssd

  • 🧟‍♂️ Cadaver@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 天前

    Can’t you put a heat dissipator on your SSD ?

    And I know you said you don’t want to buy any new hardware but if you want to throttle your SSD you Might as well buy an HDD. It’s not that expensive.

    • morto@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 天前

      Would a dissipator be able to reduce that peak of around 90ºC to something below the limit of 70 (from the manufacturer’s site)?

      About the hdd, this machine is a mini pc that only has 1 nvme slot and no sata connectors. It was a terrible idea to buy it in the first place, but I’m stuck with it for now…

      • 🧟‍♂️ Cadaver@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        1 天前

        I don’t know how it would reduce the temperature but I do know that it will reduce. Normally, with a heat dissipator you should expect to be under 70°C but that also kinda depends on airflow.

        Ah… You dould try an external HDD but that wouldn’t solve everything so… Maybe try the heat dissipator, rather than going to a software that might well accelerate hardware deterioration.

        • morto@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          22 小时前

          Thanks, I will give it a try. By the way, an external storage isn’t a bad idea. How could I not think about it before?

    • klankin@piefed.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 天前

      Quite a lot of performance between a modern SSD and an HDD to be fair. You’d have to be down clocking to like 1% utilisation to meet HDDs.