How to set the weight of the container can make the CPU resources of test1 and test2 account for 33.3% and 66.7%

Use stress to calculate pressure?or Ordinary Mirror?
I will be grateful!thank you!