[7096] in linux-scsi channel archive

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

Re: scsi driver transfer size and sync mode

daemon@ATHENA.MIT.EDU (Tony Chung)
Wed Sep 1 15:43:11 1999

Date:   Wed, 01 Sep 1999 12:14:36 -0700
From:   Tony Chung <chungto@ampex.com>
To:     Kai.Makisara@metla.fi
CC:     linux-scsi@vger.rutgers.edu


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

Kai Makisara wrote:

> On Wed, 25 Aug 1999, Tony Chung wrote:
>
> >
> > 1.  Can Linux support single scsi transfer of  at least 1040384 bytes?
>
> Yes. I have written tape blocks of at least 1.5 MB.
>
>

Can you give me some pointers on how this can be done?

From the source tree of 2.2.12, I will modify:

AIC7XXX_MAX_SG  to 254 in drivers/scsi/aic7xxx.c

And I will modify st:buffer_kbs to be 1016 (i.e. 254*4*1024 bytes)
and st:max_sg_segs to 254 also.

bash# /sbin/modinfo -p st
buffer_kbs int
write_threshold_kbs int
max_buffers int
max_sg_segs int

I believe you can set them through /etc/modules.conf.
Is there a way to find out the current parameters values?
Please correct me if this is not the right direction.
Thanks.


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



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

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Kai Makisara wrote:
<blockquote TYPE=CITE>On Wed, 25 Aug 1999, Tony Chung wrote:
<p>>
<br>> 1.&nbsp; Can Linux support single scsi transfer of&nbsp; at least
1040384 bytes?
<p>Yes. I have written tape blocks of at least 1.5 MB.
<br>&nbsp;
<br>&nbsp;</blockquote>
Can you give me some pointers on how this can be done?
<p>From the source tree of 2.2.12, I will modify:
<p>AIC7XXX_MAX_SG&nbsp; to 254 in drivers/scsi/aic7xxx.c
<p>And I will modify st:buffer_kbs to be 1016 (i.e. 254*4*1024 bytes)
<br>and st:max_sg_segs to 254 also.
<p>bash# /sbin/modinfo -p st
<br>buffer_kbs int
<br>write_threshold_kbs int
<br>max_buffers int
<br>max_sg_segs int
<p>I believe you can set them through /etc/modules.conf.
<br>Is there a way to find out the current parameters values?
<br>Please correct me if this is not the right direction.
<br>Thanks.
<br>&nbsp;
<pre>--&nbsp;
=============================
Tony Chung</pre>
&nbsp;</html>

--------------C071B2FAF3572EB233F935CE--


-
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