Most active commenters
  • jorvi(4)
  • forrestthewoods(4)
  • dylan604(3)

←back to thread

420 points speckx | 19 comments | | HN request time: 0.867s | source | bottom
Show context
dylan604 ◴[] No.44533476[source]
SSD speeds are nothing short of miraculous in my mind. I come from the old days of striping 16 HDDs together (at a minimum number) to get 1GB/s throughput. Depending on the chassis, that was 2 8-drive enclosures in the "desktop" version or the large 4RU enclosures with redundant PSUs and fans loud enough to overpower arena rock concerts. Now, we can get 5+GB/s throughput from a tiny stick that can be used externally via a single cable for data&power that is absolutely silent. I edit 4K+ video as well, and now can edit directly from the same device the camera recorded to during production. I'm skipping over the parts of still making backups, but there's no more multi-hour copy from source media to edit media during a DIT step. I've spent many a shoot as a DIT wishing the 1s&0s would travel across devices much faster while everyone else on the production has already left, so this is much appreciated by me. Oh, and those 16 device units only came close to 4TB around the time of me finally dropping spinning rust.

The first enclosure I ever dealt with was a 7-bay RAID-0 that could just barely handle AVR75 encoding from Avid. Just barely to the point that only video was saved to the array. The audio throughput would put it over the top, so audio was saved to a separate external drive.

Using SSD feels like a well deserved power up from those days.

replies(8): >>44533735 #>>44534375 #>>44535266 #>>44535471 #>>44536311 #>>44536501 #>>44539458 #>>44539872 #
1. jorvi ◴[] No.44535471[source]
It's not really the SSDs themselves that are incredibly fast (they still are somewhat), it's mostly the RAM cache and clever tricks to make TLC feel like SLC.

Most (cheap) SSDs their performance goes off a cliff once you hit the boundary of these tricks.

replies(2): >>44535868 #>>44536447 #
2. redman25 ◴[] No.44535978[source]
It can be good to know that SSDs are fast until you exhaust the cache by copying gigs of files around.

It doesn’t hurt to be aware of the limitations even if for the common case things are much better.

replies(1): >>44536780 #
3. jorvi ◴[] No.44536012[source]
Not sure what warranted such an aggressive response.

I grew up in the 90s, on 56kb modems and PCs that rumbled and whined when you booted them up. I was at the tail end of using floppies.

I never said I didn't love the speed of SSDs, and when they just started to become mainstream it was an upgrade I did for everyone around me. I made my comment in part because you mentioned dumping 4K into the SSD and/or editing it. It can be a nasty surprise if you're doing something live, and suddenly your throughout plummets, everything starts to stutter and you have no idea why.

replies(1): >>44540235 #
4. forrestthewoods ◴[] No.44536447[source]
> once you hit the boundary of these trick

Tell me more. When do I hit the boundary? What is perf before/after said boundary? What are the tricks?

Tell me something actionable. Educate me.

replies(2): >>44537514 #>>44539518 #
5. dylan604 ◴[] No.44536780{3}[source]
We're talking about devices capable of >2GB/s throughput, and acquiring footage <.5GB/s. No caching issues, but I'm not buying el cheapo SSDs either. These are all rated and approved by camera makers. It wasn't brought up because it's not an issue. For people that are wondering why camera makers approve or not particular recording media, this is part of the answer. But nobody was asking that particular question and instead the reply tried to rain on my parade.
6. jdiff ◴[] No.44537514[source]
Your tone is quite odd here. I'm having difficulty parsing your intention, but I'm going to assume you're being genuine because why not.

For the RAM cache, you hit the boundaries when you exhaust the RAM cache. It performs faster, but is smaller and once full, data has to be off/loaded at the rate of the slower backing NAND. It might not be RAM, either, sometimes faster SLC NAND is used for the cache.

It's not really possible to describe it much more concretely than that beyond what you've already been told, performance falls off a cliff when that happens. How long "it" takes, what the level of performance is before and after, it all depends on the device.

There are many more tricks that SSD manufacturers use, but caching is the only one I know of related to speed so I'll leave the rest in the capable hands of Google.

replies(3): >>44537878 #>>44538489 #>>44538662 #
7. ianferrel ◴[] No.44537878{3}[source]
Tone's hard to read in text, but I read the tone as "eagerly excited to learn more". I am also interested and appreciate your comment here.
replies(1): >>44541048 #
8. martinald ◴[] No.44538489{3}[source]
Two of the main ones actually aren't really DRAM related but how full the drive is.

For most (all?) SSD drives they need a good 20% of the drive free for garbage collection and wear levelling. Going over this means it can't do this "asynchronously" and instead has to do it as things are written, which really impacts speed.

Then on top of that on cheaper flash like TLC and QLC the drive can go much faster by having free space "pretend" to be SLC and write it in a very "inefficient" size wise but fast method (think a bit like striped RAID0, but instead of data reliability issues you get with that it only works when you have extra space available). Once it hits a certain threshold it can't pretend anymore as it uses too much space to write in an inefficient fast way and has to write it in the proper format.

These things are additive too so on cheaper flash things get very very slow. Learnt this the hard way some years ago when it would barely write out at 50% of HDD speeds.

replies(1): >>44541898 #
9. forrestthewoods ◴[] No.44538662{3}[source]
My tone is a combination of genuine curiosity and moderate annoyance at a dismissive but unhelpful comment.

