mgorman
06-28-2007, 11:42 AM
3tera docs say this:
"[the CPU] maximum is enforced only if other appliances need the CPU..."
I wanted to double check that this is still, indeed, the current behavior and to make sure I understand properly.
Suppose I have two appliances, Tomcat & MySQL, and I want them to both run on the same machine. (I know I am not supposed to think about physical machines but I do have to make sure I have purchased enough and that everything will run with an appropriate level of performance, etc., so just bear with me.) So I want them to be able to run together so logic says to give each 0.50 CPU so that they can both run
on a 1-CPU machine. Now in this case, virtually every time Tomcat passes a request on to MySQL, the Tomcat appliance will be idle while the MySQL appliance is crunching. Likewise, once MySQL returns its response to Tomcat, MySQL will go back to being idle while Tomcat resumes processing. (I know there could be concurrent requests 180-degrees out of phase with this scenario, but ignore that for now.)
My question is this: I really want Tomcat to be able to take full advantage (i.e. 100%) of the CPU as long as MySQL is not also needing it. Likewise, I want MySQL to have full reign of the CPU as long as Tomcat isn't needing it. What should my min/max CPU configurations look like for these two appliances? Based on what your documentation says, I would say I should set the min/max to 0.50/0.50 for both Tomcat & MySQL. In so doing, I am saying that Tomcat & MySQL require at least half a CPU to work, and according to your docs, Tomcat max CPU of 0.50 will not be enforced as long as MySQL is idle.
Can you please confirm?
"[the CPU] maximum is enforced only if other appliances need the CPU..."
I wanted to double check that this is still, indeed, the current behavior and to make sure I understand properly.
Suppose I have two appliances, Tomcat & MySQL, and I want them to both run on the same machine. (I know I am not supposed to think about physical machines but I do have to make sure I have purchased enough and that everything will run with an appropriate level of performance, etc., so just bear with me.) So I want them to be able to run together so logic says to give each 0.50 CPU so that they can both run
on a 1-CPU machine. Now in this case, virtually every time Tomcat passes a request on to MySQL, the Tomcat appliance will be idle while the MySQL appliance is crunching. Likewise, once MySQL returns its response to Tomcat, MySQL will go back to being idle while Tomcat resumes processing. (I know there could be concurrent requests 180-degrees out of phase with this scenario, but ignore that for now.)
My question is this: I really want Tomcat to be able to take full advantage (i.e. 100%) of the CPU as long as MySQL is not also needing it. Likewise, I want MySQL to have full reign of the CPU as long as Tomcat isn't needing it. What should my min/max CPU configurations look like for these two appliances? Based on what your documentation says, I would say I should set the min/max to 0.50/0.50 for both Tomcat & MySQL. In so doing, I am saying that Tomcat & MySQL require at least half a CPU to work, and according to your docs, Tomcat max CPU of 0.50 will not be enforced as long as MySQL is idle.
Can you please confirm?