lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectSlow network connection with 2.2.7 and 3c59x

    My machine is a PentiumPro 200 with 128Mb of RAM and two NICs, eepro100
    and 3c59x.

    My problem is that when i try to ping to my server from other machine
    (using 3c59x 10Mbps interface [eth1], which is the only i have to the real
    world) i get a **very** slow connection. However, when i run iptraf on that
    interface (i think this tool puts the NIC in promiscuous mode) my connection
    speeds up a lot, but it don't reach full speed.

    I don't know much of kernel internals and i can't explain this behaviour.
    Somebody knows what's going on?


    >cat /proc/pci
    <...>
    Bus 0, device 15, function 0:
    Ethernet controller: 3Com 3C590 10bT (rev 0).
    Medium devsel. IRQ 3. Master Capable. Latency=248. Min Gnt=3.Max Lat=8.
    I/O at 0xff40 [0xff41].
    Bus 0, device 17, function 0:
    Ethernet controller: Intel 82557 (rev 1).
    Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=72. Min Gnt=8.Max Lat=56.
    Prefetchable 32 bit memory at 0xffbee000 [0xffbee008].
    I/O at 0xff80 [0xff81].
    Non-prefetchable 32 bit memory at 0xff800000 [0xff800000].


    >ifconfig
    eth0 Link encap:Ethernet HWaddr 00:AA:00:C9:9A:0C
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:60312563 errors:1 dropped:0 overruns:0 frame:1875656
    TX packets:47709099 errors:0 dropped:0 overruns:21 carrier:274
    collisions:11094015 txqueuelen:100
    ^^^^^^^^
    is it ok? i think it is a very high number...
    Interrupt:9 Base address:0xff80

    eth1 Link encap:Ethernet HWaddr 00:A0:24:38:BA:F4
    inet addr:150.214.19.177 Bcast:150.214.19.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:6005576 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3652894 errors:11431 dropped:11431 overruns:0 carrier:3
    collisions:90070 txqueuelen:100
    Interrupt:3 Base address:0xff40

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:3924 Metric:1
    RX packets:791094 errors:0 dropped:0 overruns:0 frame:0
    TX packets:791094 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0


    System configuration:
    ---------------------
    Kernel 2.2.7
    Gcc: 2.7.2.3
    Glibc 2.0.6u
    netools 1.50


    By now, i will let iptraf running until i can solve the problem. :(


    ****
    thanks in advance
    ****

    /-----------------------------------------------------------------------\
    | Si tu problema tiene solucion, de que te preocupas? |
    | Si tu problema no tiene solucion, de que te preocupas? |
    | ___ _ |
    | | _ \___| |___ ___ Miguel Hernandez Martos |
    | | _/ -_) / _ (_-< e-mail: p3@euat3.ugr.es |
    | |_| \___|_\___/__/ Granada (Spain) |
    | http://www.geocities.com/SiliconValley/Pines/9632 |
    \-----------------------------------------------------------------------/


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:0.049 / U:2.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site