📄 dt-usersguide.ps
字号:
2878 V720(regression)S1203(tests.)S720 H3044 V11 I970(dt)S11 R1109(has)S1308(been)S1567(used)S1822(to)S1962(successfully)S2552(test)S2759(disks,)S3068(tapes,)S3375(serial)S3666(lines,)S3956(parallel)S4338(lines,)S4628(pipes)S4914(&)S5054(FIFO's,)S720 H3174 V720(memory)S1123(mapped)S1507(\256les,)S1756(and)S1951(POSIX)S2306(Asynchronous)S2977(I/O.)S3221(In)S3349(fact,)S11 I3577(dt)S11 R3700(can)S3887(be)S4026(used)S4263(with)S4495(any)S4689(device)S5010(that)S5211(sup-)S720 H3304 V720(ports)S976(the)S1147(standard)S1555(open,)S1833(read,)S2085(write,)S2375(and)S2570(close)S2832(system)S3175(calls.)S3474(Special)S3834(support)S4201(is)S4312(necessary)S4773(for)S4937(some)S5206(dev-)S720 H3434 V720(ices,)S963(such)S1209(as)S1345(serial)S1627(lines,)S1908(for)S2080(setting)S2419(up)S2574(the)S2753(speed,)S3074(parity,)S3402(data)S3628(bits,)S3860(etc,)S4059(but)S11 I4244(dt)S11 R4330('s)S4453(design)S4784(provides)S5206(easy)S720 H3564 V720(addition)S1114(of)S1238(this)S1431(setup.)S720 H3730 V970(Most)S1237(tests)S1473(can)S1664(be)S1807(initiated)S2208(by)S2358(a)S2446(simple)S11 I2780(dt)S11 R2906(command)S3379(line,)S3613(and)S3812(lots)S4013(of)S4145(I/O)S4332(can)S4524(be)S4668(initiated)S5070(quickly)S720 H3860 V720(using)S1002(multiple)S1413(processes)S1875(and/or)S2198(POSIX)S2559(AIO,)S2824(for)S2994(those)S3269(operating)S3726(systems)S4117(supporing)S4599(AIO.)S4896(More)S5175(com-)S720 H3990 V720(plex)S954(tests)S1195(are)S1372(normally)S1814(initiated)S2220(by)S2375(writing)S2739(shell)S2993(scripts)S3326(and)S3530(using)S11 I3815(dt)S11 R3947(in)S4079(conjunction)S4644(with)S4886(other)S5157(tools,)S720 H4120 V720(such)S961(as)S11 I1092(scu)S11 R1278(\(SCSI)S1588(Command)S2087(Utility\).)S2513(Several)S2881(shell)S3129(scripts)S3456(for)S3623(testing)S3957(disks,)S4252(tapes,)S4545(and)S4743(serial)S5020(lines)S5268(are)S720 H4250 V720(also)S930(supplied)S1336(with)S1565(this)S1758(kit)S1908(which)S2209(can)S2393(used)S2627(as)S2751(templates)S3205(for)S3365(developing)S3886(other)S4144(specialized)S4663(test)S4849(scripts.)S720 H4416 V970(Speci\256c)S1358(system)S1698(features)S2077(are)S2243(now)S2466(being)S2744(added)S3039(to)S11 I3159(dt)S11 R3279(so)S3411(more)S3670(extensive)S4118(testing)S4446(can)S4631(be)S4769(accomplished.)S720 H4546 V720(The)S925(program)S1330(has)S1510(been)S1750(restructured)S2306(to)S2426(allow)S2704(easy)S2932(inclusion)S3370(of)S3495(new)S3711(device)S4030(speci\256c)S4399(tests)S4629(by)S4773(dispatching)S5314(to)S720 H4676 V720(test)S924(functions)S1384(through)S1777(a)S1876(function)S2293(lookup)S2651(table.)S2977(This)S3225(table)S3490(gets)S3719(setup)S4003(automatically)S4653(by)S4815(the)S5001(program,)S720 H4806 V720(based)S1002(on)S1145(options)S1503(enabled,)S1904(or)S2028(via)S2195(the)S2362(device)S2680(type)S2902(")S11 I2947(dtype=)S11 R3259(")S3337(option.)S720 H5002 V775(WARNING:)S11 I1378(dt)S11 R1507(does)S1751(NOT)S2019(perform)S2414(any)S2615(sanity)S2922(checking)S3361(of)S3496(the)S3674(output)S4000(device)S4329(speci\256ed.)S4824(This)S5064(means)S5388(if)S720 H5132 V775(you)S980(are)S1152(running)S1534(as)S1665('root')S1954(and)S2152(you)S2357(specify)S2713(a)S2801(raw)S3004(disk)S3227(device,)S11 I3579(dt)S11 R3704(will)S3915(overwrite)S4373(existing)S4761(\256le)S4941(systems,)S5357(so)S720 H5262 V775(please)S1081(be)S1217(careful.)S720 H5457 V775(NOTE:)S1137(Tru64)S1444(\(Digital\))S1861(UNIX)S2173(prevents)S2583(overwriting)S3134(the)S3307(disk)S3530(label)S3782(block)S4065(\(block)S4384(0\),)S4543(to)S4669(prevent)S5037(you)S5242(from)S720 H5587 V775(destroying)S1278(this)S1476(valuable)S1885(information.)S2503(Overwriting)S3077(other)S3340(\256les)S3562(systems,)S3977(not)S4156(starting)S4524(at)S4641(block)S4923(zero,)S5176(is)S5288(still)S720 H5717 V775(possible)S1169(however.)S720 H5777 V11 Y1720(2)S725(2222222222222222222222222222222222222222222222222222222222222222222222222222222222222221)S5722 V5510(1)S5612 V5510(1)S5502 V5510(1)S5392 V5510(1)S5282 V5510(1)S5172 V5510(1)S5062 V5510(1)S4952 V5510(1)S4842 V720 H720(2)S725(222222222222222222222222222222222222222222222222222222222222222222222222222222222222222)S4952 V720 H720(1)S5007 V720(1)S5117 V720(1)S5227 V720(1)S5337 V720(1)S5447 V720(1)S5557 V720(1)S5667 V720(1)S5777 V720(1)S720 H5979 V12 B720(2)S852(Operating)S1416(Systems)S1866(Supported.)S720 H6181 V11 I970(dt)S11 R1103(is)S1224(conditionalized)S1948(to)S2081(run)S2274(on)S2431(SUN,)S2726(ULTRIX,)S3203(OSF,)S3482(QNX,)S3795(Windows/NT,)S4469(and)S4675(Linux)S4986(operating)S720 H6311 V720(systems.)S1169(This)S1404(conditionalization)S2237(tends)S2508(to)S2633(make)S2909(the)S3082(source)S3405(look)S3639(rather)S3931(ugly,)S4193(but)S4372(I've)S4585(purposely)S5056(left)S5240(this)S720 H6441 V720(in)S842(for)S1005(code)S1247(maintainability)S1950(\(common)S2407(code)S2649(base\))S2915(and)S3110(for)S3274(other)S3536(people)S3865(to)S3988(see)S4164(porting)S4519(di)S4605 H (f)show 11 -.5 mul h (f)show11 R4673(erences)S5036(between)S720 H6571 V720(these)S998(systems.)S1460(UNIX)S1785(is)S1911(NOT)S2188(as)S2331(portable)S2742(as)S2885(some)S3169(people)S3513(think,)S3820(but)S4013(the)S4199(POSIX)S4569(standard)S4992(is)S5118(\256nally)S720 H6701 V720(changing)S1160(this.)S1419(Eventually)S1933(this)S2132(will)S2343(be)S2485(cleaned)S2857(up,)S3034(but)S3214(this)S3413(conditionization)S4167(is)S4280(currently)S4714(necessary)S5177(so)S11 I5314(dt)S720 H6831 V11 R720(will)S925(compile)S1312(and)S1503(run)S1682(with)S1911(non-ANSI)S2401(compliant)S2874(compilers)S3340(and)S3531(non-POSIX)S4083(compliant)S4556(operating)S5003(systems.)S720 H7690 V2909(Page 1)S7920 VEP%%PageTrailer%DEC_EDMS_Folio: 3%%Page: 2 4BP/slant 0 def/height 1.000000 def11 R11 R720 H670 V11 I720(Users Manual for)S4507(February 2nd, 2001)S720 H800 V720(dt - Data Test Program)S4832(Version 14.1)S720 H1210 V12 B720(2.1)S942(POSIX)S1345(Compliant)S1929(Systems.)S720 H1376 V11 R970(People)S1309(who)S1538(may)S1767(wish)S2015(to)S2142(port)S11 I2360(dt)S11 R2487(to)S2614(other)S2880(POSIX)S3239(compliant)S3720(operating)S4175(systems,)S4593(should)S4928(review)S5266(the)S720 H1506 V720(Tru64)S1034(UNIX,)S1381(Linux,)S1718(and)S1922(QNX)S2205(conditionalized)S2928(code.)S3240(These)S3546(operating)S4005(systems)S4399(also)S4621(support)S4996(an)S5144(ANSI)S720 H1636 V720(compliant)S1193(compiler.)S720 H1867 V12 B720(3)S852(Test)S1108(Uses.)S720 H2033 V11 R970(Those)S1280(poeple)S1614(with)S1852(an)S1997(imagination)S2565(will)S2780(\256nd)S2995(many)S3282(uses)S3514(for)S11 I3684(dt)S11 R3770(,)S3841(but)S4025(I'll)S4202(list)S4381(a)S4472(few)S4678(I've)S4896(used)S5140(it)S5245(for,)S720 H2163 V720(just)S913(to)S1032(whet)S1278(your)S1512(appetite:)S720 H2293 V732( )S12 R930(\267)S11 R1105(Testing)S1484(of)S1624(tape)S1855(devices)S2232(using)S2520(di)S2606 H (f)show 11 -.5 mul h (f)show11 R2674(erent)S2942(block)S3236(sizes)S3499(to)S3635(determine)S4123(the)S4307(best)S4534(blocking)S4969(factor)S5273(for)S720 H2423 V1105(optimum)S1537(performance)S2121(and)S2312(capacity.)S2770(This)S2999(is)S3106(very)S3333(important)S3794(for)S3954(streaming)S4420(tapes)S4678(devices.)S720 H2553 V732( )S12 R930(\267)S11 R1105(Write)S1391(tapes)S1653(to)S1776(end)S1971(of)S2099(tape,)S2346(to)S2470(determine)S2946(the)S3118(total)S3352(tape)S3572(capacity.)S4035(This)S4269(gives)S4539(the)S4711(total)S4945(data)S5165(capa-)S720 H2683 V1105(city)S1321(of)S1463(tapes,)S1767(after)S2017(inter-record)S2583(gaps,)S2863(preamble/postambles,)S3875(or)S4017(pad)S4226(blocks)S4563(are)S4745(written)S5106(on)S5266(the)S720 H2813 V1105(tape.)S720 H2943 V732( )S12 R930(\267)S11 R1105(Read)S1363(existing)S1745(tapes)S2003(with)S2232(data)S2447(comparison)S2992(disabled,)S3419(to)S3538(determine)S4009(the)S4176(amount)S4539(of)S4663(data)S4878(on)S5022(the)S5190(tape.)S720 H3073 V1105(This)S1337(is)S1446(useful)S1749(to)S1870(determine)S2343(how)S2567(much)S2846(disk)S3065(space)S3342(is)S3451(required)S3850(to)S3971(read)S4193(in)S4314(a)S4397(tape,)S4642(or)S4768(to)S4889(simply)S5225(ver-)S720 H3203 V1105(ify)S1260(the)S1427(tape)S1642(can)S1826(be)S1962(read)S2182(without)S2552(errors.)S720 H3333 V732( )S12 R930(\267)S11 R1105(Reading/writing)S1862(an)S2007(entire)S2298(tape)S2522(to)S2650(ensure)S2978(device)S3306(drivers)S3653(properly)S4067(sense)S4347(and)S4548(handle)S4883(end)S5084(of)S5218(tape)S720 H3463 V1105(error)S1349(conditions.)S720 H3593 V732( )S12 R930(\267)S11 R1105(Write)S1398(a)S1490(tape)S1716(and)S1918(ensure)S2247(it)S2354(can)S2550(be)S2698(read)S2930(on)S3085(another)S3458(tape)S3685(drive)S3955(to)S4086(test)S4284(drive)S4554(compatibility)S5187(\(also)S720 H3723 V1105(referred)S1481(to)S1600(as)S1724(transportability\).)S720 H3853 V732( )S12 R930(\267)S11 R1105(Read)S1367(multiple)S1772(tape)S1991(\256les)S2212(to)S2335(ensure)S2657(\256le)S2835(marks)S3140(and)S3335(end)S3530(of)S3658(tape)S3877(are)S4046(reported)S4448(and)S4644(handled)S5029(properly)S720 H3983 V1105(by)S1248(tape)S1463(drivers.)S720 H4113 V732( )S12 R930(\267)S11 R1105(I/O)S1289(to)S1413(disks)S1678(using)S1955(the)S2127(raw)S2328(device)S2652(interface,)S3100(to)S3225(determine)S3702(the)S3875(optimum)S4313(performance)S4903(of)S5033(the)S5206(con-)S720 H4243 V1105(troller.)S1482(This)S1726(usually)S2092(gives)S2372(a)S2468(good)S2736(indication)S3224(of)S3363(how)S3600(well)S3837(the)S4018(controller)S4491(cache)S4785(or)S4923(read-ahead)S720 H4373 V1105(improves)S1547(I/O)S1726(performance)S2310(for)S2470(sequential)S2948(or)S3072(random)S3440(\256le)S3614(access.)S720 H4503 V732( )S12 R930(\267)S11 R1105(I/O)S1293(to)S1421(disk)S1647(\256les)S1873(through)S2257(the)S2433(\256le)S2616(system,)S2992(to)S3120(determine)S3600(the)S3776(a)S3824 H (f)show 11 -.5 mul h (f)show11 R3892(ect)S4061(the)S4238(bu)S4348 H (f)show 11 -.5 mul h (f)show11 R4416(er)S4543(cache)S4833(has)S5022(on)S5175(write)S720 H4633 V1105(and)S1302(read)S1528(performance.)S2179(You)S2407(must)S2661(know)S2944(the)S3117(characteristics)S3781(of)S3911(your)S4151(O/S's)S4441(bu)S4551 H (f)show 11 -.5 mul h (f)show11 R4619(er)S4742(cache)S5027(to)S5151(select)S720 H4763 V1105(\256le)S1280(sizes)S1527(to)S1648(either)S1932(get)S2101(optimum)S2535(performance)S3121(from)S3369(the)S3538(cache,)S3848(or)S3974(to)S4095(defeat)S4396(the)S4565(a)S4613 H (f)show 11 -.5 mul h (f)show11 R4681(ect)S4843(of)S4969(the)S5138(bu)S5248 H (f)show 11 -.5 mul h (f)show11 R5316(er)S720 H4893 V1105(cache.)S720 H5023 V732( )S12 R930(\267)S11 R1105(Reading/writing)S1853(of)S1977(entire)S2259(disks,)S2547(to)S2666(ensure)S2984(the)S3151(media)S3453(capacity)S3851(and)S4043(end)S4235(of)S4360(media)S4662(error)S4907(handling)S5326(is)S720 H5153 V1105(properly)S1509(reported)S1906(by)S2049(device)S2367(drivers.)S720 H5283 V732( )S12 R930(\267)S11 R1105(Test)S1331(memory)S1734(mapped)S2118(\256les)S2339(to)S2462(compare)S2875(I/O)S3058(performance)S3646(against)S3994(raw)S4194(and)S4389(\256le)S4567(system)S4911(I/O.)S5156(Typi-)S720 H5413 V1105(cally,)S1379(memory)S1778(mapped)S2158(I/O)S2337(approaches)S2861(the)S3028(raw)S3224(device)S3542(performance.)S720 H5543 V732( )S12 R930(\267)S11 R1105(Testing)S1469(I/O)S1649(to)S1769(\256les)S1987(on)S2131(NFS)S2368(mounted)S2787(\256le)S2962(systems.)S3406(This)S3636(will)S3842(give)S4065(you)S4264(a)S4346(good)S4600(indication)S5074(of)S5199(your)S720 H5673 V1105(ethernet)S1490(performance)S2074(to)S2193(remote)S2530(\256les.)S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -