[7459] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: SG_BIG_BUFF change?

daemon@ATHENA.MIT.EDU (Tony Chung)
Fri Oct 29 23:07:38 1999

Message-ID: <381A2751.DF6E45EF@ampex.com>
Date:   Fri, 29 Oct 1999 16:01:39 -0700
From:   Tony Chung <chungto@ampex.com>
MIME-Version: 1.0
To:     "casler, heather" <casler_heather@emc.com>
CC:     "'redhat-list'" <redhat-list@redhat.com>,
        "'linux-kernel'" <linux-kernel@vger.rutgers.edu>,
        "'linux-scsi'" <linux-scsi@vger.rutgers.edu>
Content-Type: multipart/alternative;
 boundary="------------7609C2F2764F82D07E16E59B"


--------------7609C2F2764F82D07E16E59B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



I inserted these two lines in   /etc/conf.modules:
                 keep
                 options st buffer_kbs=1024 max_sg_segs=128

and get 1MB buffer. You do not even need to rebuild the kernel but simply
reboot!

"casler, heather" wrote:

> Hi Folks,
> I am hoping someone can help me out.  I am trying to change the value of the
> SG_BIG_BUFF in /usr/include/scsi/sg.h to something greater than 32768
> (preferably 131072).  I've fully recompiled the kernel (make dep; make clean
> install modules modules_install) on v2.2.9, v2.2.9, and v2.2.5, rebooted and
> the cat /proc/sys/kernel/sg-big-buff value still says 32768.
> How can I change this value and make it show up to what I changed it to?
> TIA!
> Heather
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu

--
=============================
Tony Chung



--------------7609C2F2764F82D07E16E59B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<p>I inserted these two lines in&nbsp;&nbsp; /etc/conf.modules:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
keep
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
options st buffer_kbs=1024 max_sg_segs=128
<br>&nbsp;
<br>and get 1MB buffer. You do not even need to rebuild the kernel but
simply reboot!
<p>"casler, heather" wrote:
<blockquote TYPE=CITE>Hi Folks,
<br>I am hoping someone can help me out.&nbsp; I am trying to change the
value of the
<br>SG_BIG_BUFF in /usr/include/scsi/sg.h to something greater than 32768
<br>(preferably 131072).&nbsp; I've fully recompiled the kernel (make dep;
make clean
<br>install modules modules_install) on v2.2.9, v2.2.9, and v2.2.5, rebooted
and
<br>the cat /proc/sys/kernel/sg-big-buff value still says 32768.
<br>How can I change this value and make it show up to what I changed it
to?
<br>TIA!
<br>Heather
<p>-
<br>To unsubscribe from this list: send the line "unsubscribe linux-scsi"
in
<br>the body of a message to majordomo@vger.rutgers.edu</blockquote>

<pre>--&nbsp;
=============================
Tony Chung</pre>
&nbsp;</html>

--------------7609C2F2764F82D07E16E59B--


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post