⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 whatsnew-jan13,1999

📁 Linux磁盘测试的源代码,测试磁盘的读写性能
💻
📖 第 1 页 / 共 3 页
字号:
January 13, 1998 Robin Miller	The following changes have been made to 'dt' Version 11.2:     o	Support for tape Extended Error Information (EEI) and SCSI bus	or device reset recovery has been added (to reposition the tape).	The EEI support is enabled by default, but the reset support is	disabled by default (to avoid breaking existing test scripts).	The reset option can also be used w/POSIX Asynchronous I/O (AIO).	NOTE: EEI support is Digital UNIX specific (MTIOCGET extension).	[ Use the "enable/disable={eei,resets}" option to control these. ]     o	The logical block data feature, "enable=lbdata" option, has been	extended so it can be used with random I/O, "iotype=random" option.	What is 'lbdata' option?	'lbdata' places the block number in the 1st 4 bytes of each block,        which gets verified during the read pass.  In the case of disks,	the lbdata is stored in each sector, normally every 512 bytes.	This uniqueness works well for random I/O with overwrites, but	works equally well for any data stream (it's not device specific).     o	Two new options were added for better range control of random I/O.	The "ralign=value" option forces block alignment to a byte offset.	For example, "ralign=32b" aligns each random request to 32 blocks.	The "rlimit=value" option contols the upper random I/O data limit.	If rlimit isn't specified, it defaults to the data limit, or to the	entire disk if no limits are specified.     o	Changes to cluster DLM code were merged from work by George Bittner.	George also enhanced the random I/O code so the random number is	taken as a block, rather than a byte offset, which provides better	randomness for large disks or files. (Thanks George!)     o	Other changes and/or bug fixes:	- When specifying a runtime, ensure we break out of the passes loop	  if we exceed the error limit.  Previously, we'd loop (possibly with	  error) for the duration of runtime.	- Fix incorrect record number displayed when Debug is enabled.	- Don't exit read/write loops when processing partial records.	- Fix problem in write function, where short write processing,	  caused us not to write sufficent data bytes (actually, the	  file loop in write_file() caused dtaio_write_data() to be	  called again, and we'd actually end up writing too much!	- When random I/O and lbdata options are both enabled, use the	  file offset seeked to as the starting lbdata address.	- Fix problem reporting total files processed count when we have	  not completed a pass (exiting prematurely due to error or signal).     o	'dt' compiles and runs on MS Windows 95/98/NT using Cygwin tools.	Use Makefile.win32 for compiling on Windows.	[ a.k.a. GNU-Win32, URL: http://sourceware.cygnus.com/cygwin/ ]     o	When directing output to a log file, "log=LogFile" option, the	command line and version string are also emitted.  Example:Command Line:    % dt of=/dev/rmt0h bs=64k limit=10m aios=16 files=2 enable=lbdata,resets log=resets.log 	--> Date: January 13, 1999, Version: 11.2, Author: Robin T. Miller <--	The latest version of 'dt' is available on our production machinesin the following account or from my web page, shown below:		Location: wasted:~rmiller/dt.d/{dt,dt-steelos,dt-Wave4}				or via		URL: http://www.zk3.dec.com/~rmiller/dt.htmlCheers,Robin================================================================================% dt of=/dev/rrz1b position=10b bs=32b records=3 enable=Debug,lbdata iotype=random ralign=32bdt: Attempting to open output file '/dev/rrz1b', mode = 01...dt: Output file '/dev/rrz1b' successfully opened, fd = 3dt: Random data limit set to 205520896 bytes (196.000 Mbytes), 401408 blocks...dt: Allocated buffer at address 0x140028000 of 16388 bytes, using offset 0dt: Current file offset is 5120 (0x1400)dt: Seeking to random block 211488 at byte position 108281856...dt: Record #1, writing 16384 bytes from buffer at address 0x140028000...dt: Seeking to random block 310336 at byte position 158892032...dt: Record #2, writing 16384 bytes from buffer at address 0x140028000...dt: Seeking to random block 346144 at byte position 177225728...dt: Record #3, writing 16384 bytes from buffer at address 0x140028000...Write Statistics:     Total records processed: 3 @ 16384 bytes/record (16.000 Kbytes)     Total bytes transferred: 49152 (48.000 Kbytes, 0.047 Mbytes)      Average transfer rates: 2949120 bytes/sec, 2880.000 Kbytes/sec     Number I/O's per second: 180.000      Total passes completed: 0/1       Total errors detected: 0/1          Total elapsed time: 00m00.01s           Total system time: 00m00.00s             Total user time: 00m00.00sdt: Closing file '/dev/rrz1b', fd = 3...dt: Attemping to reopen file '/dev/rrz1b', mode = 00...dt: File '/dev/rrz1b' successfully reopened, fd = 3dt: Current file offset is 5120 (0x1400)dt: Seeking to random block 211488 at byte position 108281856...dt: Record #1, Reading 16384 bytes into buffer at address 0x140028000...dt: Seeking to random block 310336 at byte position 158892032...dt: Record #2, Reading 16384 bytes into buffer at address 0x140028000...dt: Seeking to random block 346144 at byte position 177225728...dt: Record #3, Reading 16384 bytes into buffer at address 0x140028000...Read Statistics:     Total records processed: 3 @ 16384 bytes/record (16.000 Kbytes)     Total bytes transferred: 49152 (48.000 Kbytes, 0.047 Mbytes)      Average transfer rates: 1474560 bytes/sec, 1440.000 Kbytes/sec     Number I/O's per second: 90.000      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m00.03s           Total system time: 00m00.00s             Total user time: 00m00.00sdt: Closing file '/dev/rrz1b', fd = 3...Total Statistics:     Output device/file name: /dev/rrz1b (Device: RZ28D, type=disk)   Data pattern read/written: 0x39c39c39     Total records processed: 6 @ 16384 bytes/record (16.000 Kbytes)     Total bytes transferred: 98304 (96.000 Kbytes, 0.094 Mbytes)      Average transfer rates: 1474560 bytes/sec, 1440.000 Kbytes/sec     Number I/O's per second: 90.000      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m00.06s           Total system time: 00m00.00s             Total user time: 00m00.00s               Starting time: Wed Dec 16 14:17:50 1998                 Ending time: Wed Dec 16 14:17:50 1998% ================================================================================Command Line:    % dt of=/dev/rmt0h bs=64k limit=10m aios=16 files=2 enable=lbdata,debug,resets log=resets.log 	--> Date: January 13, 1999, Version: 11.2, Author: Robin T. Miller <--dt: Attempting to open output file '/dev/rmt0h', open flags = 01...dt: Output file '/dev/rmt0h' successfully opened, fd = 3dt: Clearing EEI data...DEVIOGET ELEMENT	CONTENTS----------------	--------category		DEV_TAPEbus			DEV_SCSIinterface		SCSIdevice			TLZ7adpt_num		0nexus_num		0bus_num			0ctlr_num		0slave_num		3dev_name		tzunit_num		3soft_count		0hard_count		72stat			0x1			DEV_BOM category_stat		0x20400			DEV_LOADER DEV_61000_BPIDEVGETINFO ELEMENT      CONTENTS------------------      --------media_status            0x10001                        BOM POS_VALID unit_status             0x1a9                        Ready Loader 2_FM_Close Rewind Compacting Buffered record_size             0density (current)       61000 BPIdensity (on write)      0 BPIFilemark Cnt            0Record Cnt              0Class                   0 - <unspecified>MTIOCGET ELEMENT	CONTENTS----------------	--------mt_type			MT_ISSCSImt_dsreg		0x1			DEV_BOM mt_erreg		0x6 (UNIT ATTENTION - Medium changed or target reset)mt_resid		0mt_fileno		0 mt_blkno		0 CAM Extended Error Information:                       EEI Version: 0x2                        EEI Status: EEI_DEVPATH_RESET (0x6400) - Device/bus reset occured                   EEI Valid Flags: 0x1000007 - CAM_STATUS SCSI_STATUS SCSI_SENSE CAM_DATA                        CAM Status: CAM_REQ_CMP_ERR (0x4) - CCB request completed with an error                       SCSI Status: SCSI_STAT_CHECK_CONDITION (0x2) - Error, exception, or abnormal conditionSCSI Request Sense Information:                        Error Code: 0x70 (Current Error)                         Valid Bit: 0                    Segment Number: 0                         Sense Key: 0x6 (UNIT ATTENTION - Medium changed or target reset)                    Illegal Length: 0                      End Of Media: 0                         File Mark: 0                 Information Field: 0           Additional Sense Length: 0xa      Command Specific Information: 0   Additional Sense Code/Qualifier: (0x29, 0) = Power on, reset, or bus device reset occurred       Field Replaceable Unit Code: 0              Sense Specific Bytes: 00 00 00 dt: Allocated buffer at address 0x14002c000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x14003e000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140050000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140062000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140074000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140086000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140098000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x1400aa000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x1400bc000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x1400ce000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x1400e0000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x1400f2000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140104000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140116000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x140128000 of 65540 bytes, using offset 0dt: Allocated buffer at address 0x14013a000 of 65540 bytes, using offset 0dt: Processing reset condition (EEI_DEVBIO_FAILURE) - file 0, record 132DEVIOGET ELEMENT	CONTENTS----------------	--------category		DEV_TAPEbus			DEV_SCSIinterface		SCSIdevice			TLZ7adpt_num		0nexus_num		0bus_num			0ctlr_num		0slave_num		3dev_name		tzunit_num		3soft_count		0hard_count		72stat			0x20			DEV_WRITTEN category_stat		0x20400			DEV_LOADER DEV_61000_BPIDEVGETINFO ELEMENT      CONTENTS------------------      --------media_status            0x20                        Written unit_status             0x1a9                        Ready Loader 2_FM_Close Rewind Compacting Buffered record_size             0density (current)       61000 BPIdensity (on write)      0 BPIFilemark Cnt            <Not Valid>Record Cnt              <Not Valid>Class                   0 - <unspecified>MTIOCGET ELEMENT	CONTENTS----------------	--------mt_type			MT_ISSCSImt_dsreg		0x20			DEV_WRITTEN mt_erreg		0x0 (NO SENSE - No error or no sense information)mt_resid		0mt_fileno		0 mt_blkno		132 CAM Extended Error Information:                       EEI Version: 0x2                        EEI Status: EEI_DEVBIO_FAILURE (0x2400) - Device/bus I/O error (retriable)                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA                        CAM Status: CAM_BDR_SENT (0x17) - A SCSI BDR msg was sent to target                       SCSI Status: <Not Valid>                   SCSI Sense Data: <Not Valid>dt: Record count sanity check failed, mt_blkno = 132, my count = 116dt: Issuing 'rewind tape' command, count = 0 (0)DEVIOGET ELEMENT	CONTENTS----------------	--------category		DEV_TAPEbus			DEV_SCSIinterface		SCSIdevice			TLZ7adpt_num		0nexus_num		0bus_num			0ctlr_num		0slave_num		3dev_name		tzunit_num		3soft_count		0hard_count		76stat			0x1			DEV_BOM category_stat		0x20400			DEV_LOADER DEV_61000_BPIDEVGETINFO ELEMENT      CONTENTS------------------      --------media_status            0x10001                        BOM POS_VALID unit_status             0x1a9                        Ready Loader 2_FM_Close Rewind Compacting Buffered record_size             0density (current)       61000 BPIdensity (on write)      0 BPIFilemark Cnt            0Record Cnt              132Class                   0 - <unspecified>MTIOCGET ELEMENT	CONTENTS----------------	--------mt_type			MT_ISSCSImt_dsreg		0x1			DEV_BOM mt_erreg		0x0 (NO SENSE - No error or no sense information)mt_resid		0mt_fileno		0 mt_blkno		132 CAM Extended Error Information:                       EEI Version: 0x2                        EEI Status: EEI_CNTBUSY_FAILURE (0x600) - HBA/Controller Busy (retriable)                   EEI Valid Flags: 0x1000001 - CAM_STATUS CAM_DATA                        CAM Status: CAM_BUSY (0x5) - CAM subsystem is busy                       SCSI Status: <Not Valid>                   SCSI Sense Data: <Not Valid>dt: Retry 1 after EEI_CNTBUSY_FAILURE status...DEVIOGET ELEMENT	CONTENTS----------------	--------category		DEV_TAPEbus			DEV_SCSIinterface		SCSIdevice			TLZ7adpt_num		0nexus_num		0bus_num			0ctlr_num		0slave_num		3dev_name		tzunit_num		3soft_count		0hard_count		80stat			0x1			DEV_BOM category_stat		0x20400			DEV_LOADER DEV_61000_BPIDEVGETINFO ELEMENT      CONTENTS------------------      --------media_status            0x1                        BOM unit_status             0x1a9                        Ready Loader 2_FM_Close Rewind Compacting Buffered record_size             0density (current)       61000 BPIdensity (on write)      0 BPIFilemark Cnt            <Not Valid>Record Cnt              <Not Valid>Class                   0 - <unspecified>MTIOCGET ELEMENT	CONTENTS----------------	--------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -