You are not logged in.
Hi
I've been experiencing slowdowns in firefox (maybe general slowdowns but I mainly see them in firefox) when I open 1 or 2 tabs in a row...
It's a general slowdown feeling that have appeared maybe 2 or 3 weeks ago.
I have absolutely no idea where to look, as my setup is pretty clean and was working flawlessly.
Has someone else noticed some slowdowns recently ?
Last edited by maxi_jac (2013-05-13 20:53:56)
Offline
No, sorry...working fine here. In general with Firefox if you have problems delete your profile and start with a fresh profile. You could also make sure your history and cache are completely clean.
Scott
Offline
Good catch, will try with a fresh profile, but I doubt it's profile related.
Offline
Ok, you were right, a fresh profile does not have this slowdown...
So I tried to isolate the culprit, and it lloks like it was Adblock+...
I'm a bit surprised that I'd be the only one hit by this slowdown, I've always had ABP installed so it is a regression.
Offline
So I tried to isolate the culprit, and it lloks like it was Adblock+...
I'm a bit surprised that I'd be the only one hit by this slowdown, I've always had ABP installed so it is a regression.
Yeah, I always run ABP but haven't noticed any slowdowns. Wonder if it is ABP itself or the filters causing the issue?
oz
Offline
Something to consider:
I had intermittent slowdowns in firefox due to ABP .
so I decided to move the ad-blocking to a small proxy called adzapper.
This then led me to repurpose an old pc to be a squid3 proxy with havp & adzapper as child proxies, then I installed ip-blocker & now all I see in place of adverts is "this ad zapped" or a custom page telling me havp found a virus etc
Once I did all that I now do not use the plugin.
Last edited by t0m5k1 (2013-05-14 18:18:56)
Offline
I'd use Privoxy instead. Download the Adblock to Privoxy conversion script here:
https://code.google.com/p/wl500g-common/downloads/list
and the hosts file to Privoxy conversion script here:
https://github.com/EtiennePerot/dotfile … acklist.py
Since I turned off most of my adblock filters FF doesn't freeze on me.
Offline
FWIW, I like to take the complex route. So I use hostsblock from the AUR, which downloads a number of block lists and then sorts and orders them into a /etc/hosts.block file. Then I use dnsmasq to load that file, and have my resolv.conf point to localhost first. In addition to that dnsmasq also gives the benefit of acting like its supposed to and caching dns queries for me. I find it works quite well.
Offline
FWIW, I like to take the complex route. So I use hostsblock from the AUR, which downloads a number of block lists and then sorts and orders them into a /etc/hosts.block file. Then I use dnsmasq to load that file, and have my resolv.conf point to localhost first. In addition to that dnsmasq also gives the benefit of acting like its supposed to and caching dns queries for me. I find it works quite well.
Interesting. I don't use a large hosts file any more as I heard it slows down DNS lookups. When I switched to Privoxy web browsing seemed a lot faster. Can you outline how you got dnsmasq to use a hosts file?
Edit: Never mind I worked it out. I still think DNS lookups are pretty slow even with dnsmasq using the hosts file.
Last edited by psychedelicious (2013-06-03 22:36:08)
Offline
If you just read through the config there are just a couple options that are necessary to make the blocking work.
In my case, since I am using hostsblock to create this file, and I don't want to jam up my actual /etc/hosts (in case I don't want to have adblocking enabled for whatever reason, I can turn off dnsmasq), I have it set to use /etc/hosts.block. Hostsblock is available in the AUR and uses a whitelist, blacklist, and a number of blocksites to make a custom list for you. It is really just a set of scripts, but I find it works quite well. It also sorts the file into lexicographical order and removes redundancies.
So I have addn-hosts=/etc/hosts.block, so it will add that file, and then (I think) you need listenaddress=127.0.0.1.
Then you need to have "nameserver 127.0.0.1" prepended to your /etc/resolv.conf. There are a number of ways to do this, particularly since openresolv is included in base now. But the easiest is to use /etc/resolv.conf.head, as the automatic generation of the file will always include that first, so long as your address is being resolved with dhcpcd. I don't remember how to do it with dhclient... but I know I did it somehow. With connman, you have to set it up per network, and you also then have to define the regular dns addresses. If you look at the connman documentation, you can see how to set up the nameservers. Just beware, the docs say to use comma separated, but it is really semi-colon and space separated.
If you use just those two configuration points, you also need to have the regular nameservers added to resolv.conf as well, since dnsmasq will be loading these nameservers into its service everytime it changes. You can set these statically in the dnsmasq.conf, but I choose to just let it load whatever the network tells me it should use. This is why you should use resolv.conf.head, as it will still include the dhcp configured nameservers in the resolv.conf. It is also why, if you are using connman, you still need to include the regular nameservers in addition to localhost.
Offline
You were too quick for me! See my edit above! I already have dnsmasq setup as a dns cache.
Last edited by psychedelicious (2013-06-03 22:37:16)
Offline
Hmm... mine work just fine. I can tell no difference when it is running vs not (except all the ads).
Offline
This may be better served with a topic in the networking forum.
Offline
Meh, you've got it figured out... so I can't see this conversation going much longer anyway. Besides, the method which I use is certainly no secret, and instructions for various ways can be found across the interwebs.
Offline