Date: Tue, 18 Nov 2008 17:28:13 -0500 From: "Gabriel Lavoie" <glavoie@gmail.com> To: pyunyh@gmail.com Cc: bf <bf2006a@yahoo.com>, freebsd-net@freebsd.org Subject: Re: Realtek 8139 with rl(4) driver -> Poor performance Message-ID: <d05df8620811181428l13827b16n37496a5723933ad3@mail.gmail.com> In-Reply-To: <20081118043731.GD55015@cdnetworks.co.kr> References: <957411.42240.qm@web39101.mail.mud.yahoo.com> <20081117023024.GE50872@cdnetworks.co.kr> <d05df8620811161903q66429546nb09c01df3f3abdf0@mail.gmail.com> <20081117034428.GG50872@cdnetworks.co.kr> <d05df8620811171856p5be45728vf5a89c54197dded7@mail.gmail.com> <20081118043731.GD55015@cdnetworks.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
Requested commands: Before a problem happens: [root@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@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@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@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@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@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d05df8620811181428l13827b16n37496a5723933ad3>