From owner-freebsd-scsi Thu Dec 2 22:31:53 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from mass.cdrom.com (mass.cdrom.com [204.216.28.184]) by hub.freebsd.org (Postfix) with ESMTP id 4B3D414D2A; Thu, 2 Dec 1999 22:31:51 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Received: from mass.cdrom.com (localhost [127.0.0.1]) by mass.cdrom.com (8.9.3/8.9.3) with ESMTP id WAA05573; Thu, 2 Dec 1999 22:32:36 -0800 (PST) (envelope-from msmith@mass.cdrom.com) Message-Id: <199912030632.WAA05573@mass.cdrom.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: mjacob@feral.com Cc: Stephen McKay , Mike Smith , freebsd-scsi@FreeBSD.ORG Subject: Re: Tape driver problems In-reply-to: Your message of "Thu, 02 Dec 1999 22:17:51 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 02 Dec 1999 22:32:36 -0800 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > On Thursday, 2nd December 1999, Mike Smith wrote: > > > > >Either the aha code needs to be fixed to allow more s/g entries, or the > > >bounce buffer code needs to be fixed to allocate things in larger chunks > > >and thus keep fragmentation down, or we should just abandon these useless > > >10-year-old ISA SCSI controllers and worry about more useful things. 8) > > > > Well, I'm for changing the buffer code or the aha code, whichever makes > > the most sense at the time. Unfortunately I don't know that bit of the > > kernel yet. But I will eventually work it out because I have too many old > > ISA SCSI cards to take you up on your last suggestion. > > See other mail. I still believe that the AHA driver should work better, > but it's a low priority item now. This particular issue is a defect in the bounce-buffering code; the 1542 is limited to 16 or maybe 17 s/g entries. (We allow 17, the Linux driver stops at 16.) This isn't an issue for most things until you get up near 64k, where fragmentation lets you run out of page-sized entries. I'm not sure how best we could work around this without clustering pages in bounce-buffer memory. If you've got any neat ideas I'll happily file them for next time someone goes looking at that code. -- \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message