Performance analysis of multistage interconnection networks with general traffic