Date: Mon, 24 Nov 2008 13:42:42 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Gabriel Lavoie <glavoie@gmail.com> Cc: bf <bf2006a@yahoo.com>, freebsd-net@freebsd.org Subject: Re: Realtek 8139 with rl(4) driver -> Poor performance Message-ID: <20081124044242.GL78954@cdnetworks.co.kr> In-Reply-To: <d05df8620811181428l13827b16n37496a5723933ad3@mail.gmail.com> 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> <d05df8620811181428l13827b16n37496a5723933ad3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 18, 2008 at 05:28:13PM -0500, Gabriel Lavoie wrote: > 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. > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081124044242.GL78954>