View previous topic :: View next topic |
Author |
Message |
mcfly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2007 Posts: 8
|
Posted: Fri Jul 06, 2007 9:24 am Post subject: Too slow network connection. |
|
|
Hi
I have a server running Gentoo at a remote hostcenter.
My network speed has dropped alot. I can only download with 20K/s it should be around 500K/s the hostcenter testet a file download from the server, and got the same result.
The funny thing is that I can start multiple downloads and still get around 20-30K/s on each.
Could I have done something to cause this? and what?
uname -a
Linux ojp1 2.6.20-gentoo-r7 #2 SMP PREEMPT Fri May 4 07:04:43 CEST 2007 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="213.173.228.192 broadcast 213.173.255.255 netmask 255.255.255.128"
config_eth0=( "213.173.228.192 netmask 255.255.255.128 broadcast 213.173.255.255" )
#iface_eth1="213.173.228.192 broadcast 213.173.255.255 netmask 255.255.255.128"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
config_eth1=( "dhcp" )
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
#gateway="eth0/213.173.228.129"
routes_eth0=("default gw 213.173.228.129") |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jhohwie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 10 Jul 2006 Posts: 18 Location: germany
|
Posted: Fri Jul 06, 2007 9:21 pm Post subject: |
|
|
if you have direct access to this network interface,
you could check your interface with
could look like this:
Code: | $ ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
|
-joe |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mcfly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2007 Posts: 8
|
Posted: Fri Jul 06, 2007 10:03 pm Post subject: |
|
|
Here are the outpus from both my interfaces. It is the eth0 that is in use.
ojp1 ~ # ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 10Mb/s
Duplex: Half
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: no
ojp1 ~ # ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jhohwie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Sonic/5.gif)
Joined: 10 Jul 2006 Posts: 18 Location: germany
|
Posted: Sat Jul 07, 2007 7:11 am Post subject: |
|
|
hmm, everything seems to be right.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mcfly n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Mar 2007 Posts: 8
|
Posted: Sat Jul 07, 2007 7:50 am Post subject: |
|
|
What could be wrong then?
Could it be the driver or perhaps something in the kernel.
Do you think it might help to try the other interface?
It is really strange the way I can only get 35 K/s on one connection but twice that if I establish 2 connections. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|