From owner-freebsd-current Wed Apr 16 02:00:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA05349 for current-outgoing; Wed, 16 Apr 1997 02:00:05 -0700 (PDT) Received: from hda.hda.com (hda-bicnet.bicnet.net [207.198.1.121]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA05309 for ; Wed, 16 Apr 1997 02:00:01 -0700 (PDT) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id EAA13229 for current@freebsd.org; Wed, 16 Apr 1997 04:47:26 -0400 (EDT) From: Peter Dufault Message-Id: <199704160847.EAA13229@hda.hda.com> Subject: Extra round robin context switching? To: current@freebsd.org Date: Wed, 16 Apr 1997 04:47:26 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk When I added the fixed priority non-round robin scheduling I noticed I get extra context switching between same-priority processes after an interrupt/wakeup outside of the explicit "roundrobin" entry. This happens where wakeup calls "need_resched". I added logic to compare priorities before need_resched in my scratchpad version of kern_synch in ~ftp/dufault/posix4.tgz. Is this causing extra context switches on heavily loaded systems? -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936