From owner-freebsd-arm@FreeBSD.ORG Wed Jan 30 11:05:24 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2574E8E6 for ; Wed, 30 Jan 2013 11:05:24 +0000 (UTC) (envelope-from olli@grabthar.secnetix.de) Received: from grabthar.secnetix.de (grabthar.secnetix.de [212.17.241.225]) by mx1.freebsd.org (Postfix) with ESMTP id 85702F47 for ; Wed, 30 Jan 2013 11:05:23 +0000 (UTC) Received: from grabthar.secnetix.de (localhost [127.0.0.1]) by grabthar.secnetix.de (8.14.5/8.14.5) with ESMTP id r0UB5Fdw018150; Wed, 30 Jan 2013 12:05:16 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by grabthar.secnetix.de (8.14.5/8.14.5/Submit) id r0UB5F5Y018149; Wed, 30 Jan 2013 12:05:15 +0100 (CET) (envelope-from olli) Date: Wed, 30 Jan 2013 12:05:15 +0100 (CET) Message-Id: <201301301105.r0UB5F5Y018149@grabthar.secnetix.de> From: Oliver Fromme To: freebsd-arm@FreeBSD.ORG, ronald-freebsd8@klop.yi.org, wynkoop@wynn.com Subject: Re: disk wait mystery In-Reply-To: <20130130053729.0c9e018f@ivory.lan> X-Newsgroups: list.freebsd-arm User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (FreeBSD/9.1-PRERELEASE-20120811 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-arm@FreeBSD.ORG, ronald-freebsd8@klop.yi.org, wynkoop@wynn.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 11:05:24 -0000 Brett Wynkoop wrote: > > > wynkoop@beaglebone:~ % !ps > > > ps ax > > > PID TT STAT TIME COMMAND > > > 0 - DLs 0:00.02 [kernel] > > > 1 - ILs 0:00.20 /sbin/init -- > > > 2 - DL 0:00.00 [xpt_thrd] > > > 3 - DL 0:01.92 [task: mmc/sd card] > > > 4 - DL 0:00.01 [pagedaemon] > > > 5 - DL 0:00.00 [vmdaemon] > > > 6 - DL 0:00.00 [pagezero] > > > 7 - DL 0:00.02 [bufdaemon] > > > 8 - DL 0:00.02 [vnlru] > > > 9 - DL 0:00.10 [syncer] > > > 10 - RL 17:15.90 [idle] > > > 11 - WL 0:07.91 [intr] > > > 12 - DL 0:00.17 [geom] > > > 13 - DL 0:00.21 [yarrow] > > > 14 - DL 0:00.06 [softdepflush] > > > 15 - DL 0:00.15 [schedcpu] > > > 106 - DL 0:00.00 [md0] > [...] > From the ps man page: > D Marks a process in disk (or other short term, > uninterruptible) wait. > > Note all the D entries in the above ps output. That's normal (on all architectures, not just arm). Those "processes" in square brackets are kernel threads which are uninterruptible (well, for some definition of uninterruptible). So they always have the "D" flag set, even if they don't wait for the disk. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Handelsregister: Amtsgericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsreg.: Amtsgericht München, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen/-Produkte + mehr: http://www.secnetix.de/bsd One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them.