Slow network speeds
I have been noticing that all programs that go out to the internet have been running slow on my computer. Ping runs incredibly slow and takes well over a minute to give me any results. Also Firefox doesnt look up websites very fast at all, in fact I think it stopped trying alltogether. I am currently posting this message on windows because the request times out in linux. In windows the speeds are great and nuthing is wrong. I have done the command "route add default gw 192.168.1.1" to make the default route. Ip addresses and configured correctly through dhcp on my router, yet still the speeds are very slow. What could cause this slow access time and how do I fix it?
Mike |
maybe start with disabling ipv6?
|
Does that require a kernel recompile, and if not how do I do that?
By the way I have 2 network cards an ethernet and a wireless (this is a laptop). Thanks, Mike |
Quote:
open terminal su as root and then enter: echo "alias net-pf-10 off" >> /etc/modprobe.conf echo "alias ipv6 off" >> /etc/modprobe.conf netx open Firefox in the address line enter: about:config next in the filter line enter ipv6 and doubleclick on network.dns.disableIPv6 so the value willchange to "true" restart network (or computer). I hope that this will help |
Thanks for all your help I think my internet applications are alot quicker now.
Mike |
My network still seams to be going slightly slower than when I am windows. What other things can I do to improve proformance?
Mike |
are your DNS servers set the same on both computers?
Linux.. cat /etc/resolv.conf Windows... ipconfig /all |
can you define slower?
on average I have on SuSe 353 KB/sec and on windows (different machine) 380 KB/sec transfer rate. For a standard workstation this difference is negligible. anyway can you post the results about: 1. your NIC 2. /etc/resolv.conf 3. network (direst connect, home LAN behind router) 3. connection type 3. txqueuelen and MTU value #ifconfig 4. value of window scaling #sysctl -a | grep scaling and look for: net.ipv4.tcp_window_scaling 5. sack value #sysctl -a | grep sack and look for net.ipv4.tcp_sack 6. path MTU discovery #sysctl -a | grep disc and look for net.ipv4.ip_no_pmtu_disc |
Both Windows and Linux use different DNS servers:
In Windows its only 192.168.1.1 which is my router, and in Linux it says: nameserver 24.51.159.130 nameserver 24.51.159.133 search chvlva.adelphia.net I have 2 network cards 1 wireless and the other is gigabit ethernet. ifconfig shows for the wireless: eth0 Link encap:Ethernet HWaddr 00:06:25:29:D0:AB inet addr:192.168.1.205 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14414 errors:0 dropped:0 overruns:0 frame:0 TX packets:13090 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3149720 (3.0 Mb) TX bytes:1592650 (1.5 Mb) Interrupt:3 Base address:0x100 The I dont use the gigabit much since this is a laptop. Windows scaling: error: unknown error 22 reading key 'net.ipv4.route.flush' net.ipv4.tcp_window_scaling = 1 Sack value: error: unknown error 22 reading key 'net.ipv4.route.flush' net.ipv4.tcp_dsack = 1 net.ipv4.tcp_sack = 1 MTU discovery: error: unknown error 22 reading key 'net.ipv4.route.flush' net.ipv4.ip_no_pmtu_disc = 0 I have no idea what that error mean however it might be the problem. Oh and when I say slow it takes about 30-45 seconds to "look up" google.com after it finds the site the pings go normal speed. I believe this is some sort of DNS problem. Mike |
don't worry about error
change this to zero net.ipv4.tcp_window_scaling = 0 edit /etc/sysctl.conf and add the line above. save it and run sysctl -p configure gateway: 192.168.1.1 That is not the same as nameserver. So you don't need to modify /etc/resolv.conf (By the way I suggest to change windows settings to: DNS servers 24.51.159.130 24.51.159.133 gateway 192,168.1.1 Sorry, I don't have any experience with wireless card. I assume that eth0 is an gigabit. So where is a configuration of the wireless card? It does seem that wireless card is not configured. |
All times are GMT -5. The time now is 05:19 AM. |