Hi, Is there any way that I can detect if the OS did a thread migration from one core to another from the stats that Flexus provides ?
Thank You Mihai On Fri, Jul 9, 2010 at 8:23 PM, Adileh Almutaz <[email protected]>wrote: > Hi Mihai, > Yes, this is correct. > If you want to get a specific line you can use grep or write a simple > script to do this for you. > Please send your questions to the simflex list in the future. > Best Regards, > Mutaz > ________________________________________ > From: mihai pricopi [[email protected]] > Sent: Friday, July 09, 2010 1:16 PM > To: Adileh Almutaz > Subject: Re: ROB Occupancy stat > > Hi Mutaz, > > Thanks for your advice. When I run it on one of my flexpoints I get this: > > Count Pct Value > 31843 63.69% 128 > 3075 6.15% 0 > 1286 2.57% 34 > 974 1.95% 109 > 965 1.93% 117 > 910 1.82% 17 > 745 1.49% 69 > 729 1.46% 53 > 624 1.25% 124 > 613 1.23% 62 > 595 1.19% 85 > 594 1.19% 45 > 590 1.18% 61 > 580 1.16% 101 > 552 1.10% 93 > 539 1.08% 7 > 463 0.93% 48 > 461 0.92% 77 > 429 0.86% 33 > 418 0.84% 125 > 230 0.46% 107 > 197 0.39% 41 > 160 0.32% 8 > 141 0.28% 127 > 140 0.28% 86 > 131 0.26% 102 > 123 0.25% 78 > 85 0.17% 120 > 79 0.16% 126 > 60 0.12% 94 > 48 0.10% 43 > 44 0.09% 38 > 39 0.08% 99 > 36 0.07% 83 > 36 0.07% 46 > 35 0.07% 70 > 33 0.07% 15 > 32 0.06% 110 > 28 0.06% 19 > 28 0.06% 13 > 26 0.05% 21 > 25 0.05% 1 > 24 0.05% 14 > 24 0.05% 44 > 24 0.05% 20 > 24 0.05% 91 > 22 0.04% 6 > 22 0.04% 16 > 22 0.04% 50 > 22 0.04% 55 > 21 0.04% 92 > 21 0.04% 51 > 21 0.04% 52 > 21 0.04% 58 > 20 0.04% 18 > 20 0.04% 24 > 20 0.04% 76 > 20 0.04% 40 > 19 0.04% 27 > 18 0.04% 84 > 18 0.04% 97 > 18 0.04% 100 > 18 0.04% 12 > 18 0.04% 123 > 18 0.04% 119 > 18 0.04% 116 > 17 0.03% 64 > 17 0.03% 118 > 17 0.03% 11 > 17 0.03% 29 > 17 0.03% 68 > 17 0.03% 67 > 16 0.03% 108 > 16 0.03% 37 > 16 0.03% 75 > 16 0.03% 26 > 16 0.03% 113 > 15 0.03% 30 > 15 0.03% 47 > 14 0.03% 112 > 14 0.03% 122 > 14 0.03% 35 > 14 0.03% 23 > 14 0.03% 28 > 14 0.03% 73 > 14 0.03% 74 > 14 0.03% 54 > 14 0.03% 57 > 14 0.03% 56 > 13 0.03% 111 > 13 0.03% 60 > 13 0.03% 49 > 13 0.03% 80 > 13 0.03% 72 > 13 0.03% 66 > 13 0.03% 9 > 13 0.03% 114 > 13 0.03% 81 > 13 0.03% 98 > 13 0.03% 103 > 12 0.02% 104 > 12 0.02% 39 > 12 0.02% 36 > 12 0.02% 31 > 11 0.02% 105 > 11 0.02% 79 > 11 0.02% 121 > 11 0.02% 59 > 10 0.02% 3 > 10 0.02% 4 > 10 0.02% 32 > 10 0.02% 71 > 10 0.02% 106 > 10 0.02% 96 > 10 0.02% 22 > 9 0.02% 5 > 9 0.02% 88 > 9 0.02% 42 > 9 0.02% 90 > 9 0.02% 63 > 9 0.02% 115 > 9 0.02% 10 > 8 0.02% 2 > 7 0.01% 89 > 7 0.01% 82 > 7 0.01% 25 > 6 0.01% 87 > 6 0.01% 65 > 5 0.01% 95 > --------- ------- ---------- > 50000 100.00% 129 elements > Average value: 102.41 > > Now, I want to ask if I interpret this correctly. For example the first > line: > > Count Pct Value > 31843 63.69% 128 > > Means that there are 31843 times when the ROB had 128 entries ? > Is there a way to get the Pct value and the Value for one of the lines in > the histogram ? > > Thank You, > Mihai > > On Fri, Jul 9, 2010 at 6:33 PM, Adileh Almutaz <[email protected] > <mailto:[email protected]>> wrote: > Hi Mihai, > This is just an issue of format. > It gives you 0 because of the way the statistics are printed. > This command should solve your problem: > stat-manager -d stats_db.out.selected.gz -per-node format-string > "{00-uarch-ROB-Occupancy:Total}" "selection" > > regards, > Mutaz > ________________________________________ > From: mihai pricopi [[email protected]<mailto: > [email protected]>] > Sent: Friday, July 02, 2010 7:30 AM > To: [email protected]<mailto:[email protected]> > Subject: ROB Occupancy stat > > Hi, > > I am trying to get the ROB Occupancy by reading the stats with this > command: > > ROB_USE=`stat-manager -per-node -d $f format-string > "<EXPR:{0$n_proc-uarch-ROB-Occupancy:Total}>" selection` > > But every time I get the value 0. Is hard to believe that the accupancy is > actually 0 unless the ROB buffer is never used. Is there a reason why the > ROB is 0 ? Maybe I`m not reading the stats correctly. > > Thanks > Mihai > > > >
