From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 15 19:01:23 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47620106566C; Sun, 15 Apr 2012 19:01:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id EFABD8FC18; Sun, 15 Apr 2012 19:01:22 +0000 (UTC) Received: from outgoing.leidinger.net (p4FC432C0.dip.t-dialin.net [79.196.50.192]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 971EA8440A4; Sun, 15 Apr 2012 21:01:08 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id E525A20B8; Sun, 15 Apr 2012 21:01:05 +0200 (CEST) Date: Sun, 15 Apr 2012 21:01:03 +0200 From: Alexander Leidinger To: Alexander Best Message-ID: <20120415210103.000056a8@unknown> In-Reply-To: <20120415182928.GA55270@freebsd.org> References: <20120415000216.GA53624@freebsd.org> <20120415101157.GA67049@freebsd.org> <20120415112308.GA77985@freebsd.org> <20120415134444.000005cc@unknown> <20120415115112.GA83717@freebsd.org> <20120415143441.00000948@unknown> <20120415130306.GA95208@freebsd.org> <20120415163059.0000715d@unknown> <20120415144155.GA15993@freebsd.org> <20120415181613.GA52958@freebsd.org> <20120415182928.GA55270@freebsd.org> X-Mailer: Claws Mail 3.7.10cvs42 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 971EA8440A4.A145B X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.755, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL 0.26, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1335121270.56062@Qk8O09K9L0nZUS3ZbQGy+w X-EBL-Spam-Status: No Cc: freebsd-emulation@freebsd.org Subject: Re: [PATCH] pipe2 for Linuxulator X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 19:01:23 -0000 On Sun, 15 Apr 2012 18:29:28 +0000 Alexander Best wrote: > On Sun Apr 15 12, Alexander Best wrote: > running stats_timing.d revealed something strange...according to this > section: > > Number of calls per provider/application/kernel function: > linuxulator32 > npviewer.bin > proc_exit 2 > proc_exit only got callded twice. however according to this section: > > Longest running (CPU-time!) functions per provider (in ns): > linuxulator32 > proc_exit -16995 > the CPU spent a lot of time for those two calls. AFAIR proc_exit walks down a list or two. Depending on how much is going on, this may take a while. Looks like my DTrace probes and scripts offer the opportunity to do some performance related observations in an easy way. Now we just need some interested souls to actually do it and optimize some things. It would also be great if someone could have a look at http://dtrace.org/blogs/brendan/ and code up some nice GUI respectively an observation and analysis tool. Graphs as represented by Brendan give a much better way of understanding what's going on than a lot of numbers. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137