From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,a04a52a13dc9f517,start X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!infeed-3.proxad.net!news18-e.free.fr!not-for-mail Date: Wed, 28 Sep 2005 22:15:32 +0200 From: DEMAINE Benoit-Pierre User-Agent: Debian Thunderbird 1.0.6 (X11/20050802) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha Subject: Slow rates on high performance SCSI devices ... X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/mixed; boundary="------------080605020203050003020306" Message-ID: <433af9e4$0$4356$626a14ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 28 Sep 2005 22:15:33 MEST NNTP-Posting-Host: 82.226.79.213 X-Trace: 1127938533 news18-e.free.fr 4356 82.226.79.213:51577 X-Complaints-To: abuse@proxad.net Xref: g2news1.google.com comp.os.linux.alpha:468 This is a multi-part message in MIME format. --------------080605020203050003020306 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I just installed Stable Sarge on my bi-alpha. I can read (with my eyes) the chip name on the SCSI card: ISP1040B. Problem is that I just bought Ultra-2 drives, and hdparm reports only 14MB/s per drive, and vmstat reports 16MB/s max, when the documentation of the card says it is a 40MB/s. I have readed https://www.redhat.com/archives/axp-list/2001-March/msg00273.html which explains in the LAST TWO PARAGRAPHES why I have so slow rates. QUESTION: did any one improove those rates easily ? how ? comments report: > The pathetic 9 MB/s was not an average rate, but a sustained value. > I repeat that I *doubled* the measured rate just by rebooting the machine. > I then bumped it up to 34 MB/s by a trivial tweaking of the qlogicisp.c > driver in the kernel. but not exactly what to alter ... and dont say either how to read nvram of the SCSI card. I put in order: dmesg lspci 3* hdparm sda (poor 4GB) 3* hdparm sdb (18GB) 3* hdparm sdc (SGI-IBM 18GB) note that sda is on mother board (stupid 10MB card) sdb and sdc are on daughter card, that ought to be 40MB. - why have the small disk better cash rate ? - how to improove sdb and sdc rates ? log is attached. Cheese. -- DEMAINE Benoit-Pierre (aka DoubleHP ) http://www.demaine.info/ \_o< If computing were an exact science, IT engineers would not have work >o_/ --------------080605020203050003020306 Content-Type: text/plain; name="log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="log" Linux version 2.4.27-2-smp (root@bastille) (gcc version 3.3.6 (Debian 1:3.3.6-9)) #1 SMP Wed Aug 31 21:20:05 CEST 2005 Booting GENERIC on Rawhide variation Tincup using machine vector Rawhide from SRM Major Options: SMP LEGACY_START Command line: ro root=/dev/sda3 memcluster 0, usage 1, start 0, end 256 memcluster 1, usage 0, start 256, end 32768 memcluster 2, usage 0, start 65536, end 98304 memcluster 3, usage 0, start 131072, end 163840 memcluster 4, usage 0, start 196608, end 229373 memcluster 5, usage 1, start 229373, end 229376 freeing pages 256:384 freeing pages 816:32768 freeing pages 65536:98304 freeing pages 131072:163840 freeing pages 196608:229373 reserving pages 816:820 Initial ramdisk at: 0xfffffc006fd58000 (1564672 bytes) SMP: 2 CPUs probed -- cpu_present_mask = 3 On node 0 totalpages: 229373 zone(0): 229373 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: ro root=/dev/sda3 mcpcia_init_hoses: found 2 hoses HWRPB cycle frequency bogus. Estimated 532742467 Hz Using epoch = 2000 Turning on RTC interrupts. Console: colour VGA+ 80x25 Calibrating delay loop... 904.36 BogoMIPS Memory: 1019648k/1834984k available (1724k kernel code, 26856k reserved, 655k data, 184k init) Dentry cache hash table entries: 262144 (order: 9, 4194304 bytes) Inode cache hash table entries: 131072 (order: 8, 2097152 bytes) Mount cache hash table entries: 512 (order: 0, 8192 bytes) Buffer cache hash table entries: 131072 (order: 7, 1048576 bytes) Page-cache hash table entries: 262144 (order: 8, 2097152 bytes) POSIX conformance testing by UNIFIX SMP starting up secondaries. Calibrating delay loop... 1376.36 BogoMIPS Bogus BogoMIPS for cpu 1 - trusting boot CPU SMP: Total of 2 processors activated (1808.72 BogoMIPS). Waiting on wait_init_idle (map = 0x2) All processors have done init_idle pci: enabling save/restore of SRM state Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Floppy drive(s): fd0 is 2.88M FDC 0 is a National Semiconductor PC87306 COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP: routing cache hash table of 16384 buckets, 256Kbytes TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 1528 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done. Freeing initrd memory: 1528k freed VFS: Mounted root (cramfs filesystem). Freeing unused kernel memory: 184k freed NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. SCSI subsystem driver Revision: 1.00 sym0: <810> rev 0x2 on pci bus 1 device 1 function 0 irq 56 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.17a blk: queue fffffc006ffa7330, no I/O memory limit Vendor: DEC Model: RRD46 (C) DEC Rev: 1337 Type: CD-ROM ANSI SCSI revision: 02 blk: queue fffffc006ffa7130, no I/O memory limit qlogicisp : new isp1020 revision ID (5) scsi1 : QLogic ISP1020 SCSI on PCI bus 01 device 10 irq 40 MEM base 0xfffffcfb02210000 Vendor: DEC Model: RZ1CB-CS (C) DEC Rev: 0656 Type: Direct-Access ANSI SCSI revision: 02 Vendor: COMPAQ Model: BB01811C9C Rev: 3B05 Type: Direct-Access ANSI SCSI revision: 02 Vendor: SGI Model: IBM DNES-318350Y Rev: SA30 Type: Direct-Access ANSI SCSI revision: 03 Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 Attached scsi disk sdb at scsi1, channel 0, id 2, lun 0 Attached scsi disk sdc at scsi1, channel 0, id 3, lun 0 SCSI device sda: 8380080 512-byte hdwr sectors (4291 MB) Partition check: /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3 p4 p5 p6 p7 SCSI device sdb: 35565080 512-byte hdwr sectors (18209 MB) /dev/scsi/host1/bus0/target2/lun0: unknown partition table SCSI device sdc: 35563040 512-byte hdwr sectors (18208 MB) /dev/scsi/host1/bus0/target3/lun0: unknown partition table Journalled Block Device driver loaded EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will be enabled during recovery. kjournald starting. Commit interval 5 seconds EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. Adding Swap: 223616k swap-space (priority -1) EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal rtc: SRM (post-2000) epoch (2000) detected Real Time Clock Driver v1.10f Attached scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0 sym0:5: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 8) sr0: scsi-1 drive Uniform CD-ROM driver Revision: 3.12 kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,7), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,6), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,4), internal journal EXT3-fs: mounted filesystem with ordered data mode. es1371: version v0.32 time 00:03:55 Sep 1 2005 es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02 es1371: found es1371 rev 2 at io 0x200008800 irq 44 es1371: features: joystick 0x0 ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23) usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xfffffcfb02211000, IRQ 48 usb-ohci.c: usb-01:04.0, OPTi Inc. 82C861 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected hub.c: new USB device 01:04.0-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x46d/0xc00e) is not claimed by any active driver. Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002) tulip0: EEPROM default media type Autosense. tulip0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block. tulip0: MII transceiver #5 config 2100 status 780f advertising 01e1. eth0: Digital DS21140 Tulip rev 34 at 0x8000, 00:00:F8:10:48:36, IRQ 24. usb.c: registered new driver hiddev usb.c: registered new driver hid input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb1:2.0 hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice 0000:00:01.0 Non-VGA unclassified device: Intel Corp. 82375EB/SB PCI to EISA Bridge (rev 15) 0000:00:02.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+] (rev 54) 0000:00:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22) 0000:01:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c810 (rev 02) 0000:01:02.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI (rev 05) 0000:01:03.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02) 0000:01:04.0 USB Controller: OPTi Inc. 82C861 (rev 10) /dev/sda: Timing cached reads: 532 MB in 2.01 seconds = 264.97 MB/sec Timing buffered disk reads: 28 MB in 3.10 seconds = 9.04 MB/sec /dev/sda: Timing cached reads: 528 MB in 2.01 seconds = 262.72 MB/sec Timing buffered disk reads: 28 MB in 3.09 seconds = 9.05 MB/sec /dev/sda: Timing cached reads: 508 MB in 2.01 seconds = 252.89 MB/sec Timing buffered disk reads: 28 MB in 3.09 seconds = 9.05 MB/sec /dev/sdb: Timing cached reads: 568 MB in 2.00 seconds = 283.72 MB/sec Timing buffered disk reads: 50 MB in 3.08 seconds = 16.26 MB/sec /dev/sdb: Timing cached reads: 496 MB in 2.00 seconds = 247.40 MB/sec Timing buffered disk reads: 50 MB in 3.05 seconds = 16.41 MB/sec /dev/sdb: Timing cached reads: 548 MB in 2.00 seconds = 273.73 MB/sec Timing buffered disk reads: 50 MB in 3.10 seconds = 16.14 MB/sec /dev/sdc: Timing cached reads: 548 MB in 2.01 seconds = 272.27 MB/sec Timing buffered disk reads: 48 MB in 3.13 seconds = 15.36 MB/sec /dev/sdc: Timing cached reads: 520 MB in 2.01 seconds = 258.99 MB/sec Timing buffered disk reads: 48 MB in 3.12 seconds = 15.36 MB/sec /dev/sdc: Timing cached reads: 524 MB in 2.01 seconds = 260.47 MB/sec Timing buffered disk reads: 48 MB in 3.12 seconds = 15.37 MB/sec --------------080605020203050003020306--