1 |
On Fri, May 22, 2020 at 11:32 AM Michael <confabulate@××××××××.com> wrote: |
2 |
> |
3 |
> An interesting article mentioning WD Red NAS drives which may actually be SMRs |
4 |
> and how latency increases when cached writes need to be transferred into SMR |
5 |
> blocks. |
6 |
|
7 |
Yeah, there is a lot of background on this stuff. |
8 |
|
9 |
You should view a drive-managed SMR drive as basically a journaled |
10 |
filesystem/database masquerading as a virtual drive. One where the |
11 |
keys/filenames are LBAs, and all the files are 512 bytes long. :) |
12 |
|
13 |
Really even most spinning drives are this way due to the 4k physical |
14 |
sectors, but this is something much easier to deal with and handled by |
15 |
the OS with aligned writes as much as possible. SSDs have similar |
16 |
issues but again the impact isn't nearly as bad and is more easily |
17 |
managed by the OS with TRIM/etc. |
18 |
|
19 |
A host-managed SMR drive operates much more like a physical drive, but |
20 |
in this case the OS/application needs to be SMR-aware for performance |
21 |
not to be absolutely terrible. |
22 |
|
23 |
-- |
24 |
Rich |