From owner-freebsd-current@FreeBSD.ORG Sun Jul 1 16:57:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94A7216A468 for ; Sun, 1 Jul 2007 16:57:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outV.internet-mail-service.net (outV.internet-mail-service.net [216.240.47.245]) by mx1.freebsd.org (Postfix) with ESMTP id 8276C13C44C for ; Sun, 1 Jul 2007 16:57:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Sun, 01 Jul 2007 09:57:20 -0700 Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 0751E125CE1; Sun, 1 Jul 2007 09:02:44 -0700 (PDT) Message-ID: <4687D02E.9010703@elischer.org> Date: Sun, 01 Jul 2007 09:02:54 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Momchil Ivanov References: <20070630085038.GA1473@roadrunner.q.local> <200707011347.26028.idiotbg@gmail.com> In-Reply-To: <200707011347.26028.idiotbg@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: SCHED_4BSD: More than 1 process running on UP machine? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2007 16:57:20 -0000 Momchil Ivanov wrote: > On Saturday 30 June 2007 10:50:38 Ulrich Spoerlein wrote: >> Hi all, >> >> I upgraded to -CURRENT and am running with SCHED_BSD on an UP machine >> (where ULE has no advantage over BSD, right?) the proceses in RUN state are runnable and not in a sleep queue or waiting on a mutex.. > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 1038 space 3 20 0 74196K 64224K kserel 0:07 0.00% opera > 1089 space 3 20 0 57064K 48108K kserel 0:16 0.00% kmail > 950 space 1 96 0 54568K 36388K select 0:19 2.93% Xorg > 1013 space 1 96 0 35348K 29004K RUN 0:01 0.00% kdeinit > 1087 space 1 96 0 34600K 28608K select 0:00 0.00% korgac > 1083 space 1 96 0 33184K 24020K select 0:00 0.00% kdeinit > 1025 space 1 96 0 32416K 26876K RUN 0:01 0.00% kdeinit > 1069 space 1 96 0 32072K 26584K select 0:00 0.00% kdeinit > 1151 space 1 96 0 31612K 26120K select 0:00 0.00% kdeinit > 1045 space 1 96 0 31612K 26116K select 0:00 0.00% kdeinit > 1035 space 1 96 0 31164K 25960K select 0:00 0.00% kgpg > 1023 space 1 96 0 31028K 26016K RUN 0:01 0.00% kdeinit > 1051 space 1 96 0 30564K 23000K select 0:01 0.00% pidgin > 1021 space 1 96 0 28724K 22896K RUN 0:01 0.00% kdeinit > > on my laptop with FreeBSD 6.2-STABLE #10: Thu Jun 14 13:01:26 CEST 2007. After > the next refresh of top, these in state "RUN" are in state "select", and > only "top" is shown in state "RUN". However if I change the order of sorting, > say by size or by cpu usage, in the first moment I see a couple of processes > in "RUN" state as above and after the next refresh top shows them in "select" > state. >