Hi,

On Thu, May 8, 2014 at 6:08 PM, Jonas Sicking <jo...@sicking.cc> wrote:
> I'm curious how much of that 1% is on old versions of Firefox and
> aren't updating anyway?
>
> / Jonas
>
> On Thu, May 8, 2014 at 5:42 PM,  <matthew.br...@gmail.com> wrote:
>> On Tuesday, January 3, 2012 4:37:53 PM UTC-8, Benoit Jacob wrote:
>>> 2012/1/3 Jeff Muizelaar <jmuizel...@mozilla.com>:
>>>
>>> >
>>>
>>> > On 2012-01-03, at 2:01 PM, Benoit Jacob wrote:
>>>
>>> >
>>>
>>> > 2012/1/2 Robert Kaiser <ka...@kairo.at>:
>>>
>>> >
>>>
>>> > Jean-Marc Desperrier schrieb:
>>>
>>> >
>>>
>>> >
>>>
>>> > According to https://bugzilla.mozilla.org/show_bug.cgi?id=594160#c6 ,
>>>
>>> >
>>>
>>> > the Raw Dump tab on crash-stats.mozilla.com shows the needed
>>>
>>> >
>>>
>>> > information, you need to sort out from the info on the second line CPU
>>>
>>> >
>>>
>>> > maker, family, model, and stepping information whether SSE2 is there or
>>>
>>> >
>>>
>>> > not (With a little search, I can find that info again, bug 593117 gives
>>>
>>> >
>>>
>>> > a formula that's correct for most of the cases).
>>>
>>> >
>>>
>>> >
>>>
>>> >
>>>
>>> > https://crash-analysis.mozilla.com/crash_analysis/ holds
>>>
>>> >
>>>
>>> > *-pub-crashdata.csv.gz files that have that info from all Firefox
>>>
>>> >
>>>
>>> > desktop/mobile crashes on a given day, you should be able to analyze that
>>>
>>> >
>>>
>>> > for this info - with a bias, of course, as it's only people having crashes
>>>
>>> >
>>>
>>> > that you see there. No idea if the less biased telemetry samples have that
>>>
>>> >
>>>
>>> > info as well.
>>>
>>> >
>>>
>>> >
>>>
>>> > On yesterday's crash data, assuming that AuthenticAMD\ family\
>>>
>>> > [1-6][^0-9]  is the proper way to identify these old AMD CPUs (I
>>>
>>> > didn't check that very well), I get these results:
>>>
>>> >
>>>
>>> >
>>>
>>> > The measurement I have used in the past was:
>>>
>>> >
>>>
>>> > CPUs have sse2 if:
>>>
>>> >
>>>
>>> > if vendor == AuthenticAMD and family >= 15
>>>
>>> > if vendor == GenuineIntel and family >= 15 or (family == 6 and (model == 9
>>>
>>> > or model > 11))
>>>
>>> > if vendor == CentaurHauls and family >= 6 and model >= 10
>>>
>>> >
>>>
>>>
>>>
>>> Thanks.
>>>
>>>
>>>
>>> AMD and Intel CPUs amount to 296362 crashes:
>>>
>>>
>>>
>>> bjacob@cahouette:~$ egrep AuthenticAMD\|GenuineIntel
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 296362
>>>
>>>
>>>
>>> Counting SSE2-capable CPUs:
>>>
>>>
>>>
>>> bjacob@cahouette:~$ egrep GenuineIntel\ family\ 1[5-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 58490
>>>
>>> bjacob@cahouette:~$ egrep GenuineIntel\ family\ [2-9][0-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 0
>>>
>>> bjacob@cahouette:~$ egrep GenuineIntel\ family\ 6\ model\ 9
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 792
>>>
>>> bjacob@cahouette:~$ egrep GenuineIntel\ family\ 6\ model\ 1[2-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 52473
>>>
>>> bjacob@cahouette:~$ egrep GenuineIntel\ family\ 6\ model\ [2-9][0-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 103655
>>>
>>> bjacob@cahouette:~$ egrep AuthenticAMD\ family\ 1[5-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 59463
>>>
>>> bjacob@cahouette:~$ egrep AuthenticAMD\ family\ [2-9][0-9]
>>>
>>> 20120102-pub-crashdata.csv | wc -l
>>>
>>> 8120
>>>
>>>
>>>
>>> Total SSE2 capable CPUs:
>>>
>>>
>>>
>>> 58490 + 792 + 52473 + 103655 + 59463 + 8120 = 282993
>>>
>>>
>>>
>>> 1 - 282993 / 296362 = 0.045
>>>
>>>
>>>
>>> So the proportion of non-SSE2-capable CPUs among crash reports is 4.5 %.
>>
>> Just for the record, I coded this analysis up here: 
>> https://gist.github.com/matthew-brett/9cb5274f7451a3eb8fc0
>>
>> SSE2 apparently now at about one percent:
>>
>>     20120102-pub-crashdata.csv.gz: 4.53
>>     20120401-pub-crashdata.csv.gz: 4.24
>>     20120701-pub-crashdata.csv.gz: 2.77
>>     20121001-pub-crashdata.csv.gz: 2.83
>>     20130101-pub-crashdata.csv.gz: 2.66
>>     20130401-pub-crashdata.csv.gz: 2.59
>>     20130701-pub-crashdata.csv.gz: 2.20
>>     20131001-pub-crashdata.csv.gz: 1.92
>>     20140101-pub-crashdata.csv.gz: 1.86
>>     20140401-pub-crashdata.csv.gz: 1.12

For April, it looks like these are mostly modern versions.

I took out all the no-SSE2 entries and analyzed them.

Here are the most common version numbers with percentages (of all
non-SSE2 entries):

28. ,  60.1
27. ,   7.3
29. ,   7.1
12. ,   2.1
10. ,   1.3
 3.6,   1.3
11. ,   1.2
 3.6,   1.2
26. ,   1.1

Cheers,

Matthew
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to