Set cpu=1 for compatibly. User can adjust it if needed.