From owner-freebsd-hackers Mon Aug 12 10:35:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA00996 for hackers-outgoing; Mon, 12 Aug 1996 10:35:23 -0700 (PDT) Received: from etinc.com (etinc.com [204.141.244.98]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA00991 for ; Mon, 12 Aug 1996 10:35:19 -0700 (PDT) Received: from dialup-usr11.etinc.com (dialup-usr11.etinc.com [204.141.95.132]) by etinc.com (8.6.12/8.6.9) with SMTP id NAA16750 for ; Mon, 12 Aug 1996 13:39:31 -0400 Date: Mon, 12 Aug 1996 13:39:31 -0400 Message-Id: <199608121739.NAA16750@etinc.com> X-Sender: dennis@etinc.com X-Mailer: Windows Eudora Version 2.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: hackers@freebsd.org From: dennis@etinc.com (Dennis) Subject: Re: FreeBSD vs. NT Stability Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >E-mail message from Igor Khasilev contained: >> >> > So my question is: how does NT behave when it has to schedule between a >> > large number of processes each with its own process context, VM, page tables >> > etc? Conversely how does the unix program behave when linked with -lpthreads >> > and with `fork()' replaced with `pthread_create()'? >> >> One bad thing with user level threads (actualy pthreads that I used): >> sheduler which runs on user lever ALWAYS consume processor time (even wnen > >Only when *really* poorly implemented. Otherwise it waits in select(2) to >be awaken by the incoming traffic or that the timeout fires (condition timed >wait, for instance.) When all threads are blocked, no VTALRM's should be >scheduled (I don't know if CAP's pthread implements the last optimization.) This is all very nice, but on a macro level NT has two very obvious problems to consider: 1) Its rather new... 2) It was written by Microsoft Much more significant than the above.... Dennis