Open SAM-ZY-2019 opened 4 years ago
Preconditioning has been working correctly for all of our simulation scenarios. Please share the SSD configuration and workload definition files you are using for your simulation scenarios.
Error:
Unhandled address distribution type in FTL's preconditioning function.
SSD:
`<?xml version="1.0" encoding="us-ascii"?>
Trace-based Workload
<?xml version="1.0" encoding="us-ascii"?>
`
It seems if the workload is trace-only, the Address_Distribution_Type is by default set as MIXED_STREAMING_RANDOM, which is not handled in preconditioning. One workaround seems to be changing the enum definition of Address_Distribution_Type to use a type handled by preconditioning as default.
I think the preconditioning doesn’t work – endless while loop. In FTL.cpp, FTL::Perform_precondition function, Step 1-4, there are two while loops:
The “loop1” runs forever, and the printouts of it show that "lpa_set_for_preconditioning" is always an empty set. In detail, [FTL::Perform_precondition] Step 1-4: while loop 1: