From owner-freebsd-hackers Tue Jan 7 04:49:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA20271 for hackers-outgoing; Tue, 7 Jan 1997 04:49:27 -0800 (PST) Received: from hda.hda.com (ip48-max1-fitch.ziplink.net [199.232.245.48]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id EAA20266 for ; Tue, 7 Jan 1997 04:49:24 -0800 (PST) Received: (from dufault@localhost) by hda.hda.com (8.6.12/8.6.12) id HAA02203; Tue, 7 Jan 1997 07:45:15 -0500 From: Peter Dufault Message-Id: <199701071245.HAA02203@hda.hda.com> Subject: Re: mmap() updates...how often? In-Reply-To: from The Hermit Hacker at "Jan 7, 97 06:18:20 am" To: scrappy@hub.org (The Hermit Hacker) Date: Tue, 7 Jan 1997 07:45:14 -0500 (EST) Cc: hackers@FreeBSD.ORG 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-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Hi... > > Not quite sure how to word this one, but how often does > an mmap() region get updated, in so far as client processes seeing > the data that the server process writes to it? (You see 20 frames pass before the client process runs) Duh. Ignore my previous message - I should read carefully before writing. You're seeing the scheduling granularity. The originator process is running for twenty frames before its slice is taken away. You need to do something to let those clients run, or better, give the SMP folk a workout. See my last message about passing a token around to ensure everyone runs. -- Peter Dufault (dufault@hda.com) Realtime Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936