kopia lustrzana https://gitlab.com/sane-project/website
120 wiersze
4.3 KiB
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=<395D3ABC.E907A0CB@interlog.com>"><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>>
|
||
|
</EM><BR>
|
||
|
<EM>> Oliver Rauch wrote:
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> > > Well, I think that the sanei_scsi_req_enter / sanei_scsi_req_wait
|
||
|
</EM><BR>
|
||
|
<EM>> > > mechanism should give similar results as command repeating, but the
|
||
|
</EM><BR>
|
||
|
<EM>> > > former is more flexible, because you can also sent some status inquiries
|
||
|
</EM><BR>
|
||
|
<EM>> > > or whatever between to "read data" commands.
|
||
|
</EM><BR>
|
||
|
<EM>> > >
|
||
|
</EM><BR>
|
||
|
<EM>> >
|
||
|
</EM><BR>
|
||
|
<EM>> > Any ideas how we can test if sanei_scsI-req_enter is as fast as multiple reads in
|
||
|
</EM><BR>
|
||
|
<EM>> > the kernel?
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> Difficult question; I don't know, if or how it is possible to issue
|
||
|
</EM><BR>
|
||
|
<EM>> multiple reads for the Linux kernel. But my guess is, that those
|
||
|
</EM><BR>
|
||
|
<EM>> multiple reads would have to be queued just like several SCSI commands
|
||
|
</EM><BR>
|
||
|
<EM>> being sent via sanei_scsi_req_enter and a write to the SG device file.
|
||
|
</EM><BR>
|
||
|
<EM>> (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=<395D3ABC.E907A0CB@interlog.com>">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>
|