HSCS: a hybrid shared cache scheduling scheme for multiprogrammed workloads