RetroFed Forum
Your home away from modern life.
Your SSD is slowing down because it's too full, not too old
Post Reply
AuthorMessage
sanitation lemmy.today sanitation@lemmy.today
Joined: 2026-05-05
Banned
Quote

60   Original
Korhaka sopuli.xyz Korhaka@sopuli.xyz
Joined: 2025-01-14
#2 · Quote Reply

I wonder how this impacts LVMs, just setup a 2x512GB SSD LVM and plan to add another 500GB SSD to it soon.

But tbh as long as it beats HDD write speeds it's probably good enough for the most part. Hard to properly test as my most recent large data transfer on it was with game files and many tiny files are always going to be slower.

4
Destide feddit.uk sirico@feddit.uk
Joined: 2023-07-04
#3 · Quote Reply

If my zfs pool could read anymore it'd be very upset

19
darthsundhaft piefed.social darthsundhaft@piefed.social
Joined: 2026-01-19
#4 · Quote Reply

If I recall correctly, this has to do with how NAND flash storage stores the data on the physical media. I think trimming in SSDs performs some kind of maintenance in this regard but it all has to do with that the cells storing the bits (which make up the data) have a limited lifetime of being written to.

After a while, it will stop being able to write to specific cells in the media and the drive eventually "fails". I think the way the drives work is they try to actively not write to the cell as often to increase the longevity of the drive. So when it gets filled up, maybe it's trying to calculate more with less available cells? Not sure why else.

3
squaresinger lemmy.world squaresinger@lemmy.world
Joined: 2025-03-23
#5 · Quote Reply

I wonder how this impacts LVMs, just setup a 2x512GB SSD LVM and plan to add another 500GB SSD to it soon. But tbh as long as it beats HDD write speeds it's probably good enough for the most part. Hard to properly test as my most recent large data transfer on it was with game files and many tiny files are always going to be slower.

It affects them just as much, since LVMs still run on the hardware, so anything on hardware layer will affect the LVM too.

First, this is mostly only for write speeds. Read speeds aren't really affected by this.

So if your 2x512GB are close to full, these will be much slower. If you add a third, that one will be fast. So you'll still be able to write at about the speed of one drive.

If you balance the load (which, afaik LVM doesn't proactively do when you add a new drive), you can get your total speed up by a lot.

2
squaresinger lemmy.world squaresinger@lemmy.world
Joined: 2025-03-23
#6 · Quote Reply

If I recall correctly, this has to do with how NAND flash storage stores the data on the physical media. I think trimming in SSDs performs some kind of maintenance in this regard but it all has to do with that the cells storing the bits (which make up the data) have a limited lifetime of being written to. After a while, it will stop being able to write to specific cells in the media and the dri...

The big issue (as the article says) is that TLC/QLC drives have a faster dynamic SLC cache.

Skip this if you know what the terms mean:

  • SLC (Single Level Cell) means per cell there's one bit stored
  • MLC (Multi Level Cell): one cell stores 2 bit
  • TLC (Triple Level Cell): 3 bit
  • QLC (Quad Level Cell): 4 bit

So the more bit per cell, the more storage the drive has, but the slower it is.

Because of that SSD controllers use part of the free space on a TLC/QLC drive in SLC mode as a fast cache, trading unused storage space for more speed.

The fuller the drive gets the smaller the cache will be, and on an almost completely full drive there is no cache.

9
darthsundhaft piefed.social darthsundhaft@piefed.social
Joined: 2026-01-19
#7 · Quote Reply

The big issue (as the article says) is that TLC/QLC drives have a faster dynamic SLC cache. Skip this if you know what the terms mean: SLC (Single Level Cell) means per cell there's one bit stored MLC (Multi Level Cell): one cell stores 2 bit TLC (Triple Level Cell): 3 bit QLC (Quad Level Cell): 4 bit So the more bit per cell, the more storage the drive has, but the slower it is. Because of tha...

TIL moment 😀

5
klankin piefed.ca klankin@piefed.ca
Joined: 2026-01-12
#8 · Quote Reply

It affects them just as much, since LVMs still run on the hardware, so anything on hardware layer will affect the LVM too. First, this is mostly only for write speeds. Read speeds aren't really affected by this. So if your 2x512GB are close to full, these will be much slower. If you add a third, that one will be fast. So you'll still be able to write at about the speed of one drive. If you bala...

What about something like LVM cache? Would it be worth setting up an X% empty partition on the drive, just for empty space reasons?

1
squaresinger lemmy.world squaresinger@lemmy.world
Joined: 2025-03-23
#9 · Quote Reply

What about something like LVM cache? Would it be worth setting up an X% empty partition on the drive, just for empty space reasons?

Could work. I don't know how your specific SSD handles partitions. Some SSDs don't care about partitions on the physical level at all. In that case using a partition or unpartitioned space to reserve space to stay empty would work.

Some SSDs might actually physically reserve space for a partition, in that case leaving something unpartitioned or as an empty partition wouldn't help.

I think most SSDs should ignore the partitions on the physical level, so it should work, but no guarantees.

1
Korhaka sopuli.xyz Korhaka@sopuli.xyz
Joined: 2025-01-14
#10 · Quote Reply

It affects them just as much, since LVMs still run on the hardware, so anything on hardware layer will affect the LVM too. First, this is mostly only for write speeds. Read speeds aren't really affected by this. So if your 2x512GB are close to full, these will be much slower. If you add a third, that one will be fast. So you'll still be able to write at about the speed of one drive. If you bala...

My thought more was how does an LVM fill each drive? I also filled one drive to like 75% when migrating drives before adding the second. The third hopefully is being added soon. So each isn't equally filled.

Never really looked into LVM cache options but perhaps getting a single high performance SSD for that could be an idea. Though it probably doesn't really matter that much.

2
squaresinger lemmy.world squaresinger@lemmy.world
Joined: 2025-03-23
#11 · Quote Reply

My thought more was how does an LVM fill each drive? I also filled one drive to like 75% when migrating drives before adding the second. The third hopefully is being added soon. So each isn't equally filled. Never really looked into LVM cache options but perhaps getting a single high performance SSD for that could be an idea. Though it probably doesn't really matter that much.

That I cannot answer. I'd guess there's likely something about that in the documentation, but I have never gone that deep on LVM.

1
Post Reply
Back to top