I have this weird issue. On ubuntu desktops same version of firefox performs extremely slow in getting static files like images or js files. On Centos the results are much better.

I dont know how this can be different , and what can I do to debug further.


As the days go by and developers get faster machines with SSDs, they keep breaking and slowing down machines that don't have SSDs, etc. (such as saving cache which obviously should not be a synchronous operation, but they have an SSD so they don't notice). I am sure this makes a difference, as I have seen it and fixed it. Do all of them have their home dirs and temp dirs on SSDs? (and obviously other hardware is relevant, just an SSD is an easy thing to forget). And if it's not an SSD difference, it might be filesystem. Maybe CentOS uses xfs which can be faster in some cases. Maybe your Ubuntu uses btrfs, which can be faster or slower wildly.

Also video drivers are relevant. Do they have the same driver? Maybe some use nouveau, the slowest driver available, and others use nvidia (proprietary), radeon or fglrx (proprietary)? Also different kernel versions have different drivers and may have some effect (I have seen many nouveau stability issues but not sure what to say about performance).

Also Ubuntu with unity uses compiz or some thing that changes graphics effects around severely affecting performance. I think you can't turn it off (unless you switch from unity) but you can disable some of the effects (the setting is not in regular menus... takes some digging).

Also there could be a difference in addons. I know if I add NoScript which blocks flash and some things by default (I also delete the default whitelist which has google analytics and other junk in it), things are much faster. And if you disable flash and Java entirely without NoScript, it's also faster (and more secure), but does nothing to javascript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.