Jump to content

Total host writes > Total NAND writes why?

RTXOutOfStockEdition

CrystalDiskInfo

Total host writes 3518 GB

Total NAND writes 2035GB

 

Drive Intel 545S 512GB

1 partition 48% full, boot drive

 

Why is NAND writes lower than host writes?

Link to comment
Share on other sites

Link to post
Share on other sites

12 minutes ago, RTXOutOfStockEdition said:

Why is NAND writes lower than host writes?

What comes to mind is "compression", but I'd be surprised if it managed to compress almost half of what was written to it.

Main System (Byarlant): Ryzen 7 5800X | Asus B550-Creator ProArt | EK 240mm Basic AIO | 16GB G.Skill DDR4 3200MT/s CAS-14 | XFX Speedster SWFT 210 RX 6600 | Samsung 990 PRO 2TB / Samsung 960 PRO 512GB / 4× Crucial MX500 2TB (RAID-0) | Corsair RM750X | Mellanox ConnectX-3 10G NIC | Inateck USB 3.0 Card | Hyte Y60 Case | Dell U3415W Monitor | Keychron K4 Brown (white backlight)

 

Laptop (Narrative): Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB RAM (soldered) | Vega 6 Graphics | SKHynix P31 1TB NVMe SSD | Intel AX200 Wifi (all-around awesome machine)

 

Proxmox Server (Veda): Ryzen 7 3800XT | AsRock Rack X470D4U | Corsair H80i v2 | 64GB Micron DDR4 ECC 3200MT/s | 4x 10TB WD Whites / 4x 14TB Seagate Exos / 2× Samsung PM963a 960GB SSD | Seasonic Prime Fanless 500W | Intel X540-T2 10G NIC | LSI 9207-8i HBA | Fractal Design Node 804 Case (side panels swapped to show off drives) | VMs: TrueNAS Scale; Ubuntu Server (PiHole/PiVPN/NGINX?); Windows 10 Pro; Ubuntu Server (Apache/MySQL)


Media Center/Video Capture (Jesta Cannon): Ryzen 5 1600X | ASRock B450M Pro4 R2.0 | Noctua NH-L12S | 16GB Crucial DDR4 3200MT/s CAS-22 | EVGA GTX750Ti SC | UMIS NVMe SSD 256GB /

TEAMGROUP MS30 1TB | Corsair CX450M | Viewcast Osprey 260e Video Capture | Mellanox ConnectX-2 10G NIC | LG UH12NS30 BD-ROM | Silverstone Sugo SG-11 Case | Sony XR65A80K

 

Camera: Sony ɑ7II w/ Meike Grip | Sony SEL24240 | Samyang 35mm ƒ/2.8 | Sony SEL50F18F | Sony SEL2870 (kit lens) | PNY Elite Perfomance 512GB SDXC card

 

Network:

Spoiler
                           ┌─────────────── Office/Rack ────────────────────────────────────────────────────────────────────────────┐
Google Fiber Webpass ────── UniFi Security Gateway ─── UniFi Switch 8-60W ─┬─ UniFi Switch Flex XG ═╦═ Veda (Proxmox Virtual Switch)
(500Mbps↑/500Mbps↓)                             UniFi CloudKey Gen2 (PoE) ─┴─ Veda (IPMI)           ╠═ Veda-NAS (HW Passthrough NIC)
╔═══════════════════════════════════════════════════════════════════════════════════════════════════╩═ Narrative (Asus USB 2.5G NIC)
║ ┌────── Closet ──────┐   ┌─────────────── Bedroom ──────────────────────────────────────────────────────┐
╚═ UniFi Switch Flex XG ═╤═ UniFi Switch Flex XG ═╦═ Byarlant
   (PoE)                 │                        ╠═ Narrative (Cable Matters USB-PD 2.5G Ethernet Dongle)
                         │                        ╚═ Jesta Cannon*
                         │ ┌─────────────── Media Center ──────────────────────────────────┐
