Hello again!
To resolve the network performance problem, I consulted with
my ISP and also took the suggestions here to use the ethereal
tool.
My ISP told me that owing to virus etc, the bandwidth to/fro
outside of the country is decreased 'for the time being'. I
clearly saw that some of my slowed-down network connections
were caused (at least from the appearance) by the bad DNS
service from my ISP:
Time Source Destination Protocol Info
15.9449098 172.24.12.1 my_isp_name_server_ip DNS Standard
query A mail.yahoo.com
15.975595 my_isp_name_server_ip 172.24.12.1 DNS Standard
query response, Server failure
I also encountered a series of weird entries when testing
my website. My website is served with dynamic DNS, and the
service provider is outside of the country. There is a
router+ADSL modem between the actual server (172.24.12.1)
and outside. The weird entries (*):
Time Source Destination Protocol Info
0.000000 172.24.12.1 my_isp_name_server_ip DNS
Standard query A
www.mywebsite.com
0.031077 my_isp_name_server_ip 172.24.12.1 DNS
Standard query response, Server failure
0.031243 172.24.12.1 my_isp_name_server_ip DNS
Standard query A
www.mywebsite.com
5.031925 172.24.12.1 my_isp_name_server_ip DNS
Standard query A
www.mywebsite.com.mywebsite.com (*)
5.071077 my_isp_name_server_ip 172.24.12.1 DNS
Standard query response, Server failure
....
5.900000 172.24.12.1 my_isp_name_server_ip DNS
Standard query A mail.yahoo.com
5.031077 my_isp_name_server_ip 172.24.12.1 DNS
Standard query response, Server failure
5.033243 172.24.12.1 my_isp_name_server_ip DNS
Standard query A mail.yahoo.com.mywebsite.com (*)
10.033243 172.24.12.1 my_isp_name_server_ip DNS
Standard query A mail.yahoo.com.mywebsite.com (*)
....
Could someone explain the entries above? Could I have
made some mistakes on the configuration? FYI, I commentted
out the entry in /etc/hosts to disable local name resolution.
Is my conclusion feasible (DNS problem caused the slowing-down
of the network connections?)?
The summary from the ethereal said the Avg. bytes/sec is 1059.921
oops. Could I argue with this figure with my ISP? (ADSL service
with 512K inbound/outbound speed). Or shall I use some net
connections without the DNS problem? (If the website is totally
inside the country, it is about 20KB/s for instance).
And almost every time my Mozilla connecting to some website,
there is a time lag of 'connection'... That should be another
topic...