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

128 wiersze
4.6 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="abel deuring (a.deuring@satzbau-gmbh.de)">
<META NAME="Subject" CONTENT="Re: scsi command queuing">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: scsi command queuing</H1>
<!-- received="Mon Jul 3 09:27:38 2000" -->
<!-- isoreceived="20000703162738" -->
<!-- sent="Mon, 03 Jul 2000 18:40:23 +0200" -->
<!-- isosent="20000703164023" -->
<!-- name="abel deuring" -->
<!-- email="a.deuring@satzbau-gmbh.de" -->
<!-- subject="Re: scsi command queuing" -->
<!-- id="3960C1F6.C564F401@satzbau-gmbh.de" -->
<!-- inreplyto="20000630202050.A7755@hmg1.vortex.swb.de" -->
<STRONG>From:</STRONG> abel deuring (<A HREF="mailto:a.deuring@satzbau-gmbh.de?Subject=Re:%20scsi%20command%20queuing&In-Reply-To=&lt;3960C1F6.C564F401@satzbau-gmbh.de&gt;"><EM>a.deuring@satzbau-gmbh.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Jul 03 2000 - 09:40:23 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0016.html">Dr. Ing. Dieter Jurzitza: "FW: AGGA SNAPSCAN / Polaroid Sprint Scan 35/LE"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0014.html">Avi Schwartz: "Bug report"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#15">[ date ]</A>
<A HREF="index.html#15">[ thread ]</A>
<A HREF="subject.html#15">[ subject ]</A>
<A HREF="author.html#15">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Henning Meier-Geinitz wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Thu, Jun 29, 2000 at 02:14:25PM +0200, abel deuring wrote:
</EM><BR>
<EM>&gt; &gt; &gt; Same here. I looked at the scanning times when the backend does nothing but
</EM><BR>
<EM>&gt; &gt; &gt; getting data from the scanner and ignoring it. There was no big change in
</EM><BR>
<EM>&gt; &gt; &gt; scanning time (about 5 %). With the original SCSI adapter the Mustek
</EM><BR>
<EM>&gt; &gt; &gt; scanners are about twice as slow as with Windows despite large (4 MB) SCSI
</EM><BR>
<EM>&gt; &gt; &gt; buffers and tweaking the Linux SCSI driver.
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; Which adapter is shipped with the Mustek? And do other adpaters work
</EM><BR>
<EM>&gt; &gt; better?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; DTC-3181 or 53C400A. No interrupt (at least with Linux). The driver
</EM><BR>
<EM>&gt; (g_NCR5380) blocks the whole system while waiting for a request. With some
</EM><BR>
<EM>&gt; tricks (inserting usleeps) the driver is usable but gets slower. With the
</EM><BR>
<EM>&gt; standard 128 MB SCSI buffer size scanning in high resolution is about 10
</EM><BR>
<EM>&gt; times slower than with Windows because of backtracking after each read. With
</EM><BR>
<EM>&gt; larger buffersizes I can go up to 2 times slower than windows.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; With a different SCSI host adapter (Adaptec 2940 or NCR 810 clone) it's
</EM><BR>
<EM>&gt; better and the scan performance is about the same as with Windows in most
</EM><BR>
<EM>&gt; (but not all) situations.
</EM><BR>
<P>Henning,
<BR>
<P>I think this simply shows that a SCSI adapter or driver, which don't
<BR>
support interrupts or DMA, are not very suitable for a real multitasking
<BR>
OS like Linux. I even don't expect that it is possible under Windows to
<BR>
really run another program while such a cheap SCSI adapter is working.
<BR>
<P>Abel
<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;3960C1F6.C564F401@satzbau-gmbh.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0016.html">Dr. Ing. Dieter Jurzitza: "FW: AGGA SNAPSCAN / Polaroid Sprint Scan 35/LE"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0014.html">Avi Schwartz: "Bug report"</A>
<!-- nextthread="start" -->
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#15">[ date ]</A>
<A HREF="index.html#15">[ thread ]</A>
<A HREF="subject.html#15">[ subject ]</A>
<A HREF="author.html#15">[ 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>Mon Jul 03 2000 - 09:29:07 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>