[PATCH] pipe2 for Linuxulator

Alexander Leidinger Alexander at Leidinger.net
Sun Apr 15 19:01:23 UTC 2012


On Sun, 15 Apr 2012 18:29:28 +0000 Alexander Best <arundel at freebsd.org>
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


More information about the freebsd-emulation mailing list