Maximizing Performance using partitioning