Table of Contents
Based on a brand new report, Firefox has a severe telemetry drawback, and Android telephones are affected by it. The difficulty is with ‘Glean’, Mozilla’s “product analytics & telemetry resolution”. It’s anticipated to supply a “constant expertise and conduct” throughout the corporate’s merchandise.
Firefox seemingly has a substantial telemetry drawback, and Android telephones are affected by it
Properly, that doesn’t appear to be the case. A reasonably severe situation was identified over at ‘Bugzilla’. It’s mentioned that each replace to a Glean telemetry metric comes with a “massive CPU time value and a big disk write”.
It’s mentioned this occurs for 2 causes. The primary one is as a result of telemetry metric updates aren’t batched on Android. Every replace leads to a database write to the Glean database.
The opposite motive is as a result of the Glean database makes use of ‘rkv’ in ‘protected’ mode. It’s mentioned that regardless of how small the replace is, on each replace, all the database is serialized to disk.
Why is that an issue? Properly, as a result of telephones are “getting hammered with writes on all events: web page load, scrolling, video playback, startup”. Additionally it is identified that database serialization allocates after which frees quite a lot of reminiscence. That, in flip, causes “rivalry of the malloc lock and slows down allocation in different threads”.
This drawback places a substantial pressure on the CPU, storage & decreases battery life
All of this places a substantial pressure on the CPU and reduces battery life too. Extreme writes are additionally not nice for telephones and will have a unfavorable influence on smartphone longevity.
Contemplating that the difficulty is understood now, let’s hope that Mozilla will get on it, and repair this up as quickly as attainable. You may learn extra concerning the situation right here, with extra info supplied in a separate thread too.