Notes:                   └─ UniFi Switch 8 ─────────┬─ UniFi Access Point nanoHD (PoE)
═══ is Multi-Gigabit                                ├─ Sony Playstation 4 
─── is Gigabit                                      ├─ Pioneer VSX-S520
* = cable passed to Bedroom from Media Center       ├─ Sony XR65A80K (Google TV)
** = cable passed from Media Center to Bedroom      └─ Work Laptop** (Startech USB-PD Dock)

Retired/Other:

Spoiler

Laptop (Rozen-Zulu): Sony VAIO VPCF13WFX | Core i7-740QM | 8GB Patriot DDR3 | GT 425M | Samsung 850EVO 250GB SSD | Blu-ray Drive | Intel 7260 Wifi (lived a good life, retired with honor)

Testbed/Old Desktop (Kshatriya): Xeon X5470 @ 4.0GHz | ZALMAN CNPS9500 | Gigabyte EP45-UD3L | 8GB Nanya DDR2 400MHz | XFX HD6870 DD | OCZ Vertex 3 Max-IOPS 120GB | Corsair CX430M | HooToo USB 3.0 PCIe Card | Osprey 230 Video Capture | NZXT H230 Case

TrueNAS Server (La Vie en Rose): Xeon E3-1241v3 | Supermicro X10SLL-F | Corsair H60 | 32GB Micron DDR3L ECC 1600MHz | 1x Kingston 16GB SSD / Crucial MX500 500GB

Link to comment
Share on other sites

Link to post
Share on other sites

Does CrystalDiskInfo have a help file?

If you're interested in a product please download and read the manual first.

Don't forget to tag or quote in your reply if you want me to know you've answered or have another question.

Link to comment
Share on other sites

Link to post
Share on other sites

38 minutes ago, AbydosOne said:

What comes to mind is "compression", but I'd be surprised if it managed to compress almost half of what was written to it.

I looked it up and someone mentioned compression as well, but this is wild

 

21 minutes ago, Wooden Law - Black said:

This is caused by the write amplification (WA) and because the flash must be erased in order to write.

 

this is like reverse write amplification

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, RTXOutOfStockEdition said:

I looked it up and someone mentioned compression as well, but this is wild

 

 

this is like reverse write amplification

Why? 
 

Can you post the CrystalDiskInfo screen?

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, RTXOutOfStockEdition said:

CrystalDiskInfo

Total host writes 3518 GB

Total NAND writes 2035GB

 

Drive Intel 545S 512GB

1 partition 48% full, boot drive

 

Why is NAND writes lower than host writes?

This just means you have a write amplification factor (WAF) of less than 1.0. As AbydosOne states, one cause of this is compression, although it's been a long time since we've seen that on consumer drives - SF-2281 based drives, specifically.

 

However, in your case, it's because that Intel 545s utilizes static SLC and only static SLC. Static SLC is in OP space, outside of user space, and is dedicated for the lifetime of the device. As such it has a separate garbage collection (GC) and wear-leveling zone from the native flash, which is different than how dynamic SLC operates. The wear on the drive is therefore the worse of two factors: the static SLC zone, and the native TLC zone. Writes will go to SLC first and if they do not end up being committed to TLC there is no effective wear. So it's possible to have more host than TLC NAND writes for a total WAF of <1.0.

 

If you use an appropriate program it should show SLC NAND writes as distinct from TLC NAND writes for this reason. The static SLC can handle far more program/erase cycles (factor of 10). So, for example, the drive endurance could be 30K P/E for SLC and 3K P/E for TLC, whichever comes first - however programs may be looking at the TLC writes which will be less than hosts in normal usage (since everything goes through SLC first, excepting sustained writes).

 

For the record this also applies to other drives such as those based on the Marvell 88SS1074 (WD Blue 3D, SanDisk Ultra 3D, et cetera) that have static-only SLC. Many cheaper drives using SMI controllers with Samsung's 64L TLC (overstock) also do this, possibly to improve endurance on that older flash. It's more common today to have dynamic or hybrid (static + dynamic) and dynamic flash shares a GC/wear zone with native TLC/QLC which actually can increase wear. If you want more information you can check out my subreddit, discord, etc.

