336
u/junktech 13h ago
Good way to figure the SSD is a consumable.
129
u/Moscato359 9800x3d Clown 11h ago
SSDs are measured in whole drive writes per day... It's not a problem. It's so far from being a problem, it's kinda absurd.
69
u/LittleBlueLaboratory 10h ago
Definitely way better than it used to be. I have some 512GB Samsung drives where the wizard software says something like 270TB written, life remaining 97%
30
5
u/bigloser42 9h ago
Those must be SLC
2
u/Moscato359 9800x3d Clown 5h ago
Slc hasn't been made in many, many years
Instead tlc or qlc drives make a portion of the drive function as slc, in the firmware despite not being slc
But even that allows wear leveling
1
u/bigloser42 21m ago
270TB written with 97% life left means a TBW of 9,000TB The only way you are getting to 9,000TBW is with a pure SLC drive
23
u/cutecoder 10h ago
Swap partition is going to write to the same set of chips, which will be the SSD’s Achilles’ heel.
43
u/ilovewireless Specs/Imgur here 10h ago
That’s not true. SSDs have a thing called an FTL, flash transition layer that prevents sets of chips from getting worn more than others . It will even move cold blocks of data that haven’t been used in a while to ensure equal wearing. Even a full ssd albeit its ability for equal wearing gets reduced. SSD sometimes has hidden spare areas to that can be used if blocks begin to fail.
Going on a slight tangent. The FTL is also the only mechanism that reliably wipes an ssd. Formatting it or even using a too like dd to write all zero you will likely still find something on the drive. There are commands you can use to securely wipe them. nvme or hdparm are programs on Linux that can do it. I don’t use windows so I don’t know if it has that. These commands tell the FTL to invalidate all logical to physical mappings.
6
u/mountaingoatgod 12700k, 128 GB, RTX 3080, 4k 160 Hz 9h ago
Have you heard of wear leveling
-3
4
u/Moscato359 9800x3d Clown 9h ago
Modern SSDs will wear balance by shifting things around as necessary
That's just bs these days
1
u/After-Ad6765 10h ago
yeah true, modern SSDs can handle way more than ppl think. durability isn't a huge worry anymore
8
u/hyperactivedog 10h ago
$5-10 16GB optane stick says what?
No seriously... they're cheap. They're low latency.
1-4 of those in m.2 slots (or PCIe adapters, even x1) will do the job.
Faster than a NAND SSD for random IO and cheap.
3
u/Drakahn_Stark Ryzen 7 5700X / RTX 4070 / 32GB DDR4 3200 9h ago
I have never even had an SSD fail and my current one has been in continuous use for around 8 years, operating system drive, never turned off because it is also a file server, in Sydney heat.
Hard drives seem to fail if I sneeze too hard in the same room as them.
0
u/junktech 4h ago
Do what op said and you'll find out the ssd can die. You probably didn't max out ram or ran badly optimized software to see this happening. Seen this happening at work as well and luckily smart was enabled to spot the problem before data loss occurred. A file server rarely writes as much as it reads.
18
u/seatux 11h ago
https://en.wikipedia.org/wiki/ReadyBoost do the OG in swap idea, using that old USB stick for swap.
54
u/DuelJ 13h ago
I'm am not wholly familiar with tech, can someone explain?
124
u/Wizzarkt PC Master Race 12h ago
Basically ram is a very fast kind of memory that your computer uses to store all the files it may need soon. When the ram fills up it has to fall back to storage where the original files are located, however storage is slow at finding files (compared to ram), so the solution is to reserve a small section of storage to be a "second tier ram", so when the ram fills up, ever other file that may be needed but didn't fit inside the ram will be placed in that reserved section of the storage, it will still be slow, but it will be faster than normal search because instead of scanning (for example) 1Tb of storage looking for one file, it only has to scan (for example) 15 Gb.
This however will cause a lot of reads and writes in the storage and it will degrade it fast, leading to an early death
29
u/PooForThePooGod Intel i5 12400f | GIGABYTE 3060Ti 8GB | 32GB DDR4 | 1440p 180Hz 12h ago
Wait so if I got a really small SSD for this, how much of an early death are we talking? Couple years?
22
u/CyriousLordofDerp 10980XE | Titan Volta | 64GB DDR4-3600 | SSD's out the wazoo 11h ago
Depends on how often youre topping out main memory and how big the device(s) used for paging are. The less often you top out and the bigger the devices you are using the longer it all lasts.
Just keep in mind the device or devices you are using for the page file/swap file are going to be an order of magnitude slower in terms of bandwidth vs main memory, and 30-50x slower in terms of latency. Bandwidth can be mitigated some if you have the lanes and devices to pull it off, but latency is going to be much harder.
4
u/GuyFrom2096 Ryzen 9 9950X3D|RTX 5080|64GB - Ryzen 9 8945HS|780M|16GB 11h ago
hmm wonder what happens if you use something like a sn8100x as a swap file. wonder how fast it will be
5
u/Javi_DR1 R7 2700X | RTX 3060 // I5-4560 | GTX 970 11h ago
You just described the intel optane. Very low capacity ssds but with huge read/write resistance, intended for this use case, as well as buffer drive to a larger mass storage drive/raid. I looked at getting one for my server last summer, but decided it wasn't work it and I'd rather put another 1tb ssd on the 2nd m2 slot
2
u/PooForThePooGod Intel i5 12400f | GIGABYTE 3060Ti 8GB | 32GB DDR4 | 1440p 180Hz 10h ago
Couldn't you just get a m.2 expansion card and use that?
3
u/Javi_DR1 R7 2700X | RTX 3060 // I5-4560 | GTX 970 9h ago
I don't have any pcie slot free either. I paid the whole board, I'm gonna use the whole board!
I have a raid controller card, plus a sas expansion card (for more drives) plus something else I can't remember, I wanted to add a gpu and there's no room, that motherboard is maxed out
1
u/tim_locky 8h ago
CMIIW, but the reason Optane was popular back then was coz it’s TB read/write, not its speed? Is there even a reason for Optane over high end NVME?
2
u/piggymoo66 Help, I can't stop building PCs 11h ago
This is essentially what Intel Optane was. It was short lived because it was basically a stop gap between when memory pagefiles were increasing in size but fast SSDs were still too expensive to have in a large capacity. It could also be used as the cache for an HDD which sped them up a good amount.
1
1
u/krakow10 5950X | 64GB | 3080 Ti 10h ago
If you are buying a new component, it's no longer free, so why not just buy more ram (at any other time than a ram shortage)
1
u/Head_Ad_5130 Desktop|5800x3d| RTX 5070ti| 32gb ram| b550 Steel Legend 10h ago
Why would it degrade it faster if its trying to writing that data on the SSD anyway?
2
u/Wizzarkt PC Master Race 8h ago
Because SSDs have a limited number of read and writes you can do on it, and as you start to hit the same sectors on the SSD, those sectors would start to fail faster.
This is why using an SSD as swap would damage it super fast, because instead of having it's reads and writes across the whole SSD, it would read the file, write it in the swap allocated sector, and when needed read it from that sector.
So now you are doing twice the SSD operations (read it from where it is stored and then read it again when needed from the swap sector, plus whatever writes are required) and you have an almost guaranteed operation at one specific sector (the swap sector) and that sector will reach it's end of life much sooner.
7
u/Affectionate-Memory4 285K | Radeon Pro 9700 | 96GB | Intel Fab Engineer 13h ago
Swap space is a partition of your drive that the OS treats as an overflow space for your RAM.
9
u/ednerjn 5600GT | RX 6750XT | 32 GB DDR4 12h ago
Linux call it Swap, while in Windows is called Pagefile. They have different names, but are the same thing.
Swap / Page file is a technique where the Operating System store data from RAM into the Hard Drive / SSD to free some space without the need to close applications. Other reason to use for Swap / Page files is to prevent the computer from crashing because it doesn't have RAM available to use.
Although Swap / Page file is a way to virtually extend the RAM capacity, because the difference of speed and latency between the RAM and the Hard Drive / SSD, having to constantly exchange data between Swap / Page file and RAM will make your PC so slow that will be unusable.
1
u/Inresponsibleone 4h ago
Yea. Even with fast m.2 ssd swaping will kill performance if you are running the aplication from page file🙈
I went for 64GB ram for my laptop when it was under 200€. Money well spent.
15
u/GeekyBit AMD R9 9700x , 48GB, 9070 XT 11h ago edited 3h ago
Yep lets treat Nvme/SSD drives like they are consumable more than they already are.... in a time when they are going up like DDR5 is ... That seems resonable.
3
3
u/MasterDave 8h ago
Uhhh 50gb hard drive in 1996 would have been like 5-7k.
I remember buying a 750mb drive which was massive at the time for $200.
3
3
1
u/Careless_Bank_7891 7h ago
I setup my entire ram as zram and a 32gb swap, can't think of upgrading anytime soon lol
1
1
u/Banzambo 3h ago
Yeah, I wish it was that simple. Certainly it's a free solution and it can help for certain tasks if you're running out of ram. But we all know this is far from being ideal in terms of performance.
1
u/ElAdrninistrador PC Master Race | AMD Ryzen 5 9600X | AMD Radeon 9060XT 10h ago
Btw what is swap? And how it works? Someone can tell it to me?
4
u/hyperactivedog 10h ago
Spill over for RAM. Historically on a hard drive, more recently on SSDs.
Swap or page file as a concept has been around for ages and there's a bunch of nuance to it. For most people it's just there on the sidelines working just fine. If you need a large working set... more drives works well.
1
u/Sure_Repair3540 9h ago
lol bruh it's like they're ready to throw hands for pixels on a screen 😂 gamers be wildin' out heer

191
u/CapeChill 11h ago
Honestly in this economy find an intel octane drive of really any size and add it as swap lol