sane-project-website/old-archive/2000-07/0002.html

111 wiersze
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: scsi command queuing</TITLE>
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
<META NAME="Subject" CONTENT="Re: scsi command queuing">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scsi command queuing</H1>
<!-- received="Sat Jul 1 13:28:26 2000" -->
<!-- isoreceived="20000701202826" -->
<!-- sent="Sat, 01 Jul 2000 22:43:21 +0200" -->
<!-- isosent="20000701204321" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: scsi command queuing" -->
<!-- id="395E57E9.D80FA51D@wolfsburg.de" -->
<!-- inreplyto="395D347B.1E05897C@interlog.com" -->
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20scsi%20command%20queuing&In-Reply-To=&lt;395E57E9.D80FA51D@wolfsburg.de&gt;"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
<STRONG>Date:</STRONG> Sat Jul 01 2000 - 13:43:21 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0003.html">Didier Galland: "can't recognize UMAX-VistaS6 on AHA1520b"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0001.html">Norbert Koch: "DC215"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0004.html">abel deuring: "Re: scsi command queuing"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#2">[ date ]</A>
<A HREF="index.html#2">[ thread ]</A>
<A HREF="subject.html#2">[ subject ]</A>
<A HREF="author.html#2">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Douglas Gilbert wrote:
<BR>
<P><EM>&gt;
</EM><BR>
<EM>&gt; Some info on Linux sg buffer sizes. DMA (used by most but not the very low
</EM><BR>
<EM>&gt; end SCSI adapters) requires continuous buffers. [&quot;continuous&quot; seen from the
</EM><BR>
<EM>&gt; PCI/ISA bus.] Linux actively discourages drivers taking big continuous
</EM><BR>
<EM>&gt; buffers. So sg takes 32 KB chunks (controlled by the SG_SCATTER_SZ define
</EM><BR>
<EM>&gt; in sg.h) and builds a scatter gather list. The adapter dictates the maximum
</EM><BR>
<EM>&gt; number of the scatter gather list elements which is further limited to
</EM><BR>
<EM>&gt; 255 elements. So that makes the maximum size of sg's reserve buffer
</EM><BR>
<EM>&gt; (or any single command) just under 8 Megabytes. You can double
</EM><BR>
<EM>&gt; SG_SCATTER_SZ, rebuild sg and perhaps get that number up to just under
</EM><BR>
<EM>&gt; 16 Megabytes.
</EM><BR>
<EM>&gt;
</EM><BR>
<P>Hi Douglas,
<BR>
<P>how large may SG_SCATTER_SZ be made? Are there any limits?
<BR>
What side effects do happen if I increase it to e.g. 128KB ?
<BR>
<P>Bye
<BR>
Oliver
<BR>
<P><P><PRE>
--
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20scsi%20command%20queuing&In-Reply-To=&lt;395E57E9.D80FA51D@wolfsburg.de&gt;">Oliver.Rauch@Wolfsburg.DE</A>
<P><P><P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20scsi%20command%20queuing&In-Reply-To=&lt;395E57E9.D80FA51D@wolfsburg.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0003.html">Didier Galland: "can't recognize UMAX-VistaS6 on AHA1520b"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0001.html">Norbert Koch: "DC215"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0004.html">abel deuring: "Re: scsi command queuing"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#2">[ date ]</A>
<A HREF="index.html#2">[ thread ]</A>
<A HREF="subject.html#2">[ subject ]</A>
<A HREF="author.html#2">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Jul 01 2000 - 13:33:54 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>