kopia lustrzana https://gitlab.com/sane-project/website
133 wiersze
5.4 KiB
HTML
133 wiersze
5.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: What's the status of sanei-thread?</TITLE>
|
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@rauch-domain.de)">
|
|
<META NAME="Subject" CONTENT="Re: What's the status of sanei-thread?">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: What's the status of sanei-thread?</H1>
|
|
<!-- received="Tue Jul 3 05:45:41 2001" -->
|
|
<!-- isoreceived="20010703124541" -->
|
|
<!-- sent="Tue, 03 Jul 2001 14:49:30 +0200" -->
|
|
<!-- isosent="20010703124930" -->
|
|
<!-- name="Oliver Rauch" -->
|
|
<!-- email="oliver.rauch@rauch-domain.de" -->
|
|
<!-- subject="Re: What's the status of sanei-thread?" -->
|
|
<!-- id="3B41BF5A.86147B44@rauch-domain.de" -->
|
|
<!-- inreplyto="20010702213529.A21048@khk.net" -->
|
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@rauch-domain.de?Subject=Re:%20What's%20the%20status%20of%20sanei-thread?&In-Reply-To=<3B41BF5A.86147B44@rauch-domain.de>"><EM>oliver.rauch@rauch-domain.de</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Tue Jul 03 2001 - 05:49:30 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0041.html">Sönke Ruempler: "highscreen highscan"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0039.html">Oliver Rauch: "Re: Need help building a new SANE driver"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0031.html">Karl Heinz Kremer: "Re: What's the status of sanei-thread?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0045.html">Mick Barry: "Re: What's the status of sanei-thread?"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0032.html">Marcio Luis Teixeira: "Need help building a new SANE driver"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0045.html">Mick Barry: "Re: What's the status of sanei-thread?"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#40">[ date ]</A>
|
|
<A HREF="index.html#40">[ thread ]</A>
|
|
<A HREF="subject.html#40">[ subject ]</A>
|
|
<A HREF="author.html#40">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Karl Heinz Kremer wrote:
|
|
<BR>
|
|
<P><EM>> Pipes are not the only IPC mechanism. Shared memory would probably be
|
|
</EM><BR>
|
|
<EM>> a lot faster. This of course may open up a totally different can of
|
|
</EM><BR>
|
|
<EM>> incompatibility worms.
|
|
</EM><BR>
|
|
<P>I did some tests with pipes and shared memory between reader_process
|
|
<BR>
|
|
and sane_read. With a AMD K6-2/400 you do not get any differences
|
|
<BR>
|
|
in scanning speed. Large images (Transer rates over about 1MB/sec (if
|
|
<BR>
|
|
I remember right) did make problems with both IPC mechanisms.
|
|
<BR>
|
|
<P>I did not continue to work on the shared memory routines
|
|
<BR>
|
|
because the advantage is small compared to the problems you get with
|
|
<BR>
|
|
it.
|
|
<BR>
|
|
|
|
<BR>
|
|
<EM>> Do you have any comparison data between a non-threaded and the threaded
|
|
</EM><BR>
|
|
<EM>> approach?
|
|
</EM><BR>
|
|
No. But threads make a lot of problems:
|
|
<BR>
|
|
1) compatibility
|
|
<BR>
|
|
2) no forks are allowed.
|
|
<BR>
|
|
<P><EM>>
|
|
</EM><BR>
|
|
<EM>> What was the original idea behind implementing the second process in
|
|
</EM><BR>
|
|
<EM>> some of the backends?
|
|
</EM><BR>
|
|
<P>The idea is to make the data flow between scanner and backend
|
|
<BR>
|
|
independant from the data flow between backend and frontend.
|
|
<BR>
|
|
<P>But this also can be done by intelligent scsi command handling
|
|
<BR>
|
|
and may be also by good usb command handling.
|
|
<BR>
|
|
<P>Bye
|
|
<BR>
|
|
Oliver
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Homepage: <A HREF="http://www.rauch-domain.de">http://www.rauch-domain.de</A>
|
|
sane-umax: <A HREF="http://www.rauch-domain.de/sane-umax">http://www.rauch-domain.de/sane-umax</A>
|
|
xsane: <A HREF="http://www.xsane.org">http://www.xsane.org</A>
|
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@rauch-domain.de?Subject=Re:%20What's%20the%20status%20of%20sanei-thread?&In-Reply-To=<3B41BF5A.86147B44@rauch-domain.de>">Oliver.Rauch@rauch-domain.de</A>
|
|
<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:%20What's%20the%20status%20of%20sanei-thread?&In-Reply-To=<3B41BF5A.86147B44@rauch-domain.de>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0041.html">Sönke Ruempler: "highscreen highscan"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0039.html">Oliver Rauch: "Re: Need help building a new SANE driver"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0031.html">Karl Heinz Kremer: "Re: What's the status of sanei-thread?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0045.html">Mick Barry: "Re: What's the status of sanei-thread?"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0032.html">Marcio Luis Teixeira: "Need help building a new SANE driver"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0045.html">Mick Barry: "Re: What's the status of sanei-thread?"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#40">[ date ]</A>
|
|
<A HREF="index.html#40">[ thread ]</A>
|
|
<A HREF="subject.html#40">[ subject ]</A>
|
|
<A HREF="author.html#40">[ 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>Tue Jul 03 2001 - 05:49:26 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|