How to fix stuttering [Firefox Renderer]. (Youtube fixed!)

Post your tips, tricks, and helpful hints for using Avant here.

Moderators: Support Staff², Support Staff, AvantGuard, Developer

Post Reply
User avatar
sulpherdragon
Contributor
Contributor
Posts: 222
Joined: Sat Dec 15, 2007 9:51 pm
Windows Version: Windows 7
Avant Version: 2013 Build 23
Default engine: Firefox
IE Version:
Skin:
Contact:

How to fix stuttering [Firefox Renderer]. (Youtube fixed!)

Post by sulpherdragon » Mon Mar 25, 2013 3:29 pm

Avant sometimes stutters on YouTube, Facebook and sometimes many other sites. Usually the stuttering is most noticeable on HDDs. SSDs can alleviate the problems to some degree. The stuttering also continues well after the user has closed the tabs, and can re-appear if they close and open the browser again.

I believe this happens because the session in memory becomes large, and the Firefox renderer writes to disk every 15 seconds to ensure the session is not forgotten in case of a crash. This writing doesn't increase CPU usage, instead it causes a temporary deadlock in the kernel which appears to us as a lag spike.
Avant already stores the same information in its own session file and thus this Firefox feature does not benefit us at all, instead it causes lag and stutter.

I've increased this from 15 seconds to 1500 seconds, this makes it far less noticeable especially during watching movies.

Step 1
In the browser URL bar, type in:
about:config
and hit enter, you may have to click past a disclaimer.

Step 2
in the new search bar that appeared, type in:
browser.sessionstore

Step 3
In the filtered list, you can find a line called:
browser.sessionstore.interval
Double click on this and change the value from 15000 to 1500000

Restart your browser and youre done!
No more intermittent lag!

Maybe Avant should be released pre-tweaked with this variable set higher.

Image
Image

mbrazil
AvantGuard
AvantGuard
Posts: 1966
Joined: Tue Jul 26, 2005 10:04 pm
Windows Version: 10
Avant Version: 2015 Ultimate Build 28
Default engine: Gecko (Firefox)
IE Version: 10
Skin: Monai XP
Location: Grass Valley, CA

Re: How to fix stuttering [Firefox Renderer]. (Youtube fixed

Post by mbrazil » Mon Mar 25, 2013 3:52 pm

Thanks, sulpherdragon! :clap:

ttetsumako
Newbie
Newbie
Posts: 1
Joined: Thu Feb 12, 2015 12:30 pm
Windows Version: win 8
Avant Version: 10
Default engine: 74
IE Version: 45
Skin: 5

Re: How to fix stuttering [Firefox Renderer]. (Youtube fixed

Post by ttetsumako » Thu Feb 12, 2015 12:31 pm

amount of memory and create the smallest load on the CPU, followed ?

lokomotifbag
Newbie
Newbie
Posts: 10
Joined: Sun Feb 22, 2015 10:13 am
Windows Version: Windows 8
Avant Version: Ultimate 2015 Build 9
Default engine: Firefox
IE Version: IE 11
Skin: Default

Re: How to fix stuttering [Firefox Renderer]. (Youtube fixed

Post by lokomotifbag » Sun Feb 22, 2015 11:25 am

i am using Ultimate 2015 Build 9. Do I need to set this?

Post Reply

Who is online

Users browsing this forum: No registered users