Realtek 8139 with rl(4) driver -> Poor performance

Gabriel Lavoie glavoie at gmail.com
Tue Nov 18 14:28:15 PST 2008


Requested commands:

Before a problem happens:

[root at headless ~]# sysctl hw.busdma
hw.busdma.total_bpages: 8260
hw.busdma.zone0.total_bpages: 8196
hw.busdma.zone0.free_bpages: 8196
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.alignment: 1
hw.busdma.zone0.boundary: 0
hw.busdma.zone1.total_bpages: 64
hw.busdma.zone1.free_bpages: 64
hw.busdma.zone1.reserved_bpages: 0
hw.busdma.zone1.active_bpages: 0
hw.busdma.zone1.total_bounced: 8200
hw.busdma.zone1.total_deferred: 0
hw.busdma.zone1.lowaddr: 0xffffffff
hw.busdma.zone1.alignment: 2
hw.busdma.zone1.boundary: 65536

[root at headless ~]# netstat -nd -I rl0
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs
Coll Drop
rl0    1500 <Link#1>      00:50:fc:c6:c8:d2    64336     0    60706
0     0    0
rl0    1500 192.168.69.0/ 192.168.69.87        63398     -    59820
-     -    -


I got a Samba copy error at this point:

[root at headless /home/wildchild]# sysctl hw.busdma
hw.busdma.total_bpages: 8260
hw.busdma.zone0.total_bpages: 8196
hw.busdma.zone0.free_bpages: 8196
hw.busdma.zone0.reserved_bpages: 0
hw.busdma.zone0.active_bpages: 0
hw.busdma.zone0.total_bounced: 0
hw.busdma.zone0.total_deferred: 0
hw.busdma.zone0.lowaddr: 0xffffffff
hw.busdma.zone0.alignment: 1
hw.busdma.zone0.boundary: 0
hw.busdma.zone1.total_bpages: 64
hw.busdma.zone1.free_bpages: 64
hw.busdma.zone1.reserved_bpages: 0
hw.busdma.zone1.active_bpages: 0
hw.busdma.zone1.total_bounced: 144539
hw.busdma.zone1.total_deferred: 0
hw.busdma.zone1.lowaddr: 0xffffffff
hw.busdma.zone1.alignment: 2
hw.busdma.zone1.boundary: 65536
[root at headless /home/wildchild]# netstat -nd -I rl0
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs
Coll Drop
rl0    1500 <Link#1>      00:50:fc:c6:c8:d2  6718354     0  4023956
0     0    0
rl0    1500 192.168.69.0/ 192.168.69.87      6717392     -  4023051
-     -    -

Now the networking is really erratic. I have a huge slowdown with SSH and
I'm unable to copy files on the computer anymore via Samba. I must reboot to
get back the full performance.

Gabriel

2008/11/17 Pyun YongHyeon <pyunyh at gmail.com>

> On Mon, Nov 17, 2008 at 09:56:05PM -0500, Gabriel Lavoie wrote:
>  > Hum. I tried transfering a lot of data tonight via Samba (30GB). It
> seems
>  > that after some time the driver becomes again unstable and the
> networking
>  > performance drops really low. I could hardly SSH to this box after it
>  > happened.
>
> Would you show me the output of "sysctl hw.busdma" and
> "netstat -nd -I rl0"?
> Did rl(4) show some messages on your console?
>
>  >
>  > Gabriel
> --
> Regards,
> Pyun YongHyeon
>



-- 
Gabriel Lavoie
glavoie at gmail.com


More information about the freebsd-net mailing list