Static Partitioning vs Dynamic Sharing of Resources in Simultaneous MultiThreading Microarchitectures