Reducing I/O cost for performance