Kubuntu should include nscd DNS cache deamon by default
Bug #75098 reported by
mumme
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kubuntu-meta (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: kdelibs
As Kde doesn't have a built in DNS cache daemon it makes konqueror, and other apps that use KdeIO unnecessary slow.
Browsing a typical portal page reduced load time from
25 s and unreadable in at least 20 s
to
10 s while the page was readable in 4 s
when I installed nscd.
Please see Mr Macieira answer at Kfm-devel
http://
I do disagree that this page is a corner case, or that nobody uses slow DNS servers. But thats another question.
/ Fredrik
Changed in kubuntu-meta: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
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: tv4.se/ 38 sec www.cnn. com/ 23 sec svt.se/ 35 sec www.youtube. com/ 15 sec www.kde- apps.org/ 15 sec formula1. com/ 38 sec shots.osdir. com/index. php?distro= 451 19 sec
Slow sites in konqueror (without nscd) measured during refreshing the page
http://
http://
http://
http://
http://
http://
http://
Same sites with nscd running, same environment, and measured with page refresh tv4.se/ 12 sec www.cnn. com/ 15 sec svt.se/ 15 sec www.youtube. com/ 9 sec www.kde- apps.org/ 8 sec formula1. com/ 17 sec shots.osdir. com/index. php?distro= 451 4 sec <-- notice this result !!! compared to 19 sec
http://
http://
http://
http://
http://
http://
http://
Same sites with nscd running and KDE_NO_IPv6=true, same environment and measured with page refresh tv4.se/ 10 sec www.cnn. com/ 11 sec svt.se/ 11 sec www.youtube. com/ 5 sec www.kde- apps.org/ 4 sec formula1. com/ 11 sec shots.osdir. com/index. php?distro= 451 2 sec <-- even better
http://
http://
http://
http://
http://
http://
http://
Same sites without nscd running but with KDE_NO_IPv6=true, same environment and measured with page refresh tv4.se/ 14 sec www.cnn. com/ 13 sec svt.se/ 19 sec www.youtube. com/ 9 sec www.kde- apps.org/ 4 sec formula1. com/ 15 sec shots.osdir. com/index. php?distro= 45 9 sec
http://
http://
http://
http://
http://
http://
http://
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