'Project Butter' to improve responsiveness in Android 4.1 Jelly Bean

1235

Comments

  • Reply 81 of 109
    bigmac2bigmac2 Posts: 639member

    Quote:

    Originally Posted by Smallwheels View Post


    Think about it. Apple doesn't design the chips in their computers nor do they manufacture chips. They design tweaks to the ARM processors and someone else does the manufacturing. Google could do the same thing Apple is doing for its computer line and be considered a manufacturer just as much as Apple.


     



    Wrong, the Ax chips are not generic ARM, Apple design their custom ARM in-house with help of P.A. Semi engineer who have been acquired by Apple few years ago .  Their PWRficient technology gives Apple an edge over the competition. 

  • Reply 82 of 109


    I had a Samsung Showcase I500.  The lag was horrible...   It ran Gingerbread.  I have a 2nd gen IPod touch that performed better.  Now that I have an IPhone I won't go back.

     

  • Reply 83 of 109
    neo42neo42 Posts: 287member


    Love it when regulars whine about 'fandroid trolls' when this article is clearly a stinkin' heap o' troll bait.


     


    Anyways, continue with your Android bashing..

  • Reply 84 of 109

    Quote:

    Originally Posted by redbarchetta View Post


     


    Sure, just like Apple admitted Android had a better notifcation system for years.



    Yeah but Apple actually improved upon it. Maybe its just this particular phone (though I doubt it), but my fiancée's phone is a Sony Ericsson Xperia and whenever she gets a call or a text or anything when she isn't near the phone it just gets logged into the status bar at the top and she can't see any information until she unlocks the phone and drags the status bar down to see what has transpired. With my iPhone, anything that happens when I'm away gets logged right there on the lock screen and is ready for me to see who I missed without even having to unlock the phone. 


     


    Let's put it this way, I wouldn't say Android had a better notification system cause a bunch of random icons at the top really doesn't notify of much especially if you don't know what any of them even mean. iOS has a notification system that actually lets you know stuff happened and when with little effort.

  • Reply 85 of 109
    chadbagchadbag Posts: 2,023member
    Quote:
    Originally Posted by Curmudgeon View Post

     

    Whored out?    Climb down from the ledge.   You're getting dizzy.   MacOS X itself, is based on FreeBSD - an open source version of Unix/Linux.  And yet Apple has been able to make something quite nice out of it.   I won't assume that Google can't do the same.

     

    Uh, no.

    FreeBSD is an open source "version" of "unix" but not of "linux". "unix" is in quotes as UNIX and probably Unix are trademarks and have specific requirements to claim compatibility with, and I don't think FreeBSD strives to maintain strict compatibility. FreeBSD does use some of the gnu userland and toolset, which linux also does, but FreeBSD really has nothing to do with Linux. FreeBSD is based on BSD 4.4lite, a non-encumbered version of the Berkely unix that arose an alternative to AT&T unix.

    OS X is not based on FreeBSD. OS X only took the userland (shell and related user environment/utilities) from FreeBSD and put it on OS X and it also added a FreeBSD compatibility layer (kernel interface) so that the userland and utilities would work on the OS X kernel.

    The OS X kernel has nothing to do with FreeBSD, nor does the GUI or anything else. Only minimal pieces were taken from FreeBSD. The OS X kernel is a hybrid mach 2 and mach 3 kernel heavily modified by Apple. mach original came from CMU.


    --
  • Reply 86 of 109
    chadbagchadbag Posts: 2,023member
    Quote:
    Originally Posted by canoeberry View Post

     

    My iPhone 4 is slow as thick shit. Lag is a polite word to describe what ALL my applications that used to work very well now do on a regular basis. So Apple better get their act together, unless they are just writing off YET ANOTHER  GENERATION of iPhone after less than two years on the market.

     

    Which is exactly what they have been doing to the rest of their hardware as well. If you don't have an SSD in your Mac don't bother running Lion: they didn't design lion for such old fashioned storage devices.

     

    Maybe your iPhone 4 has a problem then, as my wife's iPhone 4 works just fine and smooth.

    And you don't need a Mac with ssd to get good performance with Lion. We have it on several Macs, only one of which has an ssd (Macbook 2008 with aftermarket ssd). It works just fine. Have not noticed any problems which makes 10.6 better (which I also still have running on some machines, as well as 10.5).


    --
  • Reply 87 of 109
    bigmac2bigmac2 Posts: 639member

    Quote:

    Originally Posted by chadbag View Post


     

    Uh, no.FreeBSD is an open source "version" of "unix" but not of "linux". "unix" is in quotes as UNIX and probably Unix are trademarks and have specific requirements to claim compatibility with, and I don't think FreeBSD strives to maintain strict compatibility. FreeBSD does use some of the gnu userland and toolset, which linux also does, but FreeBSD really has nothing to do with Linux. FreeBSD is based on BSD 4.4lite, a non-encumbered version of the Berkely unix that arose an alternative to AT&T unix.OS X is not based on FreeBSD. OS X only took the userland (shell and related user environment/utilities) from FreeBSD and put it on OS X and it also added a FreeBSD compatibility layer (kernel interface) so that the userland and utilities would work on the OS X kernel.The OS X kernel has nothing to do with FreeBSD, nor does the GUI or anything else. Only minimal pieces were taken from FreeBSD. The OS X kernel is a hybrid mach 2 and mach 3 kernel heavily modified by Apple. mach original came from CMU.--


     


    MacOS X is a certified Unix'03 OS, OSX use FreeBSD and NetBSD for its user land which is called Darwin and is fully open source.  The UI is a 100% Apple-NeXT closed source creation of a Postscript vector based display, which is the only current UI who can drive the retina display on mobile and desktop, keeping normal resolution for unoptimized apps while boosting fonts resolution.  

  • Reply 88 of 109
    stevehsteveh Posts: 480member

    Quote:

    Originally Posted by canoeberry View Post


     


    If you don't have an SSD in your Mac don't bother running Lion: they didn't design lion for such old fashioned storage devices.



    Odd, we've got five Macs running Lion here.


     


    One of them, a late-2006 20" is the only one that you might hesitate to use for photo, video or audio production, and most of the time it's ok for those uses. When it''s rendering video files, you leave it to crunch and use something else, but that was true before Lion showed up.


     


    The MacBook Airs (one a late-2009, the other a late-2010) have SSDs, but other than being quicker to start up, they're not faster than the (early-2009, 24" and mid-2010, 21.5") iMacs. All of them are more than tolerable to use.

  • Reply 89 of 109
    stevehsteveh Posts: 480member

    Quote:

    Originally Posted by BigMac2 View Post


     


    MacOS X is a certified Unix'03 OS, OSX use FreeBSD and NetBSD for its user land which is called Darwin and is fully open source.  The UI is a 100% Apple-NeXT closed source creation of a Postscript vector based display, which is the only current UI who can drive the retina display on mobile and desktop, keeping normal resolution for unoptimized apps while boosting fonts resolution.  



    Sorry, OS X abandoned the Display PostScript approach that NeXT used right from the beginning in favor of their own version of PDF-based rendering. IIRC, it was initially done because they couldn't come to an agreement with Adobe on using Display PostScript, but OS X never shipped with it.

  • Reply 90 of 109
    jragostajragosta Posts: 10,473member
    chadbag wrote: »
    Maybe your iPhone 4 has a problem then, as my wife's iPhone 4 works just fine and smooth.And you don't need a Mac with ssd to get good performance with Lion. We have it on several Macs, only one of which has an ssd (Macbook 2008 with aftermarket ssd). It works just fine. Have not noticed any problems which makes 10.6 better (which I also still have running on some machines, as well as 10.5).--

    I think the difference is in usage. Saying that one lags and the other doesn't is meaningless.

    I have an iPhone 4. On normal actions, checking email, browsing, changing screens, scrolling etc, it is perfectly fluid - no sign of a lag. However, if I launch a graphics heavy app (such as Dragonvale with hundreds or thousands of graphics items to be manipulated, there is sometimes a lag.

    With my daughter and ex's Android phones, OTOH, there is a lag even in moving from one screen to another or scrolling web pages. The entire UI lags.
  • Reply 91 of 109
    bigmac2bigmac2 Posts: 639member

    Quote:

    Originally Posted by steveH View Post


    Sorry, OS X abandoned the Display PostScript approach that NeXT used right from the beginning in favor of their own version of PDF-based rendering. IIRC, it was initially done because they couldn't come to an agreement with Adobe on using Display PostScript, but OS X never shipped with it.



     


    FYI: PDF is a encapsuled Postscript format. 


     


    Apple surprised everyone including Adobe when they abandoned the pure Postscript Display because of high royalty, and switched to the more open model of PDF which has not royalty but still essentially the same as Postscript...  BTW OSX has retained its ability to read and write pure .PS Postscript files.

  • Reply 92 of 109
    MarvinMarvin Posts: 15,433moderator
    When Google's upcoming Android 4.1 Jelly Bean mobile OS hits devices in July it will incorporate "Project Butter," a processing framework designed to speed up UI responsiveness and graphics processing.

    364

    It's good of them to demonstrate how bad Android has been up until now:


    [VIDEO]

    Google I/O on Wednesday: "We declared a war on laginess."

    Great, now they just have to deal with the other laginess of all the devices getting the upgrade.
  • Reply 93 of 109


    That's not even that great of a demonstration. 


     


    "Look at the choppy animations on the phone on the left and compare them to the slightly less choppy (but still choppy) animations on the phone on the right. Here, we'll show you that this is super scientific and highly professional by showing the use of a RED camera."


     


    I bet if you scroll through a huge list or settings or a website, it'll still lag a lot. Show a real demonstration of real use and not superficial animations. What they show is not the lag most people are referring to. By showing those animations they don't do themselves any favors...the Jellybean animations are still choppy regardless so it suggests that things have only been slightly optimized. They may have won a battle in smoothing things out a little, but the war on lagginess is going to be a long one I fear.

  • Reply 94 of 109

    Quote:

    Originally Posted by carmelapple View Post


    That's not even that great of a demonstration. 


     


    "Look at the choppy animations on the phone on the left and compare them to the slightly less choppy (but still choppy) animations on the phone on the right. Here, we'll show you that this is super scientific and highly professional by showing the use of a RED camera."


     


    I bet if you scroll through a huge list or settings or a website, it'll still lag a lot. Show a real demonstration of real use and not superficial animations. What they show is not the lag most people are referring to. By showing those animations they don't do themselves any favors...the Jellybean animations are still choppy regardless so it suggests that things have only been slightly optimized. They may have won a battle in smoothing things out a little, but the war on lagginess is going to be a long one I fear.



    My Galaxy Nexus on Jelly Bean is able to scroll smoothly through desktop optimized websites without so much as a hiccup in performance.


     


    Smooth as.... butter.

  • Reply 95 of 109
    lucaluca Posts: 3,833member
    Yo. Android user here. I will try not to be a fanboy though. I like Android but I'm not married to it.

    With that out of the way, I'd like to share my experience with Jellybean (all six hours of it). It's already been shared by some people who went to GoogleIO and made into a flashable update for the Galaxy Nexus. Since I have a Galaxy Nexus I was able to download and install it this morning.

    First off, I'll say that I was one of those Android users who didn't know what iPhone users were talking about when they complained about Android's scrolling. It always seemed smooth to me. I dismissed them as mindless fanboys. I have used iPhones before, a few times (mostly my dad's 4) and it seemed a bit smoother, maybe, but I couldn't quite put my finger on it.

    Then I installed Jellybean this morning and my eyes were opened. It is incredibly improved. This is what Android should have been like since... I don't know, since a while ago. Is it better than the iPhone? Hard to tell since I am not an iPhone user, but I don't think it is. But it's a very noticeable improvement.

    Clearly, Project Butter was meant to correct a deficiency in Android. And I think they've succeeded. What I don't get is why people here seem to be so mad about it. It's not like Apple owns exclusive rights to smooth scrolling and animations on smartphones.

    At the same time, iOS 6 corrects a long-time iPhone deficiency - lack of turn-by-turn directions.

    Overall I'd say iOS 6 and Jellybean are pretty similar in that regard. Evolutionary steps in improving their respective platforms. Clearing up loose ends and common complaints.
  • Reply 96 of 109


    There was an article a while back that said that the reason Android seems laggy is because the core OS does not give priority to touch gesture. It gives equal weight to other system functions, so when there is a touch input from the user, the system may not respond quickly because system resources is being used up by other apps. Android is not very good at optimizing foreground versus background functions.


     


    This is also the reason why you need a quad-core processor and 8-core graphics chip to be able to do the same thing that an old iPhone 3G can do. Android is not much different from Windows on Intel. Slow, clunky, power hungry. It's just poor design at its root.  

  • Reply 97 of 109
    bigmac2bigmac2 Posts: 639member

    Quote:

    Originally Posted by KDMeister View Post


    There was an article a while back that said that the reason Android seems laggy is because the core OS does not give priority to touch gesture. It gives equal weight to other system functions, so when there is a touch input from the user, the system may not respond quickly because system resources is being used up by other apps. Android is not very good at optimizing foreground versus background functions.


     


    This is also the reason why you need a quad-core processor and 8-core graphics chip to be able to do the same thing that an old iPhone 3G can do. Android is not much different from Windows on Intel. Slow, clunky, power hungry. It's just poor design at its root.  



     


    The main issue with Android is everything is running inside a Java VM, and graphic rendering was using the main thread, so every wait in the code will halt UI refresh.  Beside DalvikVM has a pretty bad multicore-multithreading support.

  • Reply 98 of 109
    jnjnjnjnjnjn Posts: 588member
    d-range wrote: »
    Not really, what you are describing is what double-buffering is for. Triple-buffering is adding yet another off-screen backbuffer, to be able to smooth out dips and spikes in rendering time. This way you don't have to drop frames when one or two frames take longer than 1/60th of a second to render. Since you are basically pipelining frames, you are also introducing latency (=lag), because when the content to render changes (e.g. by user interaction), there are still two frames queued that have to be flipped to the on-screen framebuffer before the frame with the new content can be displayed. 

    Single-buffering (directly rendering to the framebuffer) is almost never used because it introduces drawing artefacts (you can see the screen getting 'painted'). Quadruple-buffering (or more) is almost never used because of the latency it indroduces, and because of the extra RAM it takes. Double and triple buffering are more or less standard fare in rendering, and have always been..

    As I understand it, triple buffering is a hardware trick to decouple the GPU and CPU even more. That's because double buffering introduces a latency when copying the buffer, and the program is locked during that period. Adding another buffer makes it possible to continue the drawing immediately. See Wikipedia: http://en.wikipedia.org/wiki/Multiple_buffering .
    Wikipedia could be wrong of course, but the explanation seems very likely.

    I agree that the techniques used are standard, we could - by the way - continue the discussion in Dutch.

    J.
  • Reply 99 of 109
    chadbagchadbag Posts: 2,023member
    Quote:
    Originally Posted by BigMac2 View Post

     

    MacOS X is a certified Unix'03 OS, OSX use FreeBSD and NetBSD for its user land which is called Darwin and is fully open source.  The UI is a 100% Apple-NeXT closed source creation of a Postscript vector based display, which is the only current UI who can drive the retina display on mobile and desktop, keeping normal resolution for unoptimized apps while boosting fonts resolution.  

     

    Almost

    Only 10.6 Snow Leopard is currently listed as Unix'03 certified according to The Open Group

    http://www.opengroup.org/openbrand/register/xy.htm

    Darwin is not, btw. And there is also a binary layer adopted from FreeBSD, not just the userland. That is a kernel interface layer so that the FreeBSD utilities and tools can interact with the kernel, and other "unix" type access methods will work for lower level stuff. (Have not used it myself).

    And "UI is a 100% Apple-NeXT closed source creation of a Postscript vector based display" is not true. NeXTStep and OpenStep fell into that category. OS X is a PDF based vector based display UI system and no longer a Postscript based one.
  • Reply 100 of 109
    chadbagchadbag Posts: 2,023member
    Quote:
    Originally Posted by BigMac2 View Post

     

    FYI: PDF is a encapsuled Postscript format. 

     

    Apple surprised everyone including Adobe when they abandoned the pure Postscript Display because of high royalty, and switched to the more open model of PDF which has not royalty but still essentially the same as Postscript...  BTW OSX has retained its ability to read and write pure .PS Postscript files.

     

    PDF is not purely encapsulated postscript. It is much more than that. It is based off the same ideas as Postscript and includes a subset of postscript language. Based on Wikipedia, you may find this interesting:

    http://en.wikipedia.org/wiki/Pdf#Technical_foundations
Sign In or Register to comment.