Disable scrolling cache & more!

Search This thread

Ricky Divjakovski

Recognized Developer / Inactive RC
Feb 4, 2013
5,291
7,687
28
Sydney
scrolling cache is made for debugging, its un-needed just like removing /dev/log/main, its un-needed and takes up memory.
i fin this hard to believe it disables scrolling cache though
 

Evil Tak

Member
Jan 22, 2015
27
9
This fix works, even today. The once huge stutter on scrolling through large Hangouts conversations and Play Store pages has become a bit smoother (albeit still with a little microlag).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    I will slowly be adding more tweaks as I come across them so check back once in awhile.
    Standard disclaimer: Use at your own risk!
    Basically disabling the scrolling cache will reduce lagy and chunky scrolling. You won't notice a huge difference unless your scrolling through something your phone usually has a hard time with. Anyone that has Rom Toolbox would understand chunky scrolling on the first page of the app. So if you have the app, test it there. In general, icons will appear instantaneous and everything will run a bit smoother.
    So here is what to do...
    Use your favorite build.prop editor and add a new line.

    persist.sys.scrollingcache
    Set it's value to 3.
    Reboot.


    If you really want to make things extremely more responsive then adjust your vm.stat_interval. I do believe the default is 10. If someone could verify it before you change it let me know. Setting the value lower will increase the responsiveness of your phone a very good amount! Start at 8 and slowly work down. There is a chance you will become unstable so use caution. I can say I have set it to 1 (lowest setting) without a single issue.
    Do not expect to increase your benchmark with this because it will actually drop a little. This is a perfect example of the whole benchmark debate. Your phone will be flying but quadrant won't show it.
    Use the "SCOL" app to adjust vm.stat_interval and save your value. There is no need to reboot and the results of your changes are instantly applied.
    Yes. It is most likely going to effect battery life.



    48 65 6c 70 20 6d 65 21
    4
    Hi everybody,
    I have 2 questions:

    1.Doesn't one have to do something in framework.jar to disable scrolling cache?;)

    2. What do you mean by "set it's value to 4"?

    Wow I thought this got buried deep in the archives to never be seen again! Anyways, at the time I wrote this it is my understanding that basically...
    1=cache on always
    2=cache on certain times
    3=cache off certain times
    4=cache off always
    Not like I haven't been wrong in the past though.
    2
    Wow I thought this got buried deep in the archives to never be seen again! Anyways, at the time I wrote this it is my understanding that basically...
    1=cache on always
    2=cache on certain times
    3=cache off certain times
    4=cache off always
    Not like I haven't been wrong in the past though.

    So if I want scrolling cache off, it looks like this, or?:

    persist.sys.scrollingcache=4

    Thanks for your fast reply:)
    1
    will this work on JB roms?
    1
    Yup thats it