Quantifying benefits of offloading data management to storage devices