[Bug 75098] Re: Kubuntu should include nscd DNS cache deamon by default
mumme
fredrik at mumme.se
Sun Dec 10 15:33:10 UTC 2006
Tim Ri pointed out that I should attach some sites that apear slow for
me so you could test them.
Also the most probable cause that I experience konqueror slow is that my
ISP DNS doesnt support IPv6.
So a easy GUI way if setting KDE_NO_IPv6 environment setting would
perhaps make people more aware of the DNS issue.
Anyways here are my findings:
Slow sites in konqueror (without nscd) measured during refreshing the page
http://tv4.se/ 38 sec
http://www.cnn.com/ 23 sec
http://svt.se/ 35 sec
http://www.youtube.com/ 15 sec
http://www.kde-apps.org/ 15 sec
http://formula1.com/ 38 sec
http://shots.osdir.com/index.php?distro=451 19 sec
Same sites with nscd running, same environment, and measured with page refresh
http://tv4.se/ 12 sec
http://www.cnn.com/ 15 sec
http://svt.se/ 15 sec
http://www.youtube.com/ 9 sec
http://www.kde-apps.org/ 8 sec
http://formula1.com/ 17 sec
http://shots.osdir.com/index.php?distro=451 4 sec <-- notice this result !!! compared to 19 sec
Same sites with nscd running and KDE_NO_IPv6=true, same environment and measured with page refresh
http://tv4.se/ 10 sec
http://www.cnn.com/ 11 sec
http://svt.se/ 11 sec
http://www.youtube.com/ 5 sec
http://www.kde-apps.org/ 4 sec
http://formula1.com/ 11 sec
http://shots.osdir.com/index.php?distro=451 2 sec <-- even better
Same sites without nscd running but with KDE_NO_IPv6=true, same environment and measured with page refresh
http://tv4.se/ 14 sec
http://www.cnn.com/ 13 sec
http://svt.se/ 19 sec
http://www.youtube.com/ 9 sec
http://www.kde-apps.org/ 4 sec
http://formula1.com/ 15 sec
http://shots.osdir.com/index.php?distro=45 9 sec
Also the statistics of nscd --statistic
....
passwd cache:
yes cache is enabled
yes cache is persistent
yes cache is shared
211 suggested size
216064 total data pool size
1728 used data pool size
600 seconds time to live for positive entries
20 seconds time to live for negative entries
20094 cache hits on positive entries
0 cache hits on negative entries
322 cache misses on positive entries
5 cache misses on negative entries
98% cache hit rate
18 current number of cached values
58 maximum number of cached values
1 maximum chain length searched
0 number of delays on rdlock
0 number of delays on wrlock
0 memory allocations failed
yes check /etc/passwd for changes
....
Hope it helps..
/ Fredrik
--
Kubuntu should include nscd DNS cache deamon by default
https://launchpad.net/bugs/75098
More information about the kubuntu-bugs
mailing list