Why Android OS Would Always Lag - Phones - Nairaland
Nairaland Forum › Science/Technology › Phones › Why Android OS Would Always Lag (1255 Views)
| Why Android OS Would Always Lag by Nobody: 1:42am On Feb 17, 2015 |
https://i-cdn.phonearena.com/images/article/24434-image/Here-is-why-Android-is-laggy-and-why-its-going-to-remain-like-that-in-the-near-future.jpg Have you noticed that Android is laggy? It is. We hoped things would change with dual-core processors and when we got the LG Optimus 2X in our trembling hands, the first phone running on the dual-core NVIDIA Tegra 2, we nervously swiped to the homescreen, then to the main menu, then to the weather app. The lag was still there, but we couldn’t understand why - the raw hardware muscle was there already. What was wrong? Turns out, the problems is rooted deeper, in the very origins of the platform. Android's UI was laggy because it was coded differently than iOS and we’re not talking about Android’s bytecode against iOS’s native code. Now, after Google engineer Dianne Hackborn brought up the topic of hardware graphics acceleration, Android’s lagginess has finally gotten in the limelight for some confessions which 200 million users of the platform are waiting for. Former Google intern Andrew Munn dug deep into the topic with more insights coming from Android software engineer Romain Guy who worked on Honeycomb’s full graphics acceleration and other engineers. So with no further ado, the core reason why Android is laggy is the way it treats UI rendering. While on iOS UI rendering happens in a separate thread with real-time priority, on Android this happens in the main thread with normal priority. This of course means that other apps can take over your processor resources and hurt basic UI interactions, translating into a noticeable lag. Munn examplifies this with Safari and the Android browser - if you tap and hold into the Safari window while it’s loading a webpage, the loading process stops, as UI rendering has the highest priority and takes over. The result is that the webpage will not load until you lift your finger off, but the UI will remain buttery smooth all the time. Android has a radically different approach - it will try to maintain a reasonable response rate for the UI and load the webpage, but often the framerates would drop causing a visible lag. “Android UI will never be completely smooth because of the design constraints I discussed at the beginning: UI rendering occurs on the main thread of an app UI rendering has normal priority This is the same reason why Windows Mobile 6.5, Blackberry OS, and Symbian have terrible touch screen performance. Like Android, they were not designed to prioritize UI rendering. Since the iPhone’s release, RIM, Microsoft, and Nokia have abandoned their mobile OS’s and started from scratch. Android is the only mobile OS left that existed pre-iPhone,” Munn says. Now, that’s a tradeoff that doesn’t seem acceptable for touchscreen smartphones. Interestingly, with octa-core processors, this is less noticeable, but an occasional hiccup still occurs more often than the user would like to see it. But most importantly, unless Google changes the way UI rendering happens (to a separate thread) and its priority (to real-time), the issue of some lag on Android will likely persist. Why is this hard to do and what would change if it did happen? Hit the source link for a very interesting read. source |
| Re: Why Android OS Would Always Lag by enigmagu1(m): 1:48am On Feb 17, 2015 |
No time |
| Re: Why Android OS Would Always Lag by Nobody: 1:59am On Feb 17, 2015 |
im sure nairaland misses me. oya. come all those pple that think they know because they could afford an android phone come and talk now o! |
| Re: Why Android OS Would Always Lag by Nobody: 5:33am On Feb 17, 2015 |
this write up Is a poo |
| Re: Why Android OS Would Always Lag by Wittylens(m): 7:01am On Feb 17, 2015 |
Recent Study shows that Android 5.0Lollipop is more Stable Than iOS 8... |
| Re: Why Android OS Would Always Lag by Randerl: 7:21am On Feb 17, 2015 |
:Article date is 7 Dec 2011, 03:38, by Victor H. So @OP that was December 2011 the real first year of android commercial success. This Is 2015 there's been quantum leap in Android Development over the past 4 years. |
| Re: Why Android OS Would Always Lag by Baddestguyp(m): 7:30am On Feb 17, 2015 |
poo, not all android phones lag |
| Re: Why Android OS Would Always Lag by Collinz2(m): 8:18am On Feb 17, 2015 |
| Re: Why Android OS Would Always Lag by beinstein(m): 9:22am On Feb 17, 2015 |
Hehehe.... this OP is obviously not well informed. |
| Re: Why Android OS Would Always Lag by Nobody: 11:35am On Feb 17, 2015 |
Copy and paste. |
| Re: Why Android OS Would Always Lag by spoilerx: 12:57pm On Feb 18, 2015 |
OP that's a 2011 article You are living in the past |
| Re: Why Android OS Would Always Lag by beinstein(m): 1:36pm On Feb 18, 2015 |
how about the OP come back and defend all the shit he spewed here? OP where art thou? |
If Android Os Should Die Today.. What Os Would U Shift To • 7 Reasons Why Android Phone Is Better Than Windows Phone • Why Android Is The Top Os.. • 2 • 3 • 4
Icloud Removal,iphone ,bb,huawei,alcatel unlock And Free Iphone Carrier Checker. • MTN Gets November 16 Deadline To Pay N1.4trn Fine • Top 10 Cheap Android Phones And Prices In Nigeria 2015