Text this: Parallel performance model for network processors and the characteristics of multithread stalls