Date: Tue, 10 Nov 1998 13:08:53 -0800 From: David Greenman <dg@root.com> To: "SnowFox" <snowfox@newtoy.com> Cc: questions@FreeBSD.ORG Subject: Re: Slow ed revisited - D-Link DE-220P & if_ed.c multibuffering Message-ID: <199811102108.NAA05939@root.com> In-Reply-To: Your message of "Tue, 10 Nov 1998 14:19:15 CST." <001a01be0ce7$66047760$7c000080@newtoy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>I wrote about 120-130k/s transfer rates with a D-Link DE-220P NE2000 >compatible card - cable wiggling and all didn't seem to help, so I went >spelunking in the code today. (*Huge hugs for open source - I learned how >network cards work today... this if fun!*) =) > >Okay, if_ed.c detects the card as an NE2000 compatible and assigns it a 16k >buffer. This much is nice. Unfortunately, ed_probe_Novell_generic defaults >to creating two transmission buffers, and this is what's slowing me down. >Hard-coding "sc->txb_cnt = 1" gets me upper 900k/s rates. (Bonus points for >anyone who can tell me why? I'd gone into the code assuming I was on an 8k >buffer witch-hunt, but the specs on D-Link's page say 16k.) The only effect this should have is that the board will no longer be able to send out back-to-back packets - all of the packets will have a small amount of delay between them. This really sounds like a problem with the receiver not being able to accept packets fast enough. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811102108.NAA05939>