whatsnew-feb22,1996

来自「Linux磁盘测试的源代码,测试磁盘的读写性能」· 代码 · 共 123 行

TXT
123
字号
February 22, 1996 by Robin Miller	The following changes have been made to 'dt' Version 9.4:     o	An option has been added to allow random I/O to be selected instead	of the default sequential I/O.  This is accomplished via:	iotype=type	Set I/O type to: {random or sequential}.	The seeks are limited to the data limit specified or calculated	from the 'dt' command line.  If data limits aren't specified, seeks	are limited to the size of existing files, or to the entire disk	(obtained via ioctl() Digital Unix for raw devices).  If the data	limits exceed the capacity of the media/partition/file under test,	a premature end-of-file will be encountered on reads or writes.     o	An option was added to control checking of inverted data bytes when	doing long reads of short tape records.  Previously, certain DME's	would transfer garbage data at the end of short records, but since	this garbage is not included in the read() count returned, is not	normally accessed by programs, and does not exceed users' buffer,	this was deemed acceptable. [ Ref QAR 40101 for more information. ]	By default, this check is now disabled, but can be re-enabled via	"enable=spad" option (short pad check) if desired.     o	Makefile and source conditionalized so 'dt' now builds on LiNUX.	The latest version of 'dt' is available on our production machinesin the following account:	Location: wasted:~rmiller/dt.d/{dt,dt-ptos}			or via	URL: http://www.zk3.dec.com/~rmiller/dt.htmlCheers,Robin================================================================================% disklabel rz8cInvalid disk label (label is corrupted, or disk is unlabeled)% scu -f /dev/rrz8c show capacityDisk Capacity Information:                  Maximum Capacity: 1046206 (510.843 megabytes)                      Block Length: 512% dt of=/dev/rrz8c bs=64k limit=100m iotype=randomWrite Statistics:     Total records processed: 1600 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 104857600 (102400.000 Kbytes, 100.000 Mbytes)      Average transfer rates: 1703617 bytes/sec, 1663.688 Kbytes/sec      Total passes completed: 0/1       Total errors detected: 0/1          Total elapsed time: 01m01.55s           Total system time: 00m00.36s             Total user time: 00m07.16sRead Statistics:     Total records processed: 1600 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 104857600 (102400.000 Kbytes, 100.000 Mbytes)      Average transfer rates: 1344616 bytes/sec, 1313.101 Kbytes/sec      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 01m17.98s           Total system time: 00m00.35s             Total user time: 00m25.36sTotal Statistics:     Output device/file name: /dev/rrz8c (Device: RZ25M, type=disk)   Data pattern read/written: 0x39c39c39     Total records processed: 3200 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 209715200 (204800.000 Kbytes, 200.000 Mbytes)      Average transfer rates: 1502796 bytes/sec, 1467.574 Kbytes/sec      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 02m19.55s           Total system time: 00m00.71s             Total user time: 00m32.53s               Starting time: Fri Feb 23 16:10:46 1996                 Ending time: Fri Feb 23 16:13:05 1996% dt if=/dev/rrz8c bs=64k records=10 iotype=random disable=compare enable=Debugdt: Attempting to open input file '/dev/rrz8c', mode = 00...dt: Input file '/dev/rrz8c' successfully opened, fd = 3dt: Allocated buffer at address 0x140014000 of 65540 bytes, using offset 0dt: Seeking to random block 951 at byte position 486912...dt: Record #1, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 953 at byte position 487936...dt: Record #2, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 818 at byte position 418816...dt: Record #3, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 124 at byte position 63488...dt: Record #4, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 664 at byte position 339968...dt: Record #5, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 70 at byte position 35840...dt: Record #6, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 68 at byte position 34816...dt: Record #7, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 206 at byte position 105472...dt: Record #8, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 444 at byte position 227328...dt: Record #9, Reading 65536 bytes into buffer at address 0x140014000...dt: Seeking to random block 914 at byte position 467968...dt: Record #10, Reading 65536 bytes into buffer at address 0x140014000...Total Statistics:      Input device/file name: /dev/rrz8c (Device: RZ25M, type=disk)           Data pattern read: 0x39c39c39 (data compare disabled)     Total records processed: 10 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 655360 (640.000 Kbytes, 0.625 Mbytes)      Average transfer rates: 1572864 bytes/sec, 1536.000 Kbytes/sec      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m00.41s           Total system time: 00m00.00s             Total user time: 00m00.00s               Starting time: Fri Feb 23 16:13:47 1996                 Ending time: Fri Feb 23 16:13:48 1996dt: Closing file '/dev/rrz8c', fd = 3...% 

⌨️ 快捷键说明

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