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

Pyun YongHyeon pyunyh at gmail.com
Sun Nov 23 20:44:54 PST 2008


On Tue, Nov 18, 2008 at 05:28:13PM -0500, Gabriel Lavoie wrote:
 > 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.
 > 

I don't see possible errors in code.
Did rl(4) show some messages on your console?
Since there are no errors in netstat output I have no clue yet.
Does interface up/down fix the poor performance after you've seen
Samba copy error?

-- 
Regards,
Pyun YongHyeon


More information about the freebsd-net mailing list