public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* ips.c bounce buffer problems
@ 2003-01-20  6:20 j+scsi
  0 siblings, 0 replies; only message in thread
From: j+scsi @ 2003-01-20  6:20 UTC (permalink / raw)
  To: Linux SCSI mailing list
  Cc: Peter Wong (IBM), Sandra Johnson (IBM), Rob Mueller

Hi all,

I've been trying to improve the performance of the ips.c driver in
2.4.20, along with other general IO improvements. The IBM guys have done
some work on this in the Sourceforge LSE project, but it's all for old
kernels and none of the patches apply cleanly.

For starters, I'd like to turn on highmem_io in ips.h. In doing so I
always get a kernel error dereferencing an invalid pointer when trying to
load the SCSI subsystem. Details:
 - IBM x235 6GB RAM
 - ServeRaid 5i
 - Linux 2.4.20 standard tree and -aa trees tested
 - Config PAE mode to utilise >4GB RAM

Now, ips.h doesn't define highmem_io, and in looking over the archives I
see some attempts to get this included:
  http://www.uwsg.iu.edu/hypermail/linux/kernel/0202.2/0311.html

The ips.c in 2.4.20 includes the VIRT_TO_BUS patches from there, but it
doesn't include:
+ pci_set_dma_mask(dev[i], (u64) 0xffffffff);
+
+ scsi_set_pci_device(sh, dev[i]); 

It also never apparently calls pci_unmap_sg(), even although that was in
the patch sent to LKML.

Adding these two things in doesn't fix the kernel error I mentioned.

Has anyone got highmem_io working with ips.c in 2.4.20? Any pointers to
patches?

Also, Peter Wong (cc'd) reports good results with Jonathan Lahr's
io_request_lock patch:
http://groups.google.com/groups?selm=OFE708D02D.C1935D57-ON85256C1D.006DDF9E%40pok.ibm.com

The version of this at http://www.sf.net/projects/lse does not compile
cleanly under 2.4.20 and the code has changed enough that I can't work
out how to integrate it.

Has anyone got this patch integrated with 2.4.20?

In general, can anyone provide tips on getting good performance from
ServeRaid 5i under Linux 2.4.20?

TIA,
  Jeremy
  http://FastMail.FM

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-20  6:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-20  6:20 ips.c bounce buffer problems j+scsi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox