== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:01:27 (1787713287) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=0 llite.lustre-ffff9a48e05dc800.statahead_max=32 llite.lustre-ffff9a48e05dc800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.66 seconds: 37.54 ops/second llite.lustre-ffff9a48e05dc800.statahead_max=0 101 real 0m2.251s user 0m0.006s sys 0m0.342s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a48e05dc800.statahead_max=32 llite.lustre-ffff9a48e05dc800.statahead_max=32 101 real 0m0.875s user 0m0.005s sys 0m0.189s 'ls -l' 100 files with statahead: 1 sec statahead total: 134 statahead wrong: 2 agl total: 129 list_total: 30 fname_total: 104 hit_total: 4301 miss_total: 1262 swrong=2 ewrong=2 - open/close 744 (time 1787713313.70 total 10.00 last 74.39) total: 900 open/close in 12.31 seconds: 73.09 ops/second llite.lustre-ffff9a48e05dc800.statahead_max=0 1001 real 0m23.307s user 0m0.039s sys 0m3.085s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9a48e05dc800.statahead_max=32 llite.lustre-ffff9a48e05dc800.statahead_max=32 1001 real 0m8.399s user 0m0.029s sys 0m1.497s 'ls -l' 1000 files with statahead: 8 sec statahead total: 135 statahead wrong: 2 agl total: 130 list_total: 31 fname_total: 104 hit_total: 5299 miss_total: 1264 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9a48e05dc800.statahead_stats= statahead total: 135 statahead wrong: 2 agl total: 130 list_total: 31 fname_total: 104 hit_total: 5299 miss_total: 1264 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787713380.939863186 secs.nsecs start_time: 1787713292.484845322 secs.nsecs elapsed_time: 88.455017864 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 3 8 11 4: 1 2 13 8: 1 2 16 16: 22 61 77 32: 8 22 100 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787713380.939931662 secs.nsecs start_time: 1787713292.485022489 secs.nsecs elapsed_time: 88.454909173 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 4 10 12 16: 12 30 42 32: 23 57 100 - open/close 620 (time 1787713393.87 total 10.01 last 61.93) - open/close 1345 (time 1787713403.87 total 20.01 last 72.48) - open/close 2058 (time 1787713413.88 total 30.02 last 71.26) - open/close 2784 (time 1787713423.88 total 40.02 last 72.58) - open/close 3504 (time 1787713433.89 total 50.03 last 71.95) - open/close 4274 (time 1787713443.90 total 60.04 last 76.92) - open/close 4997 (time 1787713453.91 total 70.05 last 72.21) - open/close 5656 (time 1787713463.91 total 80.06 last 65.88) - open/close 6325 (time 1787713473.92 total 90.07 last 66.82) - open/close 7105 (time 1787713483.93 total 100.07 last 77.96) - open/close 7814 (time 1787713493.94 total 110.08 last 70.85) - open/close 8479 (time 1787713503.94 total 120.09 last 66.44) - open/close 9131 (time 1787713513.95 total 130.10 last 65.15) - open/close 9761 (time 1787713523.96 total 140.10 last 62.97) total: 10000 open/close in 143.42 seconds: 69.73 ops/second llite.lustre-ffff9a48e05dc800.statahead_batch_max=0 llite.lustre-ffff9a48e05dc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.451s user 0m0.296s sys 0m15.324s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a48e05dc800.statahead_batch_max=32 llite.lustre-ffff9a48e05dc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.519s user 0m0.300s sys 0m14.228s batched statahead RPC= hit count=9971 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787713720.130697271 secs.nsecs start_time: 1787713603.150055217 secs.nsecs elapsed_time: 116.980642054 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787713720.130766183 secs.nsecs start_time: 1787713603.150201597 secs.nsecs elapsed_time: 116.980564586 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=0 llite.lustre-ffff9a48e05dc800.statahead_max=2048 llite.lustre-ffff9a48e05dc800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.22 seconds: 31.08 ops/second llite.lustre-ffff9a48e05dc800.statahead_max=0 101 real 0m2.387s user 0m0.005s sys 0m0.334s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a48e05dc800.statahead_max=2048 llite.lustre-ffff9a48e05dc800.statahead_max=2048 101 real 0m0.845s user 0m0.006s sys 0m0.181s 'ls -l' 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10070 miss_total: 30 swrong=0 ewrong=0 - open/close 703 (time 1787714058.47 total 10.00 last 70.29) total: 900 open/close in 13.09 seconds: 68.75 ops/second llite.lustre-ffff9a48e05dc800.statahead_max=0 1001 real 0m22.573s user 0m0.027s sys 0m2.843s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9a48e05dc800.statahead_max=2048 llite.lustre-ffff9a48e05dc800.statahead_max=2048 1001 real 0m7.912s user 0m0.027s sys 0m1.397s '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: 11069 miss_total: 31 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9a48e05dc800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11069 miss_total: 31 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787714128.915239615 secs.nsecs start_time: 1787713722.771455966 secs.nsecs elapsed_time: 406.143783649 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 2 22 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787714128.915365915 secs.nsecs start_time: 1787713722.773863762 secs.nsecs elapsed_time: 406.141502153 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 4 44 66 16: 0 0 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 581 (time 1787714142.43 total 10.01 last 58.02) - open/close 1157 (time 1787714152.43 total 20.02 last 57.57) - open/close 1746 (time 1787714162.44 total 30.03 last 58.84) - open/close 2412 (time 1787714172.45 total 40.03 last 66.57) - open/close 3094 (time 1787714182.46 total 50.05 last 68.13) - open/close 3769 (time 1787714192.46 total 60.05 last 67.50) - open/close 4391 (time 1787714202.46 total 70.05 last 62.16) - open/close 4993 (time 1787714212.46 total 80.05 last 60.20) - open/close 5674 (time 1787714222.47 total 90.06 last 68.05) - open/close 6251 (time 1787714232.48 total 100.07 last 57.65) - open/close 6853 (time 1787714242.52 total 110.10 last 59.98) - open/close 7415 (time 1787714252.52 total 120.11 last 56.18) - open/close 8003 (time 1787714262.53 total 130.11 last 58.76) - open/close 8637 (time 1787714272.53 total 140.12 last 63.37) - open/close 9244 (time 1787714282.53 total 150.12 last 60.68) - open/close 9907 (time 1787714292.54 total 160.13 last 66.27) total: 10000 open/close in 161.37 seconds: 61.97 ops/second llite.lustre-ffff9a48e05dc800.statahead_batch_max=0 llite.lustre-ffff9a48e05dc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.145s user 0m0.348s sys 0m16.301s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a48e05dc800.statahead_batch_max=256 llite.lustre-ffff9a48e05dc800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.321s user 0m0.324s sys 0m15.590s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787714439.575531712 secs.nsecs start_time: 1787714380.772460475 secs.nsecs elapsed_time: 58.803071237 secs.nsecs subreqs per batch batches %% cum %% 1: 52 32 32 2: 17 10 43 4: 15 9 52 8: 6 3 56 16: 8 5 61 32: 17 10 71 64: 8 5 76 128: 2 1 78 256: 35 21 100 mdc.lustre-MDT0001-mdc-ffff9a48e05dc800.batch_stats= snapshot_time: 1787714439.575602847 secs.nsecs start_time: 1787714380.772607640 secs.nsecs elapsed_time: 58.802995207 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-ffff9a48e05dc800.statahead_batch_max=64 llite.lustre-ffff9a48e05dc800.statahead_max=128