Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Too slow network connection.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mcfly
n00b
n00b


Joined: 26 Mar 2007
Posts: 8

PostPosted: Fri Jul 06, 2007 9:24 am    Post subject: Too slow network connection. Reply with quote

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
View user's profile Send private message
jhohwie
n00b
n00b


Joined: 10 Jul 2006
Posts: 18
Location: germany

PostPosted: Fri Jul 06, 2007 9:21 pm    Post subject: Reply with quote

if you have direct access to this network interface,
you could check your interface with
Quote:
ethtool


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
View user's profile Send private message
mcfly
n00b
n00b


Joined: 26 Mar 2007
Posts: 8

PostPosted: Fri Jul 06, 2007 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
jhohwie
n00b
n00b


Joined: 10 Jul 2006
Posts: 18
Location: germany

PostPosted: Sat Jul 07, 2007 7:11 am    Post subject: Reply with quote

hmm, everything seems to be right....
Back to top
View user's profile Send private message
mcfly
n00b
n00b


Joined: 26 Mar 2007
Posts: 8

PostPosted: Sat Jul 07, 2007 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum