From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 2 17:26:00 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCAD016A4CE for ; Wed, 2 Mar 2005 17:26:00 +0000 (GMT) Received: from web52702.mail.yahoo.com (web52702.mail.yahoo.com [206.190.39.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F0F643D1D for ; Wed, 2 Mar 2005 17:26:00 +0000 (GMT) (envelope-from kamalpr@yahoo.com) Received: (qmail 99966 invoked by uid 60001); 2 Mar 2005 17:25:59 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=yQje6EQbwxsPAb+ju6x3GwBioE2L92oS3qcjudpUQ+WqJGwnHG5R7WlSGkVV7Es1z96WMbipP3PyVkVa8tYSbh9QtGoTDaB6V9pFU2zseK6VDHh815j2g+837wzt+BSQrXOciHHDiFrWf25z1eMipNGoBk/4qwobhDwcKFgPXxw= ; Message-ID: <20050302172559.99964.qmail@web52702.mail.yahoo.com> Received: from [202.91.78.244] by web52702.mail.yahoo.com via HTTP; Wed, 02 Mar 2005 09:25:59 PST Date: Wed, 2 Mar 2005 09:25:59 -0800 (PST) From: "Kamal R. Prasad" To: Lucas Holt , Julian Elischer In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-hackers@freebsd.org Subject: Re: sched_4BSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kamalp@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 17:26:01 -0000 --- Lucas Holt wrote: > Wouldn't a multi threaded program potentially need > more cpu time than > vi? No. That is not a given. > Multithreaded apps are created to do a lot of > computation or > because they have a lot of concurrent activity that > might block right? > Threads are meant to take advantage of concurrency. Maybe the freebsd implementation should implement NPTL in entirety. > > On Mar 1, 2005, at 2:49 PM, Julian Elischer wrote: > >> > > > > If you make 1000 threads, you get 1000 slots on > the scheduler. (last > > time I looked.. > > Let me know if I'm wrong). > > depends on whether it is defined to execute in system scope or not. regards -kamal ===== ------------------------------------------------------------ Kamal R. Prasad UNIX systems consultant kamalp@acm.org In theory, there is no difference between theory and practice. In practice, there is:-). ------------------------------------------------------------ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com