{"id":5321,"date":"2012-02-07T17:38:13","date_gmt":"2012-02-08T00:38:13","guid":{"rendered":"http:\/\/blog.mozilla.org\/metrics\/?p=5321"},"modified":"2019-09-18T12:05:34","modified_gmt":"2019-09-18T19:05:34","slug":"memshrinkmetrics","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/metrics\/2012\/02\/07\/memshrinkmetrics\/","title":{"rendered":"Some Results for Memshrink"},"content":{"rendered":"<p>As the website ( <a title=\"https:\/\/wiki.mozilla.org\/Performance\/MemShrink\" href=\"https:\/\/wiki.mozilla.org\/Performance\/MemShrink\">https:\/\/wiki.mozilla.org\/Performance\/MemShrink<\/a> ) describes, MemShrink is a project to reduce Firefox memory consumption. Summary (taken from the webpage) is<\/p>\n<ul>\n<li><strong>Speed<\/strong>. Firefox will be faster due to less cache pressure, less paging, and fewer\/smaller GC and CC pauses. Changes that reduce memory consumption but make Firefox slower are not desirable.<\/li>\n<li><strong>Stability<\/strong>. Firefox will suffer fewer aborts\/crashes due to virtual or physical memory exhaustion. The former is mostly a problem on 32-bit Windows builds with a 2GB or 4GB virtual memory limit, the latter is mostly a problem on mobile devices that lack swap space.<\/li>\n<\/ul>\n<p>The engineers working on MemShrink asked the Metrics team to help discover and quantify what variables affect variables that related to MemShrink. Key among these is RESIDENT_MEMORY which is the resident memory that Firefox occupies. For a given installation, multiple measurements are taken before the data is submitted. The data, for a given installation, is recorded as a histogram (so we dont have serial correlations between observations &#8230;), and the final value used in modeling is the weighted mean.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>More discussion and the full analysis can be found at :\u00a0<a title=\"http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html\" href=\"http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html\">http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html<\/a>\u00a0. In short, there is a lot of\u00a0variation\u00a0in the data and the variables used do a poor job\u00a0explaining\u00a0the variance in the data. That said,<\/p>\n<ul>\n<li>version 11 reduces memory consumption about 2% (on average, but keep in mind there is a lot of variation) over FF10<\/li>\n<li>version 12 ups it by about 11% over v.10 (see the distribution at top of log of RESIDENT_MEMORY by version)<\/li>\n<li>Presence of Firebug extension causes a slight increase (on average of 12%) but the difference decreases with FF12.<\/li>\n<li>if one doubles the number of addons (and add 1 to this) the RESIDENT_MEMORY increases by approximately 33%<\/li>\n<\/ul>\n<p>For more details and plots see\u00a0<a title=\"http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html\" href=\"http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html\">http:\/\/people.mozilla.org\/~sguha\/memshrink.analysis.html<\/a>\u00a0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the website ( https:\/\/wiki.mozilla.org\/Performance\/MemShrink ) describes, MemShrink is a project to reduce Firefox memory consumption. Summary (taken from the webpage) is Speed. Firefox will be faster due to less cache pressure, less paging, and fewer\/smaller GC and CC pauses. &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/metrics\/2012\/02\/07\/memshrinkmetrics\/\">Continue reading<\/a><\/p>\n","protected":false},"author":263,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/posts\/5321"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/users\/263"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/comments?post=5321"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/posts\/5321\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/media?parent=5321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/categories?post=5321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/metrics\/wp-json\/wp\/v2\/tags?post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}