Re: High number of context switches.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 03 Mar 1999 00:30:15 +0100

Patrick Mau wrote:

> Just a small question. 'vmstat' shows a really high number of context
> switches per second when squid is build with pthreads and async-io.

Quite normal. It is how it works. Squid makes far from perfect use of
threads when using async-io (quickly dispatching ingle I/O operations to
threads, requiring about 2 context switches per I/O operation).

---
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Mar 02 1999 - 16:16:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:07 MST