sane-project-website/old-archive/2000-06/0240.html

120 wiersze
4.3 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="Douglas Gilbert (dgilbert@interlog.com)">
<META NAME="Subject" CONTENT="Re: scsi command queuing">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scsi command queuing</H1>
<!-- received="Fri Jun 30 17:10:37 2000" -->
<!-- isoreceived="20000701001037" -->
<!-- sent="Fri, 30 Jun 2000 20:26:36 -0400" -->
<!-- isosent="20000701002636" -->
<!-- name="Douglas Gilbert" -->
<!-- email="dgilbert@interlog.com" -->
<!-- subject="Re: scsi command queuing" -->
<!-- id="395D3ABC.E907A0CB@interlog.com" -->
<!-- inreplyto="395C94CB.2E156E92@satzbau-gmbh.de" -->
<STRONG>From:</STRONG> Douglas Gilbert (<A HREF="mailto:dgilbert@interlog.com?Subject=Re:%20scsi%20command%20queuing&In-Reply-To=&lt;395D3ABC.E907A0CB@interlog.com&gt;"><EM>dgilbert@interlog.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jun 30 2000 - 17:26:36 PDT
<P>
<!-- next="start" -->
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0239.html">Douglas Gilbert: "Re: scsi command queuing"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0225.html">abel deuring: "Re: scsi command queuing"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0233.html">Henning Meier-Geinitz: "Re: scsi command queuing"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#240">[ date ]</A>
<A HREF="index.html#240">[ thread ]</A>
<A HREF="subject.html#240">[ subject ]</A>
<A HREF="author.html#240">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
abel deuring wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Oliver Rauch wrote:
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; &gt; &gt; Well, I think that the sanei_scsi_req_enter / sanei_scsi_req_wait
</EM><BR>
<EM>&gt; &gt; &gt; mechanism should give similar results as command repeating, but the
</EM><BR>
<EM>&gt; &gt; &gt; former is more flexible, because you can also sent some status inquiries
</EM><BR>
<EM>&gt; &gt; &gt; or whatever between to &quot;read data&quot; commands.
</EM><BR>
<EM>&gt; &gt; &gt;
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Any ideas how we can test if sanei_scsI-req_enter is as fast as multiple reads in
</EM><BR>
<EM>&gt; &gt; the kernel?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Difficult question; I don't know, if or how it is possible to issue
</EM><BR>
<EM>&gt; multiple reads for the Linux kernel. But my guess is, that those
</EM><BR>
<EM>&gt; multiple reads would have to be queued just like several SCSI commands
</EM><BR>
<EM>&gt; being sent via sanei_scsi_req_enter and a write to the SG device file.
</EM><BR>
<EM>&gt; (Douglas, any comments?)
</EM><BR>
<P>Queuing up commands to a scanner that doesn't support tagged queuing
<BR>
will cause those commands to be queued in the SCSI adapter driver
<BR>
(or its silicon). In this case the only benefit to doing this is
<BR>
lower latency for sending out the following command. Testing which
<BR>
technique is better (other than the gross metric of scan time)
<BR>
is a bit difficult.
<BR>
<P>Doug Gilbert
<BR>
<P><PRE>
--
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;395D3ABC.E907A0CB@interlog.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Previous message:</STRONG> <A HREF="0239.html">Douglas Gilbert: "Re: scsi command queuing"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0225.html">abel deuring: "Re: scsi command queuing"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0233.html">Henning Meier-Geinitz: "Re: scsi command queuing"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#240">[ date ]</A>
<A HREF="index.html#240">[ thread ]</A>
<A HREF="subject.html#240">[ subject ]</A>
<A HREF="author.html#240">[ 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>Fri Jun 30 2000 - 17:12:06 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>