Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 1999 10:19:06 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        "Justin T. Gibbs" <gibbs@FreeBSD.ORG>
Cc:        scsi@FreeBSD.ORG
Subject:   bounce buffers (was Re: Tape driver problems)
Message-ID:  <Pine.BSF.4.05.9912031013460.12054-100000@semuta.feral.com>
In-Reply-To: <199912031712.KAA00529@caspian.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> >> The bounce buffering code doesn't perform coalessing of data yet because
> >> I never found an algorithm I liked for it.  The NetBSD approach of
> >> making the bounce buffer 64K big and copying the whole thing if any
> >> portion needs to be bounced doesn't appeal to me (it doesn't scale
> >> well and consumes much too much memory).
> >
> >You pay for what you get. If you are really still using ISADMA mass
> >storage, blow 128k or MAXPHYS already.. IMO...
> 
> We do, but we allocate and dole it out as individual pages.  NetBSD allocates
> MAXPHYS per possible transaction on each card which turns out to be 1MB of
> < 16MB memory per card.  This doesn't scale.

It's not important that ISADMA scales. If somebody wants to put 4 1542s in
a system, they can pay a lot for the privilege of not buying 2940s.

Still, it needn't be per card. It can be per-system and it's not for wired
down usage (or you could add a flag for wired down usage).

-matt




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9912031013460.12054-100000>