Re: Mustek,

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Sun, 5 Apr 1998 11:16:57 +0200 (MET DST)

David Mosberger-Tang wrote:
> On a related topic: if you track kernel-development, you'll notice
> that linux 2.1.92 has support for determining the kernel's SG_BIG_BUFF
> value by reading /proc/sys/kernel/sg-big-buff. I added code to SANE
> to make use of this info when it exists. What's missing in the kernel
> is the ability to resize the big buffer on demand. For example, it
> would be nice if it were possible to do:
>
> echo 1048576 >/proc/sys/kernel/sg-big-buff
>
> and the big buffer from then on would be 1MB. I know some of you have
> played with huge SCSI buffers. Anyone interested in folding this
> feature into the official kernel sources? I think it would be a very
> cool feature that would make using SANE a lot easier.

Yes, I use a buffer this large, but the problem is to allocate such a
large buffer on a running system. All I've been able to do is to
allocate it at "boot time".

What would be do-able is to take matt welsh's bigphysarea patches and
get it into the standard kernel. Then you can allocate a bigphysarea
when available, and a normal allocation fails.

Roger.

-- 
If it's there and you can see it, it's REAL      |___R.E.Wolff@BitWizard.nl  |
If it's there and you can't see it, it's TRANSPARENT |  Tel: +31-15-2137555  |
If it's not there and you can see it, it's VIRTUAL   |__FAX:_+31-15-2138217  |
If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983  |_____|

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com