Communication Optimization for SMP Clusters