You can use "echo ::interrupts | mdb -k" to check whether  nge and
nv_sata share the same interrupt vector.

On Tue, Feb 2, 2010 at 2:59 PM, Qihua Wu <dtrace...@gmail.com> wrote:
> For X4100 M2, we have no interrupt on disk, after upgraded to X4440, we got
> interrupt on disk, and what's weird is that the interrupt on network card is
> always equal to the number of interrupt on disk. I also used iosnoop the
> check what is touching the disk, iosnoop shows sched touched the disk, not
> sure why.
>
> X4100 M2
> phxdb158$>  intrstat -c 0
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        nge#0 |      3352  2.1
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        mpt#0 |         0  0.0
>        nge#0 |      3201  2.0
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        mpt#0 |         0  0.0
>        nge#0 |      3458  2.2
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        mpt#0 |         0  0.0
>        nge#0 |      3045  1.9
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        mpt#0 |         0  0.0
>        nge#0 |      3025  1.8
>
>       device |      cpu0 %tim
> -------------+---------------
>     e1000g#1 |         0  0.0
>       ehci#0 |         0  0.0
>        mpt#0 |         0  0.0
>        nge#0 |      3206  1.9
>
> X4440
> phxdb611$> intrstat -c 7
>
>       device |      cpu7 %tim
> -------------+---------------
>       ehci#0 |         0  0.0
>        nge#0 |      6983  2.9
>        nge#1 |         3  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      6983  0.6  ====> disk interrupt, always equal to the
> interrupt on nge#0, why this happens.
>
>       device |      cpu7 %tim
> -------------+---------------
>       ehci#0 |         0  0.0
>        nge#0 |      6944  2.9
>        nge#1 |         4  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      6944  0.6
>
>       device |      cpu7 %tim
> -------------+---------------
>       ehci#0 |         0  0.0
>        nge#0 |      7177  2.9
>        nge#1 |         4  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      7177  0.6
>
>       device |      cpu7 %tim
> -------------+---------------
>       ehci#0 |         0  0.0
>        nge#0 |      6908  2.9
>        nge#1 |         3  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      6908  0.6
>
>       device |      cpu7 %tim
> -------------+---------------
>       ehci#0 |         0  0.0
>        nge#0 |      6722  2.9
>        nge#1 |         4  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      6722  0.6
>
>       device |      cpu7 %tim
> -------------+---------------
>        aac#0 |         0  0.0
>       ehci#0 |         0  0.0
>        nge#0 |      6579  2.7
>        nge#1 |         4  0.0
>    nv_sata#0 |         0  0.0
>    nv_sata#2 |      6579  0.6
>
> phxdb611$> iosnoop -a
> STRTIME              DEVICE  MAJ MIN   UID   PID D    BLOCK
> SIZE                     PATHNAME ARGS
> 2010 Feb  1 23:47:59 sd1      31  70     0     3 W  2875520
> 8192               /var/adm/pacct fsflush\0
> 2010 Feb  1 23:47:59 sd1      31  69     0     3 W    11872   8192
> /tmp/hsperfdata_root/249 fsflush\0
> 2010 Feb  1 23:48:06 sd1      31  70     0     3 W   253224   1024
> /var/perfstats/vmstat.phxdb611.out_0201_230000 fsflush\0
> 2010 Feb  1 23:48:12 sd1      31  64     0     3 W    55376
> 15360                       <none> fsflush\0
> 2010 Feb  1 23:48:12 sd1      31  70     0     3 W    29210
> 11264                       <none> fsflush\0
> 2010 Feb  1 23:48:12 sd1      31  69     0     3 W    11520
> 14336                       <none> fsflush\0
> 2010 Feb  1 23:48:12 sd1      31  68     0     3 W   105634
> 512                       <none> fsflush\0
> 2010 Feb  1 23:48:14 sd1      31  70     0     3 W   252824   2048
> /var/perfstats/iostat.phxdb611.out_0201_230000 fsflush\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W       16
> 2048                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W       48
> 8192                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W       64
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W       73
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W     1552
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  69     0     0 W     1584
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W       16
> 2048                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W     1260
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295377
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295395
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295403
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295407
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295414
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295416
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295429
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   590676
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   590695
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689553
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689603
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689640
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689681
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689720
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689734
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689737
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   689747
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   788232
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W    49936
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 R   886608
> 8192                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295440
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295487
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295583
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295625
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295651
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   295699
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296581
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296586
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296590
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886286
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886305
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886310
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886435
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886495
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886498
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886501
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886506
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886525
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886553
> 1536                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886611
> 5632                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886643
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W    49936
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296597
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296600
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296608
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296618
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296632
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296637
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296662
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   296753
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   492226
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   492359
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   492597
> 1536                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   492999
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886658
> 4096                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886667
> 2560                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   886672
> 1536                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   984676
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   984882
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W   984884
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1082990
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1083087
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1083088
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1083098
> 1536                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W    49936
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1082800
> 8192                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1083104
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W  1083110
> 512                       <none> sched\0
> 2010 Feb  1 23:48:19 sd1      31  64     0     0 W    49936
> 1024                       <none> sched\0
> 2010 Feb  1 23:48:21 sd1      31  70     0     3 W   253112   4096
> /var/perfstats/netstats-phxdb611-000051414.txt fsflush\0
> ^C
>
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org
>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to