From owner-freebsd-hackers Sat Apr 25 16:07:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA08095 for freebsd-hackers-outgoing; Sat, 25 Apr 1998 16:07:39 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA08081 for ; Sat, 25 Apr 1998 16:07:24 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id SAA00505; Sat, 25 Apr 1998 18:06:58 -0500 (EST) (envelope-from toor) Message-Id: <199804252306.SAA00505@dyson.iquest.net> Subject: Re: threads performance In-Reply-To: <199804251916.MAA00591@antipodes.cdrom.com> from Mike Smith at "Apr 25, 98 12:16:35 pm" To: mike@smith.net.au (Mike Smith) Date: Sat, 25 Apr 1998 18:06:58 -0500 (EST) Cc: jkh@time.cdrom.com, toshok@Hungry.COM, freebsd-hackers@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith said: > > > The issue of kernel threads is on my plate, I have been *ordered* > > > > I think he was still wanting to know (and I'm darn curious myself) > > why our *user* threads are so slow in comparison to the user thread > > packages on other platforms. I'm not saying kernel threads aren't > > neat or needed, I'm just wondering what specific performance bogon > > we're suffering from in userland which makes it so? > > As was pointed out at the SFBUG, at least one of the problems is the > number of signal mask manipulation system calls that take place. > > Why this hurts so much be comparison to other platforms (which > supposedly also do this) is another question entirely. > We need to use a deferred mechanism, a lot like our interrupt code. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message