Disabling ipv6 fixes slow and unstable Internet in Ubuntu

I have installed ubuntu14 numerous times, i have seen that the internet is slow compared to windows or mac osx. I decided to take a deeper look into it. The speed is much better in command line terminal or through ethernet, but very slow in wifi and mobile broadband. The wifi is totally unstable with intermittent drop in connections.

I disabled ipv6 under my wifi settings and now seems to be working fine. Go to wifi > edit connections > edit This is connection specific. I tried many tweaks for slow internet suggested in forums, but this simple trick worked for me. Oh i did add, google dns servers, 8.8.8.8, 8.8.4.4 to speed up things.

Screenshot from 2014-11-01 14:28:48