Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo router speed problem
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
Winterbird
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2005
Posts: 84

PostPosted: Wed Jul 13, 2005 8:01 am    Post subject: gentoo router speed problem Reply with quote

Hello, I'm having some troubles with my gentoo router.
Basicly downloading from ftp.du.se from behind the router, I don't get faster speed than about 20k/s, downloading from the router I get around 650k/s, and Downloading from my laptop, directly connected to the internet I get 1.5M/s. I've followed the gentoo home router guide almost completly, I've only forwarded a few extra ports to various computers on the net. The router is a 450Mhz with 128M ram.

another odd thing is that when I download with bittorrent (azureus, limited to 250 connections) I can get at least 200k/s...

any help would be appreciated.
Back to top
View user's profile Send private message
drhirsch
n00b
n00b


Joined: 08 May 2004
Posts: 66
Location: Germany

PostPosted: Wed Jul 13, 2005 9:00 am    Post subject: Reply with quote

How fast can you download from your router into your local net?

Hows the load on the router during download?

Sounds like a defective NIC for me, maybe a driver issue.
Try replacing it with another model.
Back to top
View user's profile Send private message
Winterbird
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2005
Posts: 84

PostPosted: Wed Jul 13, 2005 10:38 am    Post subject: Reply with quote

when I run top on the router while downloading:
Code:

top - 12:25:09 up 14:37,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  29 total,   1 running,  28 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0% us,  0.0% sy,  0.0% ni, 98.7% id,  0.0% wa,  1.3% hi,  0.0% si
Mem:    126076k total,    36476k used,    89600k free,     2896k buffers
Swap:  1942912k total,        0k used,  1942912k free,    21276k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                               
 6146 root      16   0  2068 1060  844 R  0.7  0.8   0:00.07 top                                                                                                                                                   
    1 root      16   0  1472  500  444 S  0.0  0.4   0:00.18 init                                                                                                                                                   
    2 root      34  19     0    0    0 S  0.0  0.0   0:00.12 ksoftirqd/0                                                                                                                                           
    3 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0                                                                                                                                               
    4 root      10  -5     0    0    0 S  0.0  0.0   0:00.02 khelper                                                                                                                                               
    9 root      16  -5     0    0    0 S  0.0  0.0   0:00.00 kthread                                                                                                                                               
   17 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0                                                                                                                                             
   30 root      15   0     0    0    0 S  0.0  0.0   0:00.00 khubd                                                                                                                                                 
  104 root      20   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                                                                                                               
  105 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush                                                                                                                                               
  107 root      17  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0                                                                                                                                                 
  106 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kswapd0                                                                                                                                               
  693 root      25   0     0    0    0 S  0.0  0.0   0:00.00 kseriod                                                                                                                                               
  749 root      15   0     0    0    0 S  0.0  0.0   0:00.02 kjournald                                                                                                                                             
  797 root      17  -4  1476  468  408 S  0.0  0.4   0:00.12 udevd                                                                                                                                                 
 4717 root      16   0  1548  636  536 S  0.0  0.5   0:00.02 metalog                                                                                                                                               
 4718 root      16   0  1536  528  460 S  0.0  0.4   0:00.00 metalog                                                                                                                                               
 5487 nobody    15   0  1736  756  636 S  0.0  0.6   0:00.29 dnsmasq                                                                                                                                               
 5497 dhcp      16   0  2648 1584  984 S  0.0  1.3   0:00.14 dhcpd                                                                                                                                                 
 5692 root      16   0  3432 1512 1244 S  0.0  1.2   0:00.00 sshd                                                                                                                                                   
 5723 root      17   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 5728 root      17   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 5729 root      16   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 5730 root      17   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 5731 root      16   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 5732 root      16   0  1612  692  596 S  0.0  0.5   0:00.00 agetty                                                                                                                                                 
 6116 root      15   0  1484  480  424 S  0.0  0.4   0:00.17 dhcpcd                                                                                                                                                 
 6131 root      16   0  6408 2020 1624 S  0.0  1.6   0:00.23 sshd                                                                                                                                                   
 6137 root      15   0  2396 1416 1172 S  0.0  1.1   0:00.05 bash


unfortunatly I don't have another nic to test with atm...
the cards I have in it right now is:
eth0 (LAN):
Code:
  Bus  0, device   3, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 5.
      Master Capable.  Latency=66.  Min Gnt=32.Max Lat=64.
      I/O at 0x2000 [0x20ff].
      Non-prefetchable 32 bit memory at 0x41200000 [0x412000ff].

eth1 (WAN):
Code:
  Bus  0, device   4, function  0:
    Ethernet controller: 3Com Corporation 3c595 100BaseTX [Vortex] (rev 0).
      IRQ 3.
      Master Capable.  Latency=248.  Min Gnt=3.Max Lat=8.
      I/O at 0x2880 [0x289f].


I'm going to try to change the cables to start with, if that doesn't solve the problem I'll probably better go looking for a new NIC.

Edit. To download from router to internal computer goes at at least 4.5M/s
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