trim cache on disk.