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

📄 dt-win32.tar.gz@

📁 Linux磁盘测试的源代码,测试磁盘的读写性能
💻 GZ@
字号:
<HTML><HEAD><TITLE>Data Test Program (dt) March 25, 2003</TITLE></HEAD><BODY BGCOLOR="#D19275"><CENTER><H2><STRONG>What's New as of March 25, 2003</STRONG></H2></CENTER><H2>Changes For This Release</H2>This is a minor release of <I>dt</I>, which includes several bug fixes anda few new features.<P>The following changes were made to <I>dt</I> Version 14.28:<UL><LI>Ported to HP-UX (actually done about a year ago).  The latestupdates for HP-UX are to use DIOC_DESCRIBE or SIOC_INQUIRY toobtain device information, set maximum capacity, and setupthe device type automatically.<LI>Slice & Dice:  Previously, a slices=value option was added.Now, a slice=value option has been added so you can tell <I>dt</I>which slice (range of blocks) to do I/O to.  This is a handyfeature for testing shared storage in a cluster (where eachcluster member can do I/O to it's own slice).<LI>Prefix Option: To help generate unique data in each record,a prefix="string" option has been added.  You can specifyyour own generated string, or use special format control'sbuilt into 'dt' to create a unique prefix:<PRE>        Prefix Format Control:	    %d = The device name.          %D = The real device name.	    %h = The host name.            %H = The full host name.	    %p = The process ID.           %P = The parent PID.	    %u = The user name.	    Example: prefix="%u@%h (pid %p)"</PRE><LI>Improved Performance:  The addition of new data pattern features(lbdata and IOT) caused a regression of data compare performance.By optimizing this code path, a 23-24% improvement was observedon my Alpha DS20-E with Ultra-3 disks (your mileage may vary :-).</UL><P>Please see attached examples for use of these new options.<P><P><CENTER>Within HP, the updated <I>dt</I> kits are located @ URL:</CENTER><P><CENTER><A HREF="http://www.zk3.dec.com/~rmiller/dt.html">http://www.zk3.dec.com/~rmiller/dt.html<!<P><CENTER>External to HP, you can obtain <I>dt</I> kits from URL:</CENTER><P><CENTER><A HREF="http://www.bit-net.com/~rmiller/dt.html">http://www.bit-net.com/~rmiller/dt.html<!</UL><HR><A HREF="mailto:Robin.Miller@hp.com"><IMG SRC="../gifs/mailbox.gif" ALT="Mail"></A>Send mail to admin of this page: <EM>Robin.Miller@hp.com</EM><A HREF="../index.html"><IMG SRC="../gifs/home04.gif" ALT="Home"></A>To Robin's home page.<P>Last Modified: March 25th, 2003<HR> <H2>Examples:</H2><HR SIZE=5 NOSHADE><PRE>% <B>dt of=/dev/rdisk/dsk25c bs=64k limit=1m  slices=3 prefix="%u@%h (pid %p)" disable=pstats</B>dt (3996): End of Write pass 0, records = 16, errors = 0, elapsed time = 00m00.68sdt (3998): End of Write pass 0, records = 16, errors = 0, elapsed time = 00m00.70sdt (3997): End of Write pass 0, records = 16, errors = 0, elapsed time = 00m00.71sdt (3996): End of Read pass 1, records = 16, errors = 0, elapsed time = 00m00.65sTotal Statistics (3996):     Output device/file name: /dev/rdisk/dsk25c (Device: BF01863644, type=disk)     Type of I/O's performed: sequential (forward)      Slice Range Parameters: position=0 (lba 0), limit=1048576      Current Slice Reported: 1/3    Data pattern prefix used: 'rmiller@wisdom (pid 3996)'   Data pattern read/written: 0x39c39c39     Total records processed: 32 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 2097152 (2048.000 Kbytes, 2.000 Mbytes)      Average transfer rates: 1553446 bytes/sec, 1517.037 Kbytes/sec     Number I/O's per second: 23.704      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m01.35s           Total system time: 00m00.00s             Total user time: 00m00.08s               Starting time: Tue Mar 25 14:53:02 2003                 Ending time: Tue Mar 25 14:53:03 2003dt (3998): End of Read pass 1, records = 16, errors = 0, elapsed time = 00m00.65sTotal Statistics (3998):     Output device/file name: /dev/rdisk/dsk25c (Device: BF01863644, type=disk)     Type of I/O's performed: sequential (forward)      Slice Range Parameters: position=12139546624 (lba 23710052), limit=1048576      Current Slice Reported: 3/3    Data pattern prefix used: 'rmiller@wisdom (pid 3998)'   Data pattern read/written: 0x0f0f0f0f     Total records processed: 32 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 2097152 (2048.000 Kbytes, 2.000 Mbytes)      Average transfer rates: 1553446 bytes/sec, 1517.037 Kbytes/sec     Number I/O's per second: 23.704      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m01.35s           Total system time: 00m00.00s             Total user time: 00m00.08s               Starting time: Tue Mar 25 14:53:02 2003                 Ending time: Tue Mar 25 14:53:03 2003dt (3997): End of Read pass 1, records = 16, errors = 0, elapsed time = 00m00.66sTotal Statistics (3997):     Output device/file name: /dev/rdisk/dsk25c (Device: BF01863644, type=disk)     Type of I/O's performed: sequential (forward)      Slice Range Parameters: position=6069773312 (lba 11855026), limit=1048576      Current Slice Reported: 2/3    Data pattern prefix used: 'rmiller@wisdom (pid 3997)'   Data pattern read/written: 0x00ff00ff     Total records processed: 32 @ 65536 bytes/record (64.000 Kbytes)     Total bytes transferred: 2097152 (2048.000 Kbytes, 2.000 Mbytes)      Average transfer rates: 1516013 bytes/sec, 1480.482 Kbytes/sec     Number I/O's per second: 23.133      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 00m01.38s           Total system time: 00m00.00s             Total user time: 00m00.08s               Starting time: Tue Mar 25 14:53:02 2003                 Ending time: Tue Mar 25 14:53:03 2003% <B>dt of=/dev/rdisk/dsk25c bs=64k slices=25 slice=13 disable=pstats enable=debug</B>dt (4000): DEVGETINFO Capacity: 35565080 blocks.dt (4000): Data limit set to 18209320960 bytes (17365.762 Mbytes), 35565080 blocks.dt (4000): Slice 13 Information:		 Start: 8740472832 offset (lba 17071236)		   End: 9468845568 offset (lba 18493839)		Length: 728372736 bytes (1422603 blocks)		 Limit: 728372736 bytes (1422603 blocks)dt: Attempting to open output file '/dev/rdisk/dsk25c', open flags = 01 (0x1)...dt: Output file '/dev/rdisk/dsk25c' successfully opened, fd = 3dt: Data limit set to 18209320960 bytes (17365.762 Mbytes), 35565080 blocks.dt: Allocated buffer at address 0x140026000 of 65540 bytes, using offset 0dt: Using data pattern 0x39c39c39 for pass 1dt: Record #11115, Writing a partial record of 5632 bytes...dt: End of Write pass 0, records = 11114, errors = 0, elapsed time = 02m18.36sdt: Closing file '/dev/rdisk/dsk25c', fd = 3...dt: Attempting to reopen file '/dev/rdisk/dsk25c', open flags = 0 (0)...dt: File '/dev/rdisk/dsk25c' successfully reopened, fd = 3dt: Record #11115, Reading a partial record of 5632 bytes...dt: End of Read pass 1, records = 11114, errors = 0, elapsed time = 02m59.35sdt: Closing file '/dev/rdisk/dsk25c', fd = 3...Total Statistics:     Output device/file name: /dev/rdisk/dsk25c (Device: BF01863644, type=disk)     Type of I/O's performed: sequential (forward)   Data pattern read/written: 0x39c39c39     Total records processed: 22228 @ 65536 bytes/record, 2 partial     Total bytes transferred: 1456745472 (1422603.000 Kbytes, 1389.261 Mbytes)      Average transfer rates: 4584565 bytes/sec, 4477.114 Kbytes/sec     Number I/O's per second: 69.961      Total passes completed: 1/1       Total errors detected: 0/1          Total elapsed time: 05m17.75s           Total system time: 00m03.56s             Total user time: 01m01.80s               Starting time: Tue Mar 25 14:55:08 2003                 Ending time: Tue Mar 25 15:00:25 2003% </PRE></BODY></HTML>

⌨️ 快捷键说明

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