News for hackers. Stuff that matters.
Re:Dosdude – A custom-designed IDE SSD for old PCs by freitzkriesler on Monday January 23, 2023 @02:48PM (#34493975)
Silly question, do we have to worry about older PC OSes not playing well with SSDs with excessive read/writes? I'd be concerned about destroying drives in short order with swaps that are miss behaving.
Re:Dosdude – A custom-designed IDE SSD for old PCs by londons_explore on Monday January 23, 2023 @02:52PM (#34494015)
Older software tends to do far less 'background' stuff.

Whenever I run old OS's in virtualbox, I'm surprised that even doing lots of stuff for a week rarely results in more than a few GB's of writes.

So I don't think your concern is an issue for the typical case in practice. Obviously there'll be corner cases, but I haven't hit those yet.

Re:Dosdude – A custom-designed IDE SSD for old PCs by willcipriano on Monday January 23, 2023 @02:52PM (#34494023)
You really have to go nuts with the writes to break a modern SSD. I don't think the bandwidth is even high enough to do so on purpose on a older machine.
Re:Dosdude – A custom-designed IDE SSD for old PCs by rzzzt on Monday January 23, 2023 @03:11PM (#34494270)
Repeated defrag runs could wear some grooves into those bits. Older versions of Windows will not look for (nor care about) the "rotational" flag.
Re:Dosdude – A custom-designed IDE SSD for old PCs by AshamedCaptain on Monday January 23, 2023 @03:41PM (#34494716)
Only Vista has automatically-scheduled background full defragmentation and doesn't care about the rotational flag.
Re:Dosdude – A custom-designed IDE SSD for old PCs by metalliqaz on Monday January 23, 2023 @04:17PM (#34495188)
Then we're good, because nobody is going to install that friggin OS
Re:Dosdude – A custom-designed IDE SSD for old PCs by pkaye on Monday January 23, 2023 @03:21PM (#34494417)
Disable defrag
Re:Dosdude – A custom-designed IDE SSD for old PCs by rzzzt on Monday January 23, 2023 @06:04PM (#34496377)
I don't want to, watching the mishmash of rectangles slowly getting organized by color makes me feel very productive!
Re:Dosdude – A custom-designed IDE SSD for old PCs by Dylan16807 on Tuesday January 24, 2023 @02:40AM (#34500638)
Automatic defrag should only hit a handful of files each time it runs. You're not going to upset an SSD with that.

But even a whole-disk rewrite cycle will have very limited effect on the vast majority of SSDs.

Re:Dosdude – A custom-designed IDE SSD for old PCs by bob1029 on Monday January 23, 2023 @03:22PM (#34494446)
I was astonished at the remaining life on a Samsung 960 pro when I checked the other day. I don't think I will have to replace it this decade at the current pace.
Re:Dosdude – A custom-designed IDE SSD for old PCs by nubinetwork on Monday January 23, 2023 @07:06PM (#34497035)
I have a pair of crucial mx500 ssds that are down to their last 10% of reported life... Awaiting the day they finally decide to stop working, maybe some time during the summer...
Re:Dosdude – A custom-designed IDE SSD for old PCs by amir on Monday January 23, 2023 @03:43PM (#34494726)
Lack of OS-level TRIM support will slow down writes. TRIM also allows SSDs to maintain wear leveling.
Re:Dosdude – A custom-designed IDE SSD for old PCs by anthk on Monday January 23, 2023 @09:41PM (#34498439)
Today the SSD microcontroller will do TRIM by itself.
Re:Dosdude – A custom-designed IDE SSD for old PCs by xmodem on Monday January 23, 2023 @11:02PM (#34499058)
Do you mean that it will automatically TRIM a block of all zeros? Or that it will itself try to parse filesystem structures and TRIM blocks that it can imply are un-used?
Re:Dosdude – A custom-designed IDE SSD for old PCs by rasz on Tuesday January 24, 2023 @10:37AM (#34504879)
Can you list even one drive that internally parses filesystem data and guesses empty space to trim?
Re:Dosdude – A custom-designed IDE SSD for old PCs by kalleboo on Monday January 23, 2023 @10:11PM (#34498649)
The trick I've heard to use SSDs on devices without TRIM is to just leave like 15% of the drive unprovisioned (i.e. create a single partition smaller than the drive) to give the drive's built-in garbage collection plenty of slack space to work with.

If you're working with vintage machines they all have drive size limits in the 2-8 GB range anyway so you'll end up doing that anyway as you can't get SSDs that small

Re:Dosdude – A custom-designed IDE SSD for old PCs by superkuh on Monday January 23, 2023 @10:40PM (#34498874)
You can't just leave the space unprovisioned in general. It's a crapshoot weather the drive will automatically over-provision using the unprovisioned space. I've never personally seen one that does this. With samsung, crucial, and other major brands you need to use their proprietary tools to change the over-provisioning percentage (before doing any formatting/creating partition table).

So make sure to do it before you install the OS.

Re:Dosdude – A custom-designed IDE SSD for old PCs by mlyle on Tuesday January 24, 2023 @12:51AM (#34499897)
You get lots of benefit from permanently-trimmed space that is never used, even if it isn't explicitly "over-provisioned".

The underlying storage always has lots of free space, and thus is likely to have A) lots of pre-erased pages, and thus B) doesn't need to relocate as much stuff often to make contiguous chunks to erase, and thus C) write amplification is much lower.

Re:Dosdude – A custom-designed IDE SSD for old PCs by IE6 on Monday January 23, 2023 @05:22PM (#34495957)
Completely anecdotal observation with n=1 but FWIW I was an early adopter of SSDs and put one in my thinkpad in college running Win XP (this was before trim and all that) - it did require my to "align the partitions" but once that was done I did all my project work and would routinely hybernate my laptop. It lasted all through college and years after. I eventually just retired the device. SDD was fine. At the time SSDs were "unusable" for desktop workloads because of their perceived failure rates.
Re:Dosdude – A custom-designed IDE SSD for old PCs by kiririn on Monday January 23, 2023 @06:47PM (#34496820)
Whether or not they were rated for it, SSDs of that era were capable of vastly more writes than today’s SSDs
Re:Dosdude – A custom-designed IDE SSD for old PCs by rasz on Tuesday January 24, 2023 @10:39AM (#34504910)
Early SSDs were all SLC with 50-100K erase cycles. Current cheap flash is around 200-500 cycles.
Re:Dosdude – A custom-designed IDE SSD for old PCs by IE6 on Tuesday January 24, 2023 @11:32AM (#34505882)
I was a college student so I couldn't afford one of those - I had a 100 GB SATA MLC SSD that read at like 100 MB/s - this was ~2007ish when SSD were still new from a consumer perspective.
Re:Dosdude – A custom-designed IDE SSD for old PCs by johnklos on Tuesday January 24, 2023 @03:25PM (#34509763)
Yes, we do have to worry about excessive writes.

I had a Samsung SSD - chosen because Samsung flash storage is generally better than most - connected to a SATA to IDE adapter, which was connected to an IDE to SCSI adapter, installed in a VAXStation 4000/30 (AKA the VAXStation VLC). It has 24 megs of memory.

https://twitter.com/AnachronistJohn/status/12947258190387527...

In less than a year, the SSD was dead, and I'm sure the reason was that I was compiling constantly on that machine, so writes to swap were constant.

I now have a spinning rust 500 gig SATA drive, and it has been fine for the last three years without problems.