Tony Chung wrote:
> 
> 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

Please note that I am not *ever* inclined to include such a wasteful change
into my driver.  Furthermore, you need to also change the code in
aic7xxx_alloc_scb() to go along with this change (or at least verify that
allocation sizes are still reasonable).

I'm in complete agreement with Gerard Roudier that any piece of hardware that
needs this kind of change to work efficiently is in need of a good firmware
author to get things fixed in the hardware, which is where the obvious problem
is.

> 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
> 
> 

-- 
  Doug Ledford   <[EMAIL PROTECTED]>
   Opinions expressed are my own, but
      they should be everybody's.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to