RootsComment: SSD speed is miraculous! Jorvis: well ackshually is just RAM and tricks that run out Me: your comment provides zero value

I am annoyed by well ackshually comments. I’d love to learn more about SDD performance. How is the ram filled? How bad is perf when you cache miss? What’s worse case perf? What usage patterns are good or bad? So many interesting questions.

replies(2): >>44538915 #>>44541163 #
10. dylan604 ◴[] No.44538915{4}[source]
Right? I’m comparing my direct experience of enduring the pain of slower than Christmas HDDs to the incredible speeds of SSDs, and get a well actually it’s not SSDs that are fast blah blah. Look dude, I don’t care about your magic smoke that you’re so smart you know how the smoke is made. I just care that I can transfer data at blisteringly fast speeds. I couldn’t care less about QLC, SLC, or TLC because reading/writing at >2GB/s is all the tender loving care I need. Don’t rain on my parade because you’re jaded.
replies(1): >>44538946 #
11. forrestthewoods ◴[] No.44538946{5}[source]
I haven’t had a spinning platter in my dev machine since I think 2008 or 2009. Even back then an SSD was the single biggest upgrade I’d seen the first 3D accelerator cards in the late 90s. (Oh god I’m old).

More recently we saw SSDs get added to video game consoles and load times are about 4x faster. And that’s with code/data optimized for a spinning plate not an SSD.

I know they aren’t actually magic. But they might as well be! I’d love to hear details on what weird conditions reduce their performance by 10x. That’d be cool and fun to know. Alas.

12. mhio ◴[] No.44539518[source]
Toms Hardware usually includes a "Sustained Write Performance and Cache Recovery" test

The test measures the write cache speed and the time to the fall to the native NAND write speed. There are usually irregularities in the sustained write speeds as well.

https://www.tomshardware.com/reviews/wd-black-sn850x-ssd-rev...

The other test I've seen is based on writing and using up free space, SSD performance can drop off as the free space fills up and garbage collection efficiency goes down. I think this impacts random writes particularly

In the enterprise space, drives tend to keep more over provisioned NAND free to maintain more consistent performance. Very early on the SSD timeline, it was advisable to only allocate 80% of consumer drives if you were using them outside of desktops and expected the workload to fill them.

13. PartiallyTyped ◴[] No.44540235{3}[source]
It wasn’t. IMHO the best feature and only real reason I hang around HN is exactly because I get to interact with others who know more.

The magic is in knowing how the trick works.

replies(1): >>44541011 #
14. jorvi ◴[] No.44541011{4}[source]
A bit further down the comment chain, martinald has a great succinct explanation:

https://news.ycombinator.com/item?id=44538489

15. Applejinx ◴[] No.44541048{4}[source]
From a lawyer, 'tell me something actionable' would mean 'cross the line and say something upon which I can sue you', so I sympathise with anyone finding it unsettling.

In context it's more likely a translation issue, perhaps from modern translation picking up a challenging tone and inadvertently turning it to 'challenged by a lawyer or cop' mode to maintain the tone.

16. jorvi ◴[] No.44541163{4}[source]
Look at this Kioxia Excera drive[0]. It plummets from 6800Mb/s (850MB/s) all the way to 1600Mb/s (200MB/s).

Its not really a well ackshually comment, there's real pitfalls. Especially when doing 4K. RAW 4K is 12Gb/s and would fill 450GB within 5 minutes. ProRes 4444XQ within 10 minutes. ProRes4444 in 40 minutes.

Martinald his comment is right too. By being very inefficient and treating TLC (or even QLC) as single level and only writing one bit to a cell, much higher performance can be extracted. But once you hit the 80% full threshold, the drive starts to repack the last/least used data into multiple bits per cell.

A RAM cache and SLC cache can both speed access times up, act as a write buffer and mask the shuffling of bits, but there is a limit.

Lastly, its kind of ironic to see me portrayed as jaded when someone else is the one pouring out vitriol all over the thread. Ah well.

[0]https://tweakers.net/reviews/12310/wd-sn5000-4tb-ssd-hoe-sne...

replies(1): >>44543549 #
17. RulerOf ◴[] No.44541898{4}[source]
> cheaper flash like TLC and QLC the drive can go much faster by having free space "pretend" to be SLC

I'm afraid I don't understand how exactly this makes it faster. In my head, storing fewer bits per write operation should decrease write bandwidth.

Of course we observe the opposite all the time, with SLC flash being the fastest of all.

Does it take significantly more time to store the electrical charge for any given 1-4 bits with the precision required when using M/T/QLC encoding?

replies(1): >>44543602 #
18. forrestthewoods ◴[] No.44543549{5}[source]
> this Kioxia Excera drive[0]. It plummets from 6800Mb/s (850MB/s) all the way to 1600Mb/s (200MB/s).

This is interesting. Thanks!

> Its not really a well ackshually comment, there's real pitfalls

I don’t doubt the existence of pitfalls. But the lack of specificity was quite irritating!

19. martinald ◴[] No.44543602{5}[source]
In theory should be more efficient but in reality it's not. Any gains from 'modulating' efficiency are reduced by having to use very aggressive error correction and also write/read things multiple times (because the error rate is so high). I think QLC needs to do usually somewhere on the order of 8 "write/read" cycles for example to verify the data is written correctly.