sane-project-website/old-archive/2000-11/0258.html

108 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: reaction to a smaller buffer size</TITLE>
<META NAME="Author" CONTENT="Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de)">
<META NAME="Subject" CONTENT="Re: reaction to a smaller buffer size">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: reaction to a smaller buffer size</H1>
<!-- received="Sun Nov 19 10:46:17 2000" -->
<!-- isoreceived="20001119184617" -->
<!-- sent="Sun, 19 Nov 2000 20:01:07 +0100" -->
<!-- isosent="20001119190107" -->
<!-- name="Oliver Neukum" -->
<!-- email="Oliver.Neukum@lrz.uni-muenchen.de" -->
<!-- subject="Re: reaction to a smaller buffer size" -->
<!-- id="00111920010700.00526@ghanima" -->
<!-- inreplyto="3A182EB0.422149CB@satzbau-gmbh.de" -->
<STRONG>From:</STRONG> Oliver Neukum (<A HREF="mailto:Oliver.Neukum@lrz.uni-muenchen.de?Subject=Re:%20reaction%20to%20a%20smaller%20buffer%20size&In-Reply-To=&lt;00111920010700.00526@ghanima&gt;"><EM>Oliver.Neukum@lrz.uni-muenchen.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Nov 19 2000 - 11:01:07 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">Henning Meier-Geinitz: "Re: Excessive Warnings from CVS build"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0256.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0263.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0263.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#258">[ date ]</A>
<A HREF="index.html#258">[ thread ]</A>
<A HREF="subject.html#258">[ subject ]</A>
<A HREF="author.html#258">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
<EM>&gt; Oliver,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; agreed, it is really not likely that we get different amount of memory
</EM><BR>
<EM>&gt; after different open calls. But exactly this can be a problem: Imagine a
</EM><BR>
<EM>&gt; Sane user working on an ooverloaded Linux box, who gets from time to
</EM><BR>
<EM>&gt; time segfaults, and that [s]he can't reproduce this behaviuor reliably.
</EM><BR>
<EM>&gt; How someone get the idea that this behaviour might be caused by a
</EM><BR>
<EM>&gt; changing sanei_scsi_max_request_size?
</EM><BR>
<P>There must be a misunderstanding.
<BR>
<P>There are situations where it's almost _certain_ that the
<BR>
kernel _will_ give out buffers of _different_ sizes.
<BR>
<P>If you have one host adaptor which does scatter/gather and
<BR>
a second host adaptor which does no scatter/gather,
<BR>
the first will result in a buffer of 128K and the second a
<BR>
buffer of 32K.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Regards
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Oliver
<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:%20reaction%20to%20a%20smaller%20buffer%20size&In-Reply-To=&lt;00111920010700.00526@ghanima&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0259.html">Jochen Eisinger: "Re: Patches for saned/net/scanimage/user-authorization...."</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0257.html">Henning Meier-Geinitz: "Re: Excessive Warnings from CVS build"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0256.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0263.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0263.html">abel deuring: "Re: reaction to a smaller buffer size"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#258">[ date ]</A>
<A HREF="index.html#258">[ thread ]</A>
<A HREF="subject.html#258">[ subject ]</A>
<A HREF="author.html#258">[ 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>Sun Nov 19 2000 - 10:47:36 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>