HI, T5220, S10U4 + patches mdb -k> ::memstatWhile above is working (takes some time, ideally ::memstat -n 4 to use 4 threads could be useful) mpstat 1 shows: CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 48 0 0 1922112 9 0 0 8 0 0 0 15254 6 94 0 0 So about 2mln xcalls per second. Let''s check with dtrace: dtrace -n sysinfo:::xcalls''{@=count();}'' -n tick-1s''{printa(@);clear(@);}'' dtrace: description ''sysinfo:::xcalls'' matched 4 probes dtrace: description ''tick-1s'' matched 1 probe CPU ID FUNCTION:NAME 24 47924 :tick-1s 28274 24 47924 :tick-1s 27808 24 47924 :tick-1s 27721 24 47924 :tick-1s 27736 ^C less than 30k per second. I guess dtrace output is more reasonable but I''m not sure. Why the difference? -- This message posted from opensolaris.org
Hey Robert, There shouldn''t be any difference at all. Can you send a couple more lines of mpstat output? - ahl On Mar 14, 2008, at 11:35 AM, Robert Milkowski wrote:> HI, > > T5220, S10U4 + patches > > mdb -k >> ::memstat > > > While above is working (takes some time, ideally ::memstat -n 4 to > use 4 threads could be useful) mpstat 1 shows: > > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr > sys wt idl > 48 0 0 1922112 9 0 0 8 0 0 0 15254 6 > 94 0 0 > > > So about 2mln xcalls per second. > Let''s check with dtrace: > > dtrace -n sysinfo:::xcalls''{@=count();}'' -n > tick-1s''{printa(@);clear(@);}'' > dtrace: description ''sysinfo:::xcalls'' matched 4 probes > dtrace: description ''tick-1s'' matched 1 probe > CPU ID FUNCTION:NAME > 24 47924 :tick-1s > 28274 > > 24 47924 :tick-1s > 27808 > > 24 47924 :tick-1s > 27721 > > 24 47924 :tick-1s > 27736 > > ^C > > less than 30k per second. > > I guess dtrace output is more reasonable but I''m not sure. > > Why the difference? > > > -- > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Hello Adam, Friday, March 21, 2008, 6:26:17 AM, you wrote: AL> Hey Robert, AL> There shouldn''t be any difference at all. Can you send a couple more AL> lines of mpstat output? ::memstat in one terminak and in the other: mpstat 1 | egrep "CPU|^ 25 " CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 95 4 0 6 0 0 0 0 4 0 0 0 100 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1975386 8 0 0 7 0 0 0 15678 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1978812 9 0 0 8 0 0 0 15705 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1968352 8 0 0 7 0 0 0 15622 7 93 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1970860 8 0 0 7 0 0 0 15641 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1967068 8 0 0 7 0 0 0 15613 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1969025 8 0 0 7 0 0 0 15626 7 93 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1977099 8 0 0 7 0 0 0 15691 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1976120 8 0 0 7 0 0 0 15683 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1979301 9 0 0 8 0 0 0 15710 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1983827 8 0 0 7 0 0 0 15744 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1982359 8 0 0 7 0 0 0 15734 7 93 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1979913 8 0 0 7 0 0 0 15714 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1971900 8 0 0 7 0 1 0 15650 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1979607 8 0 0 7 0 0 0 15712 6 94 0 0 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 25 0 0 1962786 9 0 2 8 1 0 0 15582 6 93 0 1 Couple of full mpstat output: mpstat 1 [skipped first output] CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 128 244 142 10 0 2 0 0 3 0 0 0 100 1 0 0 0 17 0 31 0 1 0 0 19 0 0 0 100 2 0 0 1 6 0 8 0 0 0 0 0 0 0 0 100 3 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 4 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 5 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 8 0 0 0 2 0 2 0 0 0 0 0 0 1 0 99 9 0 0 2 3 0 4 0 0 0 0 0 0 0 0 100 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 16 0 0 1 3 0 4 0 0 4 0 250 0 0 0 100 17 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 18 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 24 0 0 1 16 0 29 0 1 0 0 10 0 0 0 100 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 26 0 0 0 3 2 0 0 0 1 0 0 0 0 0 100 27 0 0 0 52 50 2 0 0 1 0 0 0 0 0 100 28 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 32 0 0 1 39 1 74 0 0 0 0 0 0 0 0 100 33 0 0 0 2 0 2 0 1 0 0 5 0 0 0 100 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 36 0 0 0 2 0 2 0 1 0 0 0 0 0 0 100 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 40 0 0 0 2 0 2 0 0 1 0 0 0 0 0 100 41 0 0 1984683 9 0 0 8 0 0 0 15751 6 94 0 0 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 48 8 0 1 8 0 12 1 0 5 0 643 2 1 0 97 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 52 0 0 1 6 4 2 0 0 2 0 0 0 0 0 100 53 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 54 0 0 0 6 5 0 0 0 0 0 0 0 0 0 100 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 56 0 0 0 38 0 76 0 1 0 0 0 0 1 0 99 57 0 0 0 3 0 2 0 1 0 0 1 0 0 0 100 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 110 240 140 45 0 1 1 0 19 0 1 0 99 1 0 0 0 5 0 6 0 1 0 0 2 0 0 0 100 2 0 0 0 5 0 8 0 0 0 0 0 0 0 0 100 3 0 0 0 3 0 4 0 0 0 0 17 0 0 0 100 4 0 0 0 4 0 6 0 0 0 0 17 0 0 0 100 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 6 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 7 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 8 0 0 0 3 0 2 0 0 0 0 0 0 2 0 98 9 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 10 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 11 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 12 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 13 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 16 0 0 0 3 0 2 1 0 0 0 388 1 1 0 98 17 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 24 0 0 0 6 0 10 0 0 0 0 3 0 0 0 100 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 26 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 27 0 0 0 64 63 0 0 0 2 0 0 0 0 0 100 28 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 32 0 0 0 36 1 70 0 1 0 0 5 0 0 0 100 33 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 34 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 41 0 0 1960148 8 0 0 7 0 0 0 15557 7 93 0 0 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 48 1 0 1 7 0 12 0 0 1 0 596 3 0 0 97 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 52 0 0 0 7 5 3 0 1 0 0 0 0 0 0 100 53 0 0 0 2 0 3 0 1 0 0 0 0 0 0 100 54 0 0 0 6 4 2 0 0 0 0 0 0 0 0 100 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 56 0 0 0 37 0 74 0 2 3 0 0 0 0 0 100 57 0 0 1 3 0 4 0 1 2 0 0 0 0 0 100 58 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 114 238 138 25 0 1 1 0 9 0 1 0 99 1 0 0 0 3 0 4 0 0 0 0 2 0 0 0 100 2 0 0 0 4 0 6 0 0 0 0 0 0 0 0 100 3 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 8 0 0 0 2 0 2 0 0 0 0 0 0 2 0 98 9 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 14 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 15 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 16 0 0 0 3 0 2 0 0 1 0 399 0 0 0 100 17 0 0 0 3 0 2 0 0 0 0 0 0 0 0 100 18 0 0 0 3 0 2 0 0 0 0 0 0 0 0 100 19 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 20 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 21 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 22 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 24 0 0 0 3 0 2 0 0 0 0 1 0 0 0 100 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 26 0 0 0 3 2 0 0 0 1 0 0 0 0 0 100 27 0 0 0 63 61 2 0 0 2 0 0 0 0 0 100 28 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 32 0 0 2 38 1 75 0 1 0 0 5 0 1 0 99 33 0 0 0 5 0 6 0 1 0 0 2 0 0 0 100 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 41 0 0 1973674 8 0 0 7 0 0 0 15664 6 94 0 0 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 48 0 0 1 6 0 8 1 0 2 0 563 2 1 0 97 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 52 0 0 0 5 3 2 0 1 0 0 17 0 0 0 100 53 0 0 0 15 1 25 0 1 0 0 11 0 0 0 100 54 0 0 0 4 3 0 0 0 1 0 0 0 0 0 100 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 56 0 0 0 38 0 74 0 0 0 0 0 0 0 0 100 57 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 0 0 123 236 136 4 0 1 0 0 0 0 1 0 99 1 0 0 0 3 0 6 0 0 0 0 2 0 0 0 100 2 0 0 0 5 0 8 0 1 0 0 0 0 0 0 100 3 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 8 0 0 0 3 0 3 0 0 0 0 0 0 2 0 98 9 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 16 0 0 0 5 0 8 0 1 2 0 399 1 0 0 99 17 0 0 0 2 0 2 0 0 0 0 0 0 1 0 99 18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 23 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 24 0 0 0 3 0 2 0 0 0 0 1 0 0 0 100 25 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 26 0 0 0 5 3 0 0 0 1 0 0 0 0 0 100 27 0 0 0 61 59 0 0 0 2 0 0 0 1 0 99 28 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 29 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 30 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 32 0 0 0 38 1 72 0 0 0 0 0 0 0 0 100 33 0 0 0 6 0 10 0 1 0 0 7 0 0 0 100 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 41 0 0 1979790 8 0 0 7 0 0 0 15713 6 94 0 0 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 48 0 0 1 6 0 10 0 0 1 0 563 2 1 0 97 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 52 0 0 0 4 3 0 0 0 0 0 0 0 0 0 100 53 0 0 0 21 0 41 0 0 0 0 17 0 0 0 100 54 0 0 0 4 3 0 0 0 1 0 0 0 0 0 100 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 56 0 0 0 38 0 75 0 0 0 0 0 0 0 0 100 57 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 ^C Running dtrace and mpstat at the same time gives about 27,700 xcalls per second for according to dtrace and about 1,7mln according to mpstat 1. The other interesting thing: if I run mpstat 1 alone I''m getting almost 2mln xcalls per second - when I start dtrace one-liner I posted it drops to about 1,7mln per second in mpstat. -- Best regards, Robert Milkowski mailto:milek at task.gda.pl http://milek.blogspot.com
Hi Robert, I''m not able to reproduce this. What kind of hardware are you on? Regarding the drop when you run DTrace, it''s possible that DTrace is causing the cross-calls to go more slowly meaning that fewer of them are executing each second. Adam On Tue, Mar 25, 2008 at 08:55:59AM +0000, Robert Milkowski wrote:> Hello Adam, > > Friday, March 21, 2008, 6:26:17 AM, you wrote: > > AL> Hey Robert, > > AL> There shouldn''t be any difference at all. Can you send a couple more > AL> lines of mpstat output? > > > ::memstat in one terminak and in the other: > > mpstat 1 | egrep "CPU|^ 25 " > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 95 4 0 6 0 0 0 0 4 0 0 0 100 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1975386 8 0 0 7 0 0 0 15678 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1978812 9 0 0 8 0 0 0 15705 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1968352 8 0 0 7 0 0 0 15622 7 93 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1970860 8 0 0 7 0 0 0 15641 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1967068 8 0 0 7 0 0 0 15613 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1969025 8 0 0 7 0 0 0 15626 7 93 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1977099 8 0 0 7 0 0 0 15691 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1976120 8 0 0 7 0 0 0 15683 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1979301 9 0 0 8 0 0 0 15710 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1983827 8 0 0 7 0 0 0 15744 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1982359 8 0 0 7 0 0 0 15734 7 93 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1979913 8 0 0 7 0 0 0 15714 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1971900 8 0 0 7 0 1 0 15650 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1979607 8 0 0 7 0 0 0 15712 6 94 0 0 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 25 0 0 1962786 9 0 2 8 1 0 0 15582 6 93 0 1 > > > > Couple of full mpstat output: > > mpstat 1 > [skipped first output] > > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 0 0 0 128 244 142 10 0 2 0 0 3 0 0 0 100 > 1 0 0 0 17 0 31 0 1 0 0 19 0 0 0 100 > 2 0 0 1 6 0 8 0 0 0 0 0 0 0 0 100 > 3 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 4 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 5 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 8 0 0 0 2 0 2 0 0 0 0 0 0 1 0 99 > 9 0 0 2 3 0 4 0 0 0 0 0 0 0 0 100 > 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 16 0 0 1 3 0 4 0 0 4 0 250 0 0 0 100 > 17 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 > 18 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 > 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 24 0 0 1 16 0 29 0 1 0 0 10 0 0 0 100 > 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 26 0 0 0 3 2 0 0 0 1 0 0 0 0 0 100 > 27 0 0 0 52 50 2 0 0 1 0 0 0 0 0 100 > 28 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 > 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 32 0 0 1 39 1 74 0 0 0 0 0 0 0 0 100 > 33 0 0 0 2 0 2 0 1 0 0 5 0 0 0 100 > 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 36 0 0 0 2 0 2 0 1 0 0 0 0 0 0 100 > 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 40 0 0 0 2 0 2 0 0 1 0 0 0 0 0 100 > 41 0 0 1984683 9 0 0 8 0 0 0 15751 6 94 0 0 > 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 48 8 0 1 8 0 12 1 0 5 0 643 2 1 0 97 > 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 52 0 0 1 6 4 2 0 0 2 0 0 0 0 0 100 > 53 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 > 54 0 0 0 6 5 0 0 0 0 0 0 0 0 0 100 > 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 56 0 0 0 38 0 76 0 1 0 0 0 0 1 0 99 > 57 0 0 0 3 0 2 0 1 0 0 1 0 0 0 100 > 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 0 0 0 110 240 140 45 0 1 1 0 19 0 1 0 99 > 1 0 0 0 5 0 6 0 1 0 0 2 0 0 0 100 > 2 0 0 0 5 0 8 0 0 0 0 0 0 0 0 100 > 3 0 0 0 3 0 4 0 0 0 0 17 0 0 0 100 > 4 0 0 0 4 0 6 0 0 0 0 17 0 0 0 100 > 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 6 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 7 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 8 0 0 0 3 0 2 0 0 0 0 0 0 2 0 98 > 9 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 10 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 11 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 12 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 13 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 16 0 0 0 3 0 2 1 0 0 0 388 1 1 0 98 > 17 0 0 0 2 0 2 0 0 0 0 0 0 0 0 100 > 18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 24 0 0 0 6 0 10 0 0 0 0 3 0 0 0 100 > 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 26 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 > 27 0 0 0 64 63 0 0 0 2 0 0 0 0 0 100 > 28 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 32 0 0 0 36 1 70 0 1 0 0 5 0 0 0 100 > 33 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 34 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 41 0 0 1960148 8 0 0 7 0 0 0 15557 7 93 0 0 > 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 48 1 0 1 7 0 12 0 0 1 0 596 3 0 0 97 > 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 52 0 0 0 7 5 3 0 1 0 0 0 0 0 0 100 > 53 0 0 0 2 0 3 0 1 0 0 0 0 0 0 100 > 54 0 0 0 6 4 2 0 0 0 0 0 0 0 0 100 > 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 56 0 0 0 37 0 74 0 2 3 0 0 0 0 0 100 > 57 0 0 1 3 0 4 0 1 2 0 0 0 0 0 100 > 58 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 0 0 0 114 238 138 25 0 1 1 0 9 0 1 0 99 > 1 0 0 0 3 0 4 0 0 0 0 2 0 0 0 100 > 2 0 0 0 4 0 6 0 0 0 0 0 0 0 0 100 > 3 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 8 0 0 0 2 0 2 0 0 0 0 0 0 2 0 98 > 9 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 14 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 15 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 16 0 0 0 3 0 2 0 0 1 0 399 0 0 0 100 > 17 0 0 0 3 0 2 0 0 0 0 0 0 0 0 100 > 18 0 0 0 3 0 2 0 0 0 0 0 0 0 0 100 > 19 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 20 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 21 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 22 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 23 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 24 0 0 0 3 0 2 0 0 0 0 1 0 0 0 100 > 25 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 26 0 0 0 3 2 0 0 0 1 0 0 0 0 0 100 > 27 0 0 0 63 61 2 0 0 2 0 0 0 0 0 100 > 28 0 0 0 2 1 0 0 0 0 0 0 0 0 0 100 > 29 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 30 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 32 0 0 2 38 1 75 0 1 0 0 5 0 1 0 99 > 33 0 0 0 5 0 6 0 1 0 0 2 0 0 0 100 > 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 41 0 0 1973674 8 0 0 7 0 0 0 15664 6 94 0 0 > 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 48 0 0 1 6 0 8 1 0 2 0 563 2 1 0 97 > 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 52 0 0 0 5 3 2 0 1 0 0 17 0 0 0 100 > 53 0 0 0 15 1 25 0 1 0 0 11 0 0 0 100 > 54 0 0 0 4 3 0 0 0 1 0 0 0 0 0 100 > 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 56 0 0 0 38 0 74 0 0 0 0 0 0 0 0 100 > 57 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl > 0 0 0 123 236 136 4 0 1 0 0 0 0 1 0 99 > 1 0 0 0 3 0 6 0 0 0 0 2 0 0 0 100 > 2 0 0 0 5 0 8 0 1 0 0 0 0 0 0 100 > 3 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 4 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 5 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 6 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 7 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 8 0 0 0 3 0 3 0 0 0 0 0 0 2 0 98 > 9 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 11 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 12 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 13 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 14 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 15 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 16 0 0 0 5 0 8 0 1 2 0 399 1 0 0 99 > 17 0 0 0 2 0 2 0 0 0 0 0 0 1 0 99 > 18 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 19 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 20 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 21 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 22 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 23 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 24 0 0 0 3 0 2 0 0 0 0 1 0 0 0 100 > 25 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 26 0 0 0 5 3 0 0 0 1 0 0 0 0 0 100 > 27 0 0 0 61 59 0 0 0 2 0 0 0 1 0 99 > 28 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 29 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 30 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 31 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 32 0 0 0 38 1 72 0 0 0 0 0 0 0 0 100 > 33 0 0 0 6 0 10 0 1 0 0 7 0 0 0 100 > 34 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 35 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 36 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 37 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 38 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 39 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 40 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 41 0 0 1979790 8 0 0 7 0 0 0 15713 6 94 0 0 > 42 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 43 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 44 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 45 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 46 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 47 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 48 0 0 1 6 0 10 0 0 1 0 563 2 1 0 97 > 49 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 50 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 51 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 52 0 0 0 4 3 0 0 0 0 0 0 0 0 0 100 > 53 0 0 0 21 0 41 0 0 0 0 17 0 0 0 100 > 54 0 0 0 4 3 0 0 0 1 0 0 0 0 0 100 > 55 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 56 0 0 0 38 0 75 0 0 0 0 0 0 0 0 100 > 57 0 0 0 2 0 0 0 0 0 0 0 0 0 0 100 > 58 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 59 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 60 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 61 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 62 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > 63 0 0 0 1 0 0 0 0 0 0 0 0 0 0 100 > ^C > > > > > Running dtrace and mpstat at the same time gives about 27,700 xcalls per > second for according to dtrace and about 1,7mln according to mpstat 1. > > > The other interesting thing: if I run mpstat 1 alone I''m getting > almost 2mln xcalls per second - when I start dtrace one-liner I posted > it drops to about 1,7mln per second in mpstat. > > > > > > > -- > Best regards, > Robert Milkowski mailto:milek at task.gda.pl > http://milek.blogspot.com >-- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Hello Adam, Wednesday, April 2, 2008, 2:24:58 AM, you wrote: AL> Hi Robert, AL> I''m not able to reproduce this. What kind of hardware are you on? Ok, lets try on several different ones. 1. XXX, snv_82, 4x 4-core Intel 2.13GHz, 16GB RAM I''m getting about 2k xcalls per second from mpstat. Dtrace nunbers are matching mpstat numbers. 2. Sun X4150, S10U4 127112-10, 2x 4-core Intel 2.66GHz, 32GB RAM I''m getting about 330k-550k xcalls/s from mpstat. DTrace numbers are matching mpstat numbers. 3. Sun T5220, S10U4 127111-10, 1x 8-core 1.2GHz, 32GB RAM I''m getting about 1.7mln xcalls/s from mpstat. Dtrace numbers are about 27k. I''m also getting such numbers on another T5220 with 120011-14. So maybe it is only on Niagara-2 platform? AL> Regarding the drop when you run DTrace, it''s possible that DTrace is causing AL> the cross-calls to go more slowly meaning that fewer of them are executing AL> each second. Yes, I think you are right. On all above platforms dtrace has that impact. -- Best regards, Robert mailto:milek at task.gda.pl http://milek.blogspot.com
Robert Milkowski wrote:> Hello Adam, > > Wednesday, April 2, 2008, 2:24:58 AM, you wrote: > > AL> Hi Robert, > > AL> I''m not able to reproduce this. What kind of hardware are you on? > > Ok, lets try on several different ones. > > 1. XXX, snv_82, 4x 4-core Intel 2.13GHz, 16GB RAM > > I''m getting about 2k xcalls per second from mpstat. > Dtrace nunbers are matching mpstat numbers. > > 2. Sun X4150, S10U4 127112-10, 2x 4-core Intel 2.66GHz, 32GB RAM > > I''m getting about 330k-550k xcalls/s from mpstat. > DTrace numbers are matching mpstat numbers. > > 3. Sun T5220, S10U4 127111-10, 1x 8-core 1.2GHz, 32GB RAM > > I''m getting about 1.7mln xcalls/s from mpstat. > Dtrace numbers are about 27k. > > I''m also getting such numbers on another T5220 with 120011-14. > > > So maybe it is only on Niagara-2 platform?have you tried other Sparc platforms? -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see ''Recursion''
On Thu, Apr 03, 2008 at 08:36:10AM +0100, Robert Milkowski wrote:> So maybe it is only on Niagara-2 platform?I was able to see the same issue on a Niagara system. The issue you''re seeing is that each invocation of the sysinfo:::xcalls probe can have a value of greater than one. You should actually be doing this: sysinfo:::xcalls { @ = sum(arg0); } For me that produces results that jibe with the output from mpstat. Adam -- Adam Leventhal, Fishworks http://blogs.sun.com/ahl
Hello Adam, Thursday, April 3, 2008, 7:24:00 PM, you wrote: AL> On Thu, Apr 03, 2008 at 08:36:10AM +0100, Robert Milkowski wrote:>> So maybe it is only on Niagara-2 platform?AL> I was able to see the same issue on a Niagara system. The issue you''re seeing AL> is that each invocation of the sysinfo:::xcalls probe can have a value of AL> greater than one. You should actually be doing this: AL> sysinfo:::xcalls AL> { AL> @ = sum(arg0); AL> } AL> For me that produces results that jibe with the output from mpstat. Yeah.... that''s it. Thank you. -- Best regards, Robert mailto:milek at task.gda.pl http://milek.blogspot.com
Hello michael, Thursday, April 3, 2008, 6:38:48 PM, you wrote: ms> Robert Milkowski wrote:>> Hello Adam, >> >> Wednesday, April 2, 2008, 2:24:58 AM, you wrote: >> >> AL> Hi Robert, >> >> AL> I''m not able to reproduce this. What kind of hardware are you on? >> >> Ok, lets try on several different ones. >> >> 1. XXX, snv_82, 4x 4-core Intel 2.13GHz, 16GB RAM >> >> I''m getting about 2k xcalls per second from mpstat. >> Dtrace nunbers are matching mpstat numbers. >> >> 2. Sun X4150, S10U4 127112-10, 2x 4-core Intel 2.66GHz, 32GB RAM >> >> I''m getting about 330k-550k xcalls/s from mpstat. >> DTrace numbers are matching mpstat numbers. >> >> 3. Sun T5220, S10U4 127111-10, 1x 8-core 1.2GHz, 32GB RAM >> >> I''m getting about 1.7mln xcalls/s from mpstat. >> Dtrace numbers are about 27k. >> >> I''m also getting such numbers on another T5220 with 120011-14. >> >> >> So maybe it is only on Niagara-2 platform?ms> have you tried other Sparc platforms? I did on v440 - it was ok. Nevertheless it was my script... so it is actually ok. As Adam pointed out I should sum(arg0) not just count. -- Best regards, Robert mailto:milek at task.gda.pl http://milek.blogspot.com