From owner-freebsd-scsi Tue Aug 24 0:30:32 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from db.geocrawler.com (db.gotocity.com [165.90.140.10]) by hub.freebsd.org (Postfix) with ESMTP id 24D1A14CA5 for ; Tue, 24 Aug 1999 00:30:27 -0700 (PDT) (envelope-from nobody@db.geocrawler.com) Received: (from nobody@localhost) by db.geocrawler.com (8.8.8/8.8.8) id CAA14695; Tue, 24 Aug 1999 02:27:44 -0500 Date: Tue, 24 Aug 1999 02:27:44 -0500 Message-Id: <199908240727.CAA14695@db.geocrawler.com> To: freebsd-scsi@freebsd.org Subject: The I/O is too slow than linux From: "Geocrawler.com" Reply-To: "liudong" Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message was sent from Geocrawler.com by "liudong" Be sure to reply to that address. some of dmesg output: ..... ahc0: aic7896/97 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc1: rev 0x00 int a irq 19 on pci0.12.1 ahc1: aic7896/97 Wide Channel B, SCSI Id=7, 16/255 SCBs ...... Waiting 5 seconds for SCSI devices to settle pass4 at ahc1 bus 0 target 6 lun 0 pass4: Fixed Processor SCSI-2 device pass4: 3.300MB/s transfers da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da0: 17501MB (35843520 512 byte sectors: 255H 63S/T 2231C) da1 at ahc0 bus 0 target 0 lun 1 da1: Fixed Direct Access SCSI-2 device da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da1: 35003MB (71687040 512 byte sectors: 255H 63S/T 4462C) da2 at ahc0 bus 0 target 0 lun 2 da2: Fixed Direct Access SCSI-2 device da2: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled da2: 17501MB (35843520 512 byte sectors: 255H 63S/T 2231C) changing root device to da0s1a da3 at ahc1 bus 0 target 1 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) ffs_mountfs: superblock updated for soft updates ffs_mountfs: superblock updated for soft updates then run ... # time dd if=/dev/da0 of=/dev/null count=200000 200000+0 records in 200000+0 records out 102400000 bytes transferred in 36.852771 secs (2778624 bytes/sec) real 0m36.911s user 0m0.372s sys 0m5.982s The same computer in linux(2.2.5): # time dd if=/dev/sda of=/dev/null count=200000 200000+0 records in 200000+0 records out 0.52user 2.29system 0:09.05elapsed 31%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (89major+13minor)pagefaults 0swaps What is the problem!!?? Geocrawler.com - The Knowledge Archive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message