== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:33:15 (1787711595) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=0 llite.lustre-ffff99de7f3c8000.statahead_max=32 llite.lustre-ffff99de7f3c8000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=0 total: 100 open/close in 2.97 seconds: 33.66 ops/second llite.lustre-ffff99de7f3c8000.statahead_max=0 101 real 0m2.908s user 0m0.007s sys 0m0.352s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff99de7f3c8000.statahead_max=32 llite.lustre-ffff99de7f3c8000.statahead_max=32 101 real 0m0.979s user 0m0.004s sys 0m0.179s 'ls -l' 100 files with statahead: 1 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 30 fname_total: 81 hit_total: 3794 miss_total: 1352 swrong=2 ewrong=2 - open/close 737 (time 1787711625.50 total 10.04 last 73.39) total: 900 open/close in 12.86 seconds: 70.00 ops/second llite.lustre-ffff99de7f3c8000.statahead_max=0 1001 real 0m22.474s user 0m0.033s sys 0m3.064s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff99de7f3c8000.statahead_max=32 llite.lustre-ffff99de7f3c8000.statahead_max=32 1001 real 0m8.503s user 0m0.030s sys 0m1.495s 'ls -l' 1000 files with statahead: 9 sec statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 31 fname_total: 81 hit_total: 4793 miss_total: 1353 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff99de7f3c8000.statahead_stats= statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 31 fname_total: 81 hit_total: 4793 miss_total: 1353 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats= snapshot_time: 1787711694.590685900 secs.nsecs start_time: 1787711600.906107451 secs.nsecs elapsed_time: 93.684578449 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 668 (time 1787711706.98 total 10.00 last 66.77) - open/close 1306 (time 1787711716.99 total 20.01 last 63.76) - open/close 1980 (time 1787711726.99 total 30.01 last 67.38) - open/close 2621 (time 1787711736.99 total 40.02 last 64.06) - open/close 3327 (time 1787711747.00 total 50.02 last 70.58) - open/close 4038 (time 1787711757.01 total 60.04 last 71.00) - open/close 4676 (time 1787711767.03 total 70.05 last 63.71) - open/close 5318 (time 1787711777.03 total 80.05 last 64.18) - open/close 5965 (time 1787711787.03 total 90.05 last 64.69) - open/close 6633 (time 1787711797.04 total 100.06 last 66.77) - open/close 7341 (time 1787711807.04 total 110.07 last 70.74) - open/close 8021 (time 1787711817.05 total 120.07 last 67.96) - open/close 8670 (time 1787711827.06 total 130.08 last 64.86) - open/close 9387 (time 1787711837.06 total 140.09 last 71.66) total: 10000 open/close in 148.87 seconds: 67.17 ops/second llite.lustre-ffff99de7f3c8000.statahead_batch_max=0 llite.lustre-ffff99de7f3c8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.355s user 0m0.318s sys 0m16.331s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99de7f3c8000.statahead_batch_max=32 llite.lustre-ffff99de7f3c8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.197s user 0m0.321s sys 0m14.224s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats= snapshot_time: 1787712032.713496784 secs.nsecs start_time: 1787711918.118279724 secs.nsecs elapsed_time: 114.595217060 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=0 llite.lustre-ffff99de7f3c8000.statahead_max=2048 llite.lustre-ffff99de7f3c8000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=0 total: 100 open/close in 2.66 seconds: 37.55 ops/second llite.lustre-ffff99de7f3c8000.statahead_max=0 101 real 0m2.169s user 0m0.005s sys 0m0.327s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99de7f3c8000.statahead_max=2048 llite.lustre-ffff99de7f3c8000.statahead_max=2048 101 real 0m0.932s user 0m0.003s sys 0m0.185s '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: 10076 miss_total: 24 swrong=0 ewrong=0 - open/close 694 (time 1787712351.09 total 10.00 last 69.37) total: 900 open/close in 13.31 seconds: 67.64 ops/second llite.lustre-ffff99de7f3c8000.statahead_max=0 1001 real 0m23.836s user 0m0.031s sys 0m2.941s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff99de7f3c8000.statahead_max=2048 llite.lustre-ffff99de7f3c8000.statahead_max=2048 1001 real 0m7.036s user 0m0.019s sys 0m1.307s '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: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff99de7f3c8000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats= snapshot_time: 1787712418.346328007 secs.nsecs start_time: 1787712035.339773337 secs.nsecs elapsed_time: 383.006554670 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 2 16 66 128: 0 0 66 256: 4 33 100 - open/close 683 (time 1787712431.16 total 10.01 last 68.23) - open/close 1310 (time 1787712441.17 total 20.01 last 62.68) - open/close 1951 (time 1787712451.17 total 30.02 last 64.08) - open/close 2619 (time 1787712461.18 total 40.02 last 66.75) - open/close 3334 (time 1787712471.18 total 50.03 last 71.48) - open/close 4069 (time 1787712481.19 total 60.03 last 73.45) - open/close 4761 (time 1787712491.20 total 70.05 last 69.13) - open/close 5450 (time 1787712501.20 total 80.05 last 68.87) - open/close 6160 (time 1787712511.23 total 90.08 last 70.81) - open/close 6872 (time 1787712521.23 total 100.08 last 71.18) - open/close 7594 (time 1787712531.25 total 110.10 last 72.08) - open/close 8292 (time 1787712541.26 total 120.10 last 69.75) - open/close 8986 (time 1787712551.27 total 130.11 last 69.33) - open/close 9708 (time 1787712561.27 total 140.11 last 72.19) total: 10000 open/close in 144.32 seconds: 69.29 ops/second llite.lustre-ffff99de7f3c8000.statahead_batch_max=0 llite.lustre-ffff99de7f3c8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.713s user 0m0.368s sys 0m16.693s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99de7f3c8000.statahead_batch_max=256 llite.lustre-ffff99de7f3c8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.170s user 0m0.371s sys 0m16.972s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99de7f3c8000.batch_stats= snapshot_time: 1787712683.744675077 secs.nsecs start_time: 1787712626.238358279 secs.nsecs elapsed_time: 57.506316798 secs.nsecs subreqs per batch batches %% cum %% 1: 143 45 45 2: 35 11 56 4: 42 13 70 8: 25 7 78 16: 13 4 82 32: 14 4 86 64: 6 1 88 128: 1 0 89 256: 34 10 100 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-ffff99de7f3c8000.statahead_batch_max=64 llite.lustre-ffff99de7f3c8000.statahead_max=128