== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:18:46 (1788218326) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=0 llite.lustre-ffff9c8e07d69000.statahead_max=32 llite.lustre-ffff9c8e07d69000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.89 seconds: 34.56 ops/second llite.lustre-ffff9c8e07d69000.statahead_max=0 101 real 0m2.891s user 0m0.007s sys 0m0.317s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9c8e07d69000.statahead_max=32 llite.lustre-ffff9c8e07d69000.statahead_max=32 101 real 0m1.125s user 0m0.006s sys 0m0.161s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 88 hit_total: 4144 miss_total: 1646 swrong=2 ewrong=2 - open/close 640 (time 1788218355.98 total 10.03 last 63.81) total: 900 open/close in 13.57 seconds: 66.33 ops/second llite.lustre-ffff9c8e07d69000.statahead_max=0 1001 real 0m22.745s user 0m0.036s sys 0m3.322s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9c8e07d69000.statahead_max=32 llite.lustre-ffff9c8e07d69000.statahead_max=32 1001 real 0m11.984s user 0m0.030s sys 0m1.543s 'ls -l' 1000 files with statahead: 12 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 88 hit_total: 5138 miss_total: 1652 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9c8e07d69000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 88 hit_total: 5138 miss_total: 1652 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788218429.684446350 secs.nsecs start_time: 1788218332.325661099 secs.nsecs elapsed_time: 97.358785251 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 1 2 13 8: 3 7 21 16: 28 73 94 32: 2 5 100 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788218429.684514397 secs.nsecs start_time: 1788218332.325753594 secs.nsecs elapsed_time: 97.358760803 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 10 25 37 32: 25 62 100 - open/close 731 (time 1788218441.77 total 10.02 last 72.97) - open/close 1510 (time 1788218451.78 total 20.03 last 77.81) - open/close 2261 (time 1788218461.78 total 30.03 last 75.08) - open/close 2985 (time 1788218471.79 total 40.05 last 72.31) - open/close 3755 (time 1788218481.80 total 50.05 last 76.97) - open/close 4440 (time 1788218491.81 total 60.06 last 68.41) - open/close 5157 (time 1788218501.82 total 70.08 last 71.60) - open/close 5806 (time 1788218511.83 total 80.09 last 64.84) - open/close 6576 (time 1788218521.84 total 90.10 last 76.93) - open/close 7170 (time 1788218531.85 total 100.10 last 59.34) - open/close 7735 (time 1788218541.88 total 110.13 last 56.36) - open/close 8397 (time 1788218551.88 total 120.13 last 66.17) - open/close 9058 (time 1788218561.89 total 130.14 last 66.05) - open/close 9728 (time 1788218571.89 total 140.15 last 66.97) total: 10000 open/close in 144.21 seconds: 69.34 ops/second llite.lustre-ffff9c8e07d69000.statahead_batch_max=0 llite.lustre-ffff9c8e07d69000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.622s user 0m0.404s sys 0m16.158s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c8e07d69000.statahead_batch_max=32 llite.lustre-ffff9c8e07d69000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.147s user 0m0.399s sys 0m15.444s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788218776.562674302 secs.nsecs start_time: 1788218655.325572639 secs.nsecs elapsed_time: 121.237101663 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788218776.562742908 secs.nsecs start_time: 1788218655.325637309 secs.nsecs elapsed_time: 121.237105599 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=0 llite.lustre-ffff9c8e07d69000.statahead_max=2048 llite.lustre-ffff9c8e07d69000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.85 seconds: 35.15 ops/second llite.lustre-ffff9c8e07d69000.statahead_max=0 101 real 0m2.426s user 0m0.004s sys 0m0.312s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9c8e07d69000.statahead_max=2048 llite.lustre-ffff9c8e07d69000.statahead_max=2048 101 real 0m1.020s user 0m0.003s sys 0m0.180s 'ls -l' 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 700 (time 1788219123.84 total 10.01 last 69.95) total: 900 open/close in 13.33 seconds: 67.50 ops/second llite.lustre-ffff9c8e07d69000.statahead_max=0 1001 real 0m22.825s user 0m0.047s sys 0m3.332s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9c8e07d69000.statahead_max=2048 llite.lustre-ffff9c8e07d69000.statahead_max=2048 1001 real 0m7.480s user 0m0.033s sys 0m1.321s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9c8e07d69000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788219193.713886996 secs.nsecs start_time: 1788218779.957733992 secs.nsecs elapsed_time: 413.756153004 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 3 33 66 16: 0 0 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788219193.713967733 secs.nsecs start_time: 1788218779.957912687 secs.nsecs elapsed_time: 413.756055046 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 1 11 44 16: 2 22 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 710 (time 1788219207.35 total 10.00 last 70.99) - open/close 1471 (time 1788219217.36 total 20.01 last 76.03) - open/close 2298 (time 1788219227.36 total 30.01 last 82.68) - open/close 2997 (time 1788219237.37 total 40.02 last 69.87) - open/close 3677 (time 1788219247.37 total 50.02 last 67.99) - open/close 4282 (time 1788219257.38 total 60.02 last 60.47) - open/close 4968 (time 1788219267.42 total 70.07 last 68.31) - open/close 5673 (time 1788219277.42 total 80.07 last 70.50) - open/close 6206 (time 1788219287.43 total 90.08 last 53.22) - open/close 6704 (time 1788219297.43 total 100.08 last 49.79) - open/close 7275 (time 1788219307.44 total 110.09 last 57.09) - open/close 7888 (time 1788219317.44 total 120.09 last 61.28) - open/close 8486 (time 1788219327.44 total 130.09 last 59.80) - open/close 9083 (time 1788219337.45 total 140.10 last 59.63) - open/close 9903 (time 1788219347.46 total 150.11 last 81.91) total: 10000 open/close in 151.37 seconds: 66.06 ops/second llite.lustre-ffff9c8e07d69000.statahead_batch_max=0 llite.lustre-ffff9c8e07d69000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.176s user 0m0.354s sys 0m15.793s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c8e07d69000.statahead_batch_max=256 llite.lustre-ffff9c8e07d69000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.238s user 0m0.338s sys 0m14.411s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788219493.145676210 secs.nsecs start_time: 1788219433.776949684 secs.nsecs elapsed_time: 59.368726526 secs.nsecs subreqs per batch batches %% cum %% 1: 147 50 50 2: 38 12 63 4: 26 8 72 8: 13 4 76 16: 11 3 80 32: 18 6 86 64: 5 1 88 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff9c8e07d69000.batch_stats= snapshot_time: 1788219493.145754958 secs.nsecs start_time: 1788219433.777172809 secs.nsecs elapsed_time: 59.368582149 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9c8e07d69000.statahead_batch_max=64 llite.lustre-ffff9c8e07d69000.statahead_max=128