> From: Eickvonder Bjoern [mailto:[EMAIL PROTECTED] > Is the following formula correct? > > (response time if 100% CPU would have been granted for the request) / > (percentage of CPU actually granted) = response time
No. If CPU was the only resource, and thread switches were free, then this would be close. However, thread switches take time (which means less time for processing servlet code) and there are other resources that influence almost all response times - database, memory, disk and so on. > And second what parameters do actually influence the percentage of CPU > that is actually granted for a request and can I adjust them? How much time the OS allocates to Tomcat's threads. On most OSs, Tomcat threads map to native threads so the OS schedules each thread. Depending on the OS, you *might* be able to reach in and adjust thread priorities, but I wouldn't recommend it as a general solution. What are you trying to achieve? Tuning the application so that some requests get relatively more CPU than others? - Peter --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]