Saturday, April 4, 2009

How to check for Thread Context Switching Problems?

Thread Context Switching Problems:-
Check how many simultaneous requests are typically being handled when you have a large number of clients trying to access App Server. When the site is under load, go to the App Server administration page, and see how many handlers are active.

You can also reduce overhead from thread context switching by making sure you have at least one CPU for each process involved in handling the majority of requests:
  • One CPU for your HTTP server,
  • One for App Server,
  • One for the database server.

Note:- The assumption here is that, all the servers (HTTP, Applicaion and Database servers) are running on a multiprocessor (more than 3 processors) system.

Typically, these context switches can be overcome by increasing the parallelism in your site (increasing the number of Server handler threads).

No comments:

Post a Comment