pcxFirefox 34beta with SmartRAM Experimental Feature


I want to make this feature by default on 34.x Release edition.

About the SmartRAM Experimental Feature, I added some about:config parameters

// pcxFirefox SmartRAM
pref("pcxfirefox.memory.firefox.smart", true);
pref("pcxfirefox.memory.firefox.smart.ratio", 80);
pref("pcxfirefox.memory.firefox.keep.dynamic", true);
pref("pcxfirefox.memory.firefox.keep", 512);
pref("pcxfirefox.memory.firefox.timer", 3600);

If pcxfirefox.memory.firefox.smart is true, then SmartRAM Experimental Feature is Enabled, and other about:config SmartRAM parameters are valid, otherwise these parameters are invalid.

pcxfirefox.memory.firefox.keep.dynamic controls different memory trim methods.
If pcxfirefox.memory.firefox.keep.dynamic is true, then pcxfirefox.memory.firefox.smart.ratio value is valid, pcxfirefox.memory.firefox.smart.ratio controls the size you want to keep the present memory’s percentage ( 80 means 80% ) when hitting SmartRAM event until the present memory less than 128MB.
If pcxfirefox.memory.firefox.keep.dynamic is false, then pcxfirefox.memory.firefox.keep value is valid, pcxfirefox.memory.firefox.keep controls the size you want to keep the memory’s, whose unit is MB ( 512 means 512MB ) when hitting SmartRAM event.

pcxfirefox.memory.firefox.timer controls the SmartRAM event time interval, whose unit is seconds ( 3600 means 3600 seconds ), which means that every pcxfirefox.memory.firefox.timer seconds, SmartRAM will control your memory.

Please adjust these parameters very carefully if you want to modify them to a very small value.

And also, I change SCR feature about:config to

//System Clock Rate Improve
pref("pcxfirefox.scr.enabled", true);
pref("pcxfirefox.scr.always", false);
pref("pcxfirefox.scr.timer", 3600);

pcxfirefox.scr.timer controls the SCR event time interval, whose unit is seconds ( 3600 means 3600 seconds ), which means that every pcxfirefox.scr.timer seconds, SCR feature will detect Power Type again.


5 comments on “pcxFirefox 34beta with SmartRAM Experimental Feature

  1. M. Adams says:

    Any plans for x64 download?


  2. Facta says:

    Tweaked Network & Memory settings versus SmartRAM.

    Hello, dev.
    Perhaps this will help you on your way to integrate SmartRAM into pcxFirefox. I did a couple of tests on some websites with both pcxFirefox 33.1.1 and pcxFirefox 34 Beta. In my case, pcxFirefox 33.1.1 with tweaked network & memory settings is still faster in rendering websites than pcxFirefox 34 Beta with activated SmartRAM (512 MiB). In fact, on JavaScript-heavy websites like Facebook, pcxFirefox 33.1.1 renders much faster.

    Keep the good work going, by the way. Thanks to pcxFirefox (and Light Firefox), I become more and more alienated from the original Mozilla Firefox & Google Chrome, and I mean it in a positive way.


    • xunxun says:

      This should be true, because I only apply basic PGO to this 34beta edition, and if pcxfirefox.memory.firefox.timer is not too small, I think SmartRAM has no influence for performance.
      Generally, I only try to apply most PGO on the Release Edition, which will save me time a lot.


      • Facta says:

        Got it, thanks for explaining. I’ll watch curiously for the Release Edition.


Comments are closed.