[dtrace-discuss] dtrace wired issue

Aubrey Li
Tue, 15 Jan 2008 08:10:32 -0000

On Jan 15, 2008 2:45 PM, max at bruningsystems.com <max at
bruningsystems.com> wrote:
> Hi Aubrey,
>> -------snip----------
> > setrlimit(RLIMIT_NOFILE, 0xFFFFFD7FFFDFEE80)    = 0
> > openat(AT_FDCWD, "/dev/dtrace/provider",
O_RDONLY|O_NDELAY|O_LARGEFILE) = 3
> > fcntl(3, F_SETFD, 0x00000001)                   = 0
> > fstat(3, 0xFFFFFD7FFFDFE8E0)                    = 0
> > getdents(3, 0xFFFFFD7FFF174000, 8192) (sleeping...)
> > -----------here, dtrace sleep almost 4 minutes--------
> > ...and continue...
> >
> >
> How long does an ls -l /dev/dtrace/provider take?

Yes, it costs almost 4 minutes.

> I doubt you are swapping with 2G of memory.
> You can run vmstat -S 2  to see if there is any swapping.  I''ll
look a
> bit more...

# vmstat -S 2
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  si  so pi po fr de sr cd -- -- --   in   sy   cs us sy id
 0 0 0 1601116 1352560 0  0 717 2 53  0 2502 71 0 0  0  718 7222 2813  4  3 93
 0 0 0 1516012 1236776 0  0  0  0  0  0  0  0  0  0  0  388  269  347  0  0 99
 0 0 0 1516012 1236808 0  0  0  0  0  0  0  0  0  0  0  394  262  354  0  0 100
 0 0 0 1516012 1236808 0  0  0  0  0  0  0  0  0  0  0  392  255  356  0  0 100
 0 0 0 1516016 1236812 0  0  0  0  0  0  0 23  0  0  0  425  380  396  1  0 99
 0 0 0 1516016 1236812 0  0  0  0  0  0  0  0  0  0  0  389  294  332  0  0 100
 0 0 0 1516016 1236812 0  0  0  0  0  0  0  0  0  0  0  382  466  444  0  0 99
 0 0 0 1516016 1236812 0  0  0  0  0  0  0  0  0  0  0  394  273  346  0  0 100
 0 0 0 1516016 1236812 0  0  0  0  0  0  0  0  0  0  0  387  250  328  0  0 99
 0 0 0 1516016 1236812 0  0  0  0  0  0  0  0  0  0  0  384  264  339  0  0 100

> By the way, are you running on Indiana (just curious...).
>

No, I''m using nevada.

[aubrey-monv@~]cat /etc/release
                   Solaris Express Community Edition snv_77 X86
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 06 November 2007

Thanks,
-Aubrey