Link to comment
Share on other sites

Link to post
Share on other sites

22 minutes ago, NewMaxx said:

This just means you have a write amplification factor (WAF) of less than 1.0. As AbydosOne states, one cause of this is compression, although it's been a long time since we've seen that on consumer drives - SF-2281 based drives, specifically.

 

However, in your case, it's because that Intel 545s utilizes static SLC and only static SLC. Static SLC is in OP space, outside of user space, and is dedicated for the lifetime of the device. As such it has a separate garbage collection (GC) and wear-leveling zone from the native flash, which is different than how dynamic SLC operates. The wear on the drive is therefore the worse of two factors: the static SLC zone, and the native TLC zone. Writes will go to SLC first and if they do not end up being committed to TLC there is no effective wear. So it's possible to have more host than TLC NAND writes for a total WAF of <1.0.

 

If you use an appropriate program it should show SLC NAND writes as distinct from TLC NAND writes for this reason. The static SLC can handle far more program/erase cycles (factor of 10). So, for example, the drive endurance could be 30K P/E for SLC and 3K P/E for TLC, whichever comes first - however programs may be looking at the TLC writes which will be less than hosts in normal usage (since everything goes through SLC first, excepting sustained writes).

Thank you. What program can read slc wear? 

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, RTXOutOfStockEdition said:

Thank you. What program can read slc wear? 

CrystalDiskInfo, the SSD have to show the parameter. 

Link to comment
Share on other sites

Link to post
Share on other sites

14 hours ago, RTXOutOfStockEdition said:

Thank you. What program can read slc wear? 

In addition to CDI as mentioned in the reply above this one, there's also Hard Disk Sentinel (click the S.M.A.R.T. tab for the drive). I have a 545s I can check myself but it's not currently hooked up, however in the past I remember checking it on HDS. In any case, TLC in SLC mode is usually rated for 30K or more PEC. It's worth mentioning that static SLC is more robust than dynamic SLC because the latter comes from all of the native flash (rotating based on wear) while the former is carved from the top/best blocks (in terms of retention).

 

The exact mechanisms of wear can vary but modern controllers can adjust how they do writes to balance the two zones (static SLC + native/dynamic). In fact they can also reduce the static SLC size over time also, if the space is better used for error correction (ECC) for example. Although I suspect I'm veering into technical territory here that you don't care about. Be mindful that if the drive lists SLC writes it will be parsed as 32MB, or in GB, or in sectors (512B) most commonly. Also, of course, in hex by default but easily converted to decimal.

Link to comment
Share on other sites

Link to post
Share on other sites

9 hours ago, Wooden Law - Black said:

CrystalDiskInfo, the SSD have to show the parameter. 

 

3 hours ago, NewMaxx said:

In addition to CDI as mentioned in the reply above this one, there's also Hard Disk Sentinel (click the S.M.A.R.T. tab for the drive). I have a 545s I can check myself but it's not currently hooked up, however in the past I remember checking it on HDS. In any case, TLC in SLC mode is usually rated for 30K or more PEC. It's worth mentioning that static SLC is more robust than dynamic SLC because the latter comes from all of the native flash (rotating based on wear) while the former is carved from the top/best blocks (in terms of retention).

 

The exact mechanisms of wear can vary but modern controllers can adjust how they do writes to balance the two zones (static SLC + native/dynamic). In fact they can also reduce the static SLC size over time also, if the space is better used for error correction (ECC) for example. Although I suspect I'm veering into technical territory here that you don't care about. Be mindful that if the drive lists SLC writes it will be parsed as 32MB, or in GB, or in sectors (512B) most commonly. Also, of course, in hex by default but easily converted to decimal.

Thank you both of you for the answers. I don't mind learning the more technical aspect of the technology. Even if I don't understand, someone else will probably benefit from reading your post. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×