{"id":2847,"date":"2014-02-11T05:40:21","date_gmt":"2014-02-10T18:40:21","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=2847"},"modified":"2014-02-11T05:40:21","modified_gmt":"2014-02-10T18:40:21","slug":"nuwa-has-landed","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2014\/02\/11\/nuwa-has-landed\/","title":{"rendered":"Nuwa has landed"},"content":{"rendered":"<p>A big milestone for Firefox OS was reached this week: after several bounces spread over several weeks, <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=771765\">Nuwa<\/a> finally <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=950266\">landed and stuck<\/a>.<\/p>\n<p>Nuwa is a special Firefox OS process from which all other app processes are forked. (The name &#8220;Nuwa&#8221; comes from the <a href=\"http:\/\/en.wikipedia.org\/wiki\/N%C3%BCwa\">Chinese creation goddess<\/a>.) It allows lots of unchanging data (such as low-level Gecko things like XPCOM structures) to be shared among app processes, thanks to Linux&#8217;s copy-on-write forking semantics. This greatly increases the number of app processes that can be run concurrently, which is why it was the #3 item on the <a href=\"https:\/\/blog.mozilla.org\/nnethercote\/2013\/06\/15\/memshrinks-2nd-birthday\/\">MemShrink &#8220;big ticket items&#8221;<\/a> list.<\/p>\n<p>One downside of this increased sharing is that it renders about:memory&#8217;s measurements less accurate than before, because about:memory does not know about the sharing, and so will over-report shared memory. Unfortunately, this is very difficult to fix, because about:memory&#8217;s reports are generated entirely within Firefox, whereas the sharing information is only available at the OS level. Something to be aware of.<\/p>\n<p>Thanks to Cervantes Yu (Nuwa&#8217;s primary author), along with those who helped, including Thinker Li, Fabrice Desr\u00e9, and Kyle Huey.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A big milestone for Firefox OS was reached this week: after several bounces spread over several weeks, Nuwa finally landed and stuck. Nuwa is a special Firefox OS process from which all other app processes are forked. (The name &#8220;Nuwa&#8221; comes from the Chinese creation goddess.) It allows lots of unchanging data (such as low-level [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4550,4261,4544,4546],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/2847"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=2847"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/2847\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=2847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=2847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=2847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}