Backporting 3cf4135fcfc45cd1f95 (bugz 4626: set normal priority shares for cpu and memory)