To understand wear leveling in SSDs, we need to take a quick look at of how NAND Flash memory works: Data is stored inside the cells in the NAND Flash chips in your solid-state drive. Depending on the type, these cells have a limited number of P/E (Program/Erase) cycles which,.