Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2011 16:17:09 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        KES <kes-kes@yandex.ua>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: problems with IRQ
Message-ID:  <20111006161709.GA29578@freebsd.org>
In-Reply-To: <92791317911917@web16.yandex.ru>
References:  <92791317911917@web16.yandex.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu Oct  6 11, KES wrote:
> system work fine, but systat -v show wrong results in compare with vmstat -i
> seems counter overflow or so..

i'd rather suspect that systat(1) is querying different variables/structures
than vmstat(8). their output is different on my system too and after only a few
hours of uptime and very little interrupts, i would rule out a counter
overflow.

cheers.
alex

> 
> systat -v
>     2 users    Load  0.95  1.13  1.15                  Oct  6 17:36
> 
> Mem:KB    REAL            VIRTUAL                       VN PAGER   SWAP PAGER
>         Tot   Share      Tot    Share    Free           in   out     in   out
> Act  342596    6396   813716     9244 1395872  count
> All  527128   10356  3002896    39336          pages
> Proc:                                                            Interrupts
>   r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt     31 cow    254k total
>              50      557k 2614  14k 237k 4028  449    127 zfod        atkbd0 1
>                                                         2 ozfod    12 ata0 14
>  9.1%Sys  21.7%Intr  1.6%User  0.0%Nice 67.6%Idle       1%ozfod  221k ehci0 16
> |    |    |    |    |    |    |    |    |    |    |       daefr     2 ehci1 23
> =====++++++++++>                                       37 prcfr  4130 cpu0:timer
>                                         42 dtbuf      314 totfr 15799 re0 256
> Namei     Name-cache   Dir-cache    142271 desvn          react  4131 cpu1:timer
>    Calls    hits   %    hits   %     87941 numvn          pdwak  4129 cpu3:timer
>     6158    5762  94                 35563 frevn          pdpgs  4130 cpu2:timer
>                                                           intrn
> Disks   ad0   da0 pass0                            298480 wire
> KB/t  18.79  0.00  0.00                            193600 act
> tps      12     0     0                           2103500 inact
> MB/s   0.22  0.00  0.00                              9180 cache
> %busy     0     0     0                           1386692 free
> 
> 
> # vmstat -i
> interrupt                          total       rate
> irq1: atkbd0                        2536          0
> irq14: ata0                      8516926          9
> irq16: ehci0                  2233740154       2585
> irq23: ehci1                     2594742          3
> cpu0:timer                    3562265448       4122
> irq256: re0                   2291967374       2652
> cpu1:timer                    3562481709       4123
> cpu3:timer                    3479157511       4026
> cpu2:timer                    3555645238       4115
> Total                        18696371638      21638
> 
> thank you.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20111006161709.GA29578>