support multi-core and cluster