From owner-freebsd-hackers Sat Apr 25 01:17:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25383 for freebsd-hackers-outgoing; Sat, 25 Apr 1998 01:17:52 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from fledge.watson.org (root@FLEDGE.RES.CMU.EDU [128.2.91.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25377 for ; Sat, 25 Apr 1998 01:17:47 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.8.8/8.8.8) with SMTP id EAA28916 for ; Sat, 25 Apr 1998 04:17:46 -0400 (EDT) Date: Sat, 25 Apr 1998 04:17:45 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org Reply-To: Robert Watson To: freebsd-hackers@FreeBSD.ORG Subject: Context switch time Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was wondering what the average context switch time across a syscall invocation is, also, how long it takes to switch in a different process. Presumably just on a Pentium 100ish processor. Is this data I can retrieve from the kernel profiler? mi_switch and tsleep both appear in the profiling data, but it is not clear to me that this includes the time for the switch to kernel context, etc. Thanks, Robert N Watson ---- Carnegie Mellon University http://www.cmu.edu/ Trusted Information Systems http://www.tis.com/ SafePort Network Services http://www.safeport.com/ robert@fledge.watson.org http://www.watson.org/~robert/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message