Re: [PATCH] aic7xxx bouncing over 4G

From: Andrew Morton (akpm@digeo.com)
Date: Sat Dec 28 2002 - 15:18:39 EST


"Justin T. Gibbs" wrote:
>
> > So far, the only bug report I have is from Andrew Morton proving that it
> > still doesn't get it's bounce buffers right.
>
> That hasn't applied since 6.2.10 or so. 2.5.X is still using 6.2.4.
>

2.5.53 is using 6.2.24, and it is bounce buffering highmem I/O. 6.2.4
was OK in this regard.

$ dd if=/dev/zero of=/mnt/sde5/foo bs=1M count=4000
$ oprofpp -l -i /boot/vmlinux

...
c0133010 72 0.175854 bad_range
c0134c44 74 0.180739 __set_page_dirty_nobuffers
c0135a74 79 0.192951 poison_obj
c0136e90 86 0.210048 kmem_cache_alloc
c0196f4c 88 0.214933 ext2_get_branch
c01333a4 89 0.217375 __rmqueue
c01304a4 90 0.219818 unlock_page
c0133658 92 0.224703 buffered_rmqueue
c0130294 95 0.23203 add_to_page_cache
c0131a38 99 0.2418 generic_file_aio_write_nolock
c014ea54 110 0.268666 __find_get_block
c01972d8 136 0.332169 ext2_get_block
c0135aa4 141 0.344381 check_poison_obj
c013b174 1517 3.70515 __blk_queue_bounce <<<<<
c01e9548 2904 7.09279 __copy_from_user
c01089f8 33209 81.1103 poll_idle

  Linux version 2.5.53 (akpm@mnm) (gcc version 2.95.3 20010315 (release)) #178 SMP Sat Dec 28 12:09:10 PST 2002
  3264MB HIGHMEM available.
  896MB LOWMEM available.
...
  highmem bounce pool size: 64 pages
...
  aic7xxx: PCI Device 0:10:0 failed memory mapped test. Using PIO.
  ahc_pci:0:10:0: Host Adapter Bios disabled. Using default SCSI device parameters
  scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.24
          <Adaptec 29160 Ultra160 SCSI adapter>
          aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
  
  (scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
    Vendor: QUANTUM Model: ATLAS IV 9 SCA Rev: 0B0B
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi0:A:1): 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
    Vendor: QUANTUM Model: ATLAS 10K 9SCA Rev: UC81
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi0:A:2): 40.000MB/s transfers (20.000MHz, offset 15, 16bit)
    Vendor: SEAGATE Model: ST19101W Rev: 0014
    Type: Direct-Access ANSI SCSI revision: 02
  (scsi0:A:4): 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
    Vendor: QUANTUM Model: QM39100TD-SCA Rev: N1B0
    Type: Direct-Access ANSI SCSI revision: 02
  scsi scan: host 0 channel 0 id 4 lun 0 identifier too long, length 60, max 50. Device might be improperly identified.
  (scsi0:A:5): 40.000MB/s transfers (20.000MHz, offset 63, 16bit)
    Vendor: FUJITSU Model: MAF3364L SUN36G Rev: 1213
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: ESG-SHV Model: SCA HSBP M4 Rev: 0.63
    Type: Processor ANSI SCSI revision: 02
  scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.24
          <Adaptec aic7880 Ultra SCSI adapter>
          aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
  
  (scsi1:A:0): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Vendor: QUANTUM Model: ATLAS 10K 9SCA Rev: UC81
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi1:A:1): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Vendor: QUANTUM Model: ATLAS 10K 9SCA Rev: UCH0
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi1:A:2): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Vendor: QUANTUM Model: ATLAS 10K 9SCA Rev: UC81
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi1:A:4): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Vendor: QUANTUM Model: ATLAS 10K 9SCA Rev: UCP0
    Type: Direct-Access ANSI SCSI revision: 03
  (scsi1:A:5): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
    Vendor: FUJITSU Model: MAF3364L SUN36G Rev: 1213
    Type: Direct-Access ANSI SCSI revision: 02
    Vendor: ESG-SHV Model: SCA HSBP M4 Rev: 0.63
    Type: Processor ANSI SCSI revision: 02
  SCSI device sda: drive cache: write back
  SCSI device sda: 17942584 512-byte hdwr sectors (9187 MB)
   sda: sda1
  Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
  SCSI device sdb: drive cache: write back
  SCSI device sdb: 17938986 512-byte hdwr sectors (9185 MB)
   sdb: sdb1
  Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
  SCSI device sdc: drive cache: write back
  SCSI device sdc: 17783240 512-byte hdwr sectors (9105 MB)
   sdc: sdc1
  Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
  SCSI device sdd: drive cache: write back
  SCSI device sdd: 17783249 512-byte hdwr sectors (9105 MB)
   sdd: sdd1 < sdd5 >
  Attached scsi disk sdd at scsi0, channel 0, id 4, lun 0
  SCSI device sde: drive cache: write through
  SCSI device sde: 71132959 512-byte hdwr sectors (36420 MB)
   sde: sde1 < sde5 sde6 sde7 >
  Attached scsi disk sde at scsi0, channel 0, id 5, lun 0
  SCSI device sdf: drive cache: write back
  SCSI device sdf: 17938986 512-byte hdwr sectors (9185 MB)
   sdf: sdf1
  Attached scsi disk sdf at scsi1, channel 0, id 0, lun 0
  SCSI device sdg: drive cache: write back
  SCSI device sdg: 17938986 512-byte hdwr sectors (9185 MB)
   sdg: sdg1
  Attached scsi disk sdg at scsi1, channel 0, id 1, lun 0
  SCSI device sdh: drive cache: write back
  SCSI device sdh: 17938986 512-byte hdwr sectors (9185 MB)
   sdh: sdh1
  Attached scsi disk sdh at scsi1, channel 0, id 2, lun 0
  SCSI device sdi: drive cache: write back
  SCSI device sdi: 17938986 512-byte hdwr sectors (9185 MB)
   sdi: sdi1 < sdi5 sdi6 >
  Attached scsi disk sdi at scsi1, channel 0, id 4, lun 0
  SCSI device sdj: drive cache: write through
  SCSI device sdj: 71132959 512-byte hdwr sectors (36420 MB)
   sdj: sdj1 < sdj5 sdj6 >
  Attached scsi disk sdj at scsi1, channel 0, id 5, lun 0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:12 EST