Optimize fs performance