Commit 8b6d841f 8b6d841fe0f8f0f892b9a9403735c61b6eb13cc6 by Christian Gerdes

Update README.md

1 parent 02ff1e14
Showing 1 changed file with 19 additions and 1 deletions
...@@ -27,7 +27,25 @@ server always needs all available cpu resources given to the machine, minimizing ...@@ -27,7 +27,25 @@ server always needs all available cpu resources given to the machine, minimizing
27 the risk of letting the hypervisor think that cpu resources can be shared with 27 the risk of letting the hypervisor think that cpu resources can be shared with
28 some other virtual machines. This helps in for example performance testing, 28 some other virtual machines. This helps in for example performance testing,
29 where it is important to have the same amount of resources available each time 29 where it is important to have the same amount of resources available each time
30 a performance test is run. 30 a performance test is run, in order to compare with previous results in the same
31 machine.
32
33 It is of corse better to change the virtual machines resources settings to get
34 dedicated CPU resources and high priority, but this is not always easy to
35 achieve, since some virtualization setups want to have the same settings on all
36 machines and let the hypervisor decide where to put what virtual machines. The
37 nature of performance testing, where one hour of the day can require all
38 available CPU resources and the rest of the day does not use any CPU at all, is
39 extremly difficult for the hypervisor to predict, and provide addequate CPU
40 resources when needed during a test.
41
42 For this reason, it is good practice to keep the piloop tool running a day or
43 two before the performance testing starts, in order for the hypervisor to make
44 room and provide CPU resources for all virtual CPU's. In order to not affect
45 other virtual machines by suddenly requireing all CPU's, its also good practice
46 to more slowly increase the number of CPU's being fully loaded with piloop. You
47 can start several piloop processes with a couple of hours in between, where each
48 piloop process loads 25-50% of the available logical CPU's.
31 49
32 ## Compile 50 ## Compile
33 51
......