~cr3/+junk/dt

« back to all changes in this revision

Viewing changes to WhatsNew-May14,1997

  • Committer: Marc Tardif
  • Date: 2010-04-14 19:09:45 UTC
  • Revision ID: marc.tardif@canonical.com-20100414190945-op293hsog8niroma
Initial release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
May 14, 1997 by Robin Miller
 
2
 
 
3
        The following changes have been made to 'dt' Version 10.8:
 
4
 
 
5
     o  Ali Eghlima added a "munsa={cr,pr,cw,pw,ex}" options which
 
6
        uses DLM for MUNSA testing.  Here's the 'dt' help text:
 
7
 
 
8
     MUNSA Lock Options:
 
9
        cr = Concurrent Read (permits read access, cr/pr/cw by others)
 
10
        pr = Protected Read (permits cr/pr read access to all, no write)
 
11
        cw = Concurrent Write (permits write and cr access to resource by all)
 
12
        pw = Protected Write (permits write access, cr by others)
 
13
        ex = Exclusive Mode (permits read/write access, no access to others)
 
14
 
 
15
            For more details, please refer to the dlm(4) reference page.
 
16
 
 
17
     o  If a "skip=" count is specified with an output file "of=",
 
18
        open the file for R/W access since skips are accompished via
 
19
        read()'s of record size.
 
20
        [ Per Olov Wahlstrom reported this problem. ]
 
21
 
 
22
     o  If a copy or verify operation is selected, and a data limit
 
23
        is specified, then double the data limit to account for double
 
24
        the I/O's.  Previously, only half of the desired data limit was
 
25
        copied and/or verified.
 
26
 
 
27
     o  Check status from closing file descriptor, and if it's not
 
28
        SUCCESS, use this for the exit status.  For tapes, deferred
 
29
        writes and failure to write file marks occur at close time.
 
30
        [ Roger Richardson reported this problem. ]
 
31
 
 
32
     o  If we encounter a ENOSPC error and no data has been transferred,
 
33
        flag this as an error.  This normally indicates a zero length
 
34
        partition or the user may have seek'ed past eom or eop.
 
35
        [ George Bittner reported this problem. ]
 
36
 
 
37
     o  Removed use of undocumented AIO_SEEK_CUR in aio_offset.
 
38
        Also fixed bug where random I/O offset was clobbered, thus
 
39
        resulting in sequential I/O.
 
40
        [ Jeff Denham reported this problem. ]
 
41
 
 
42
     o  Report number of I/O's per second (some people desire this).
 
43
 
 
44
        The latest version of 'dt' is available on our production machines
 
45
in the following account:
 
46
 
 
47
                Location: wasted:~rmiller/dt.d/{dt-ptos,dt-dlm,dt-V3.2}
 
48
                                or via
 
49
                URL: http://www.zk3.dec.com/~rmiller/dt.html
 
50
 
 
51
Cheers,
 
52
Robin
 
53
================================================================================
 
54
        This example shows the new handling of ENOSPC error code:
 
55
 
 
56
% dt of=/dev/rrz2b position=393216b records=1 disable=verify
 
57
dt: 'write' - No space left on device
 
58
dt: Error number 1 occurred on Wed May 14 14:27:45 1997
 
59
Total Statistics:
 
60
     Output device/file name: /dev/rrz2b (Device: RZ25, type=disk)
 
61
        Data pattern written: 0x39c39c39 (read verify disabled)
 
62
     Total records processed: 0 @ 512 bytes/record (0.500 Kbytes)
 
63
     Total bytes transferred: 0 (0.000 Kbytes, 0.000 Mbytes)
 
64
      Average transfer rates: 0 bytes/sec, 0.000 Kbytes/sec
 
65
     Number I/O's per second: 0.000
 
66
      Total passes completed: 1/1
 
67
       Total errors detected: 1/1
 
68
          Total elapsed time: 00m00.03s
 
69
           Total system time: 00m00.01s
 
70
             Total user time: 00m00.00s
 
71
               Starting time: Wed May 14 14:27:45 1997
 
72
                 Ending time: Wed May 14 14:27:45 1997
 
73
 
 
74
% echo $status
 
75
-1
 
76
 
77
 
 
78
================================================================================
 
79
        This example shows the "Number I/O's per second" addition:
 
80
 
 
81
im2fast% dt of=/var/tmp/dt.data bs=8k limit=25m
 
82
Write Statistics:
 
83
     Total records processed: 3200 @ 8192 bytes/record (8.000 Kbytes)
 
84
     Total bytes transferred: 26214400 (25600.000 Kbytes, 25.000 Mbytes)
 
85
      Average transfer rates: 2021676 bytes/sec, 1974.293 Kbytes/sec
 
86
     Number I/O's per second: 246.787
 
87
      Total passes completed: 0/1
 
88
       Total errors detected: 0/1
 
89
          Total elapsed time: 00m12.96s
 
90
           Total system time: 00m00.95s
 
91
             Total user time: 00m01.70s
 
92
 
 
93
Read Statistics:
 
94
     Total records processed: 3200 @ 8192 bytes/record (8.000 Kbytes)
 
95
     Total bytes transferred: 26214400 (25600.000 Kbytes, 25.000 Mbytes)
 
96
      Average transfer rates: 4239526 bytes/sec, 4140.162 Kbytes/sec
 
97
     Number I/O's per second: 517.520
 
98
      Total passes completed: 1/1
 
99
       Total errors detected: 0/1
 
100
          Total elapsed time: 00m06.18s
 
101
           Total system time: 00m00.61s
 
102
             Total user time: 00m05.50s
 
103
 
 
104
Total Statistics:
 
105
     Output device/file name: /var/tmp/dt.data
 
106
   Data pattern read/written: 0x39c39c39
 
107
     Total records processed: 6400 @ 8192 bytes/record (8.000 Kbytes)
 
108
     Total bytes transferred: 52428800 (51200.000 Kbytes, 50.000 Mbytes)
 
109
      Average transfer rates: 2737796 bytes/sec, 2673.629 Kbytes/sec
 
110
     Number I/O's per second: 334.204
 
111
      Total passes completed: 1/1
 
112
       Total errors detected: 0/1
 
113
          Total elapsed time: 00m19.15s
 
114
           Total system time: 00m01.56s
 
115
             Total user time: 00m07.20s
 
116
               Starting time: Wed May 14 15:45:18 1997
 
117
                 Ending time: Wed May 14 15:45:37 1997
 
118
 
 
119
im2fast% 
 
120
 
 
121
==============================================================================