Date: Mon, 9 Sep 1996 11:40:43 +0200 (MET DST) From: Guido van Rooij <Guido.vanRooij@nl.cis.philips.com> To: dfr@render.com (Doug Rabson) Cc: Guido.vanRooij@nl.cis.philips.com, freebsd-hackers@FreeBSD.org Subject: Re: vx device broken in 21.1.5? Message-ID: <199609090940.LAA12024@spooky.lss.cp.philips.com> In-Reply-To: <Pine.BSF.3.95.960906114003.4396F-100000@minnow.render.com> from Doug Rabson at "Sep 6, 96 11:45:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote: > On Fri, 6 Sep 1996, Doug Rabson wrote: > > > On Fri, 6 Sep 1996, Guido van Rooij wrote: > > > > > I am getting a very poor performance with a 3c590 card in FreeBSd 2.1.5. > > > When Ftp-ing I get like 600K/sec put performance, but only 10K/sec > > > when getting data. Are there some overrun problems? > > > > There are some problems but I don't know if they are overruns. I have > > been experimenting with some patches based on examining the OpenBSD driver > > with some confusing but promising results. I'll try to come up with a > > patch today. > > Try this patch. I pulled in some code from OpenBSD which detects a > particular overrun hang in this card. This improves the throughput of the > device enourmously. Oddly, the overrun hang which is code detects has > never happened for me. Part of the test is to read the VX_W4_FIFO_DIAG > register; if I reduce the patch to simply reading this register and > discarding the result, I get a similar performance improvement. Since I > have no documentation for the card, I have no idea why this should be the > case. I tried the patch but it doesn't solve part of my problem. It makes things worse. Basically, now I am getting buffer overflows when *putting* out a file with ftp. I checked what happened with a ping -f -s 1000 somenearbyhost and noticed that both the original 2.1.5 driver as well as the one with your patch give `no buffer space available' after some time. But with your patch I am getting them earlier. -Guido
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609090940.LAA12024>