== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:44:26 (1784346266) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=0 llite.lustre-ffff9cf184b28000.statahead_max=32 llite.lustre-ffff9cf184b28000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.82 seconds: 54.94 ops/second llite.lustre-ffff9cf184b28000.statahead_max=0 101 real 0m1.990s user 0m0.002s sys 0m0.324s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9cf184b28000.statahead_max=32 llite.lustre-ffff9cf184b28000.statahead_max=32 101 real 0m0.696s user 0m0.004s sys 0m0.188s 'ls -l' 100 files with statahead: 1 sec statahead total: 55 statahead wrong: 2 agl total: 51 list_total: 26 fname_total: 29 hit_total: 3779 miss_total: 1589 swrong=2 ewrong=2 total: 900 open/close in 9.31 seconds: 96.72 ops/second llite.lustre-ffff9cf184b28000.statahead_max=0 1001 real 0m17.364s user 0m0.033s sys 0m3.090s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9cf184b28000.statahead_max=32 llite.lustre-ffff9cf184b28000.statahead_max=32 1001 real 0m6.130s user 0m0.020s sys 0m1.675s 'ls -l' 1000 files with statahead: 6 sec statahead total: 56 statahead wrong: 2 agl total: 52 list_total: 27 fname_total: 29 hit_total: 4777 miss_total: 1591 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 13 seconds llite.lustre-ffff9cf184b28000.statahead_stats= statahead total: 56 statahead wrong: 2 agl total: 52 list_total: 27 fname_total: 29 hit_total: 4777 miss_total: 1591 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346330.351500346 secs.nsecs start_time: 1784346269.590321562 secs.nsecs elapsed_time: 60.761178784 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 1 2 10 8: 2 5 15 16: 20 50 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346330.351566426 secs.nsecs start_time: 1784346269.590456898 secs.nsecs elapsed_time: 60.761109528 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 4 12 4: 0 0 12 8: 3 7 19 16: 17 41 60 32: 16 39 100 - open/close 1067 (time 1784346342.00 total 10.01 last 106.65) - open/close 2354 (time 1784346352.00 total 20.01 last 128.67) - open/close 3480 (time 1784346362.00 total 30.01 last 112.55) - open/close 4628 (time 1784346372.01 total 40.02 last 114.76) - open/close 5780 (time 1784346382.02 total 50.03 last 115.05) - open/close 6842 (time 1784346392.02 total 60.03 last 106.20) - open/close 7960 (time 1784346402.03 total 70.03 last 111.76) - open/close 9137 (time 1784346412.03 total 80.03 last 117.69) total: 10000 open/close in 88.11 seconds: 113.50 ops/second llite.lustre-ffff9cf184b28000.statahead_batch_max=0 llite.lustre-ffff9cf184b28000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.300s user 0m0.294s sys 0m26.325s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cf184b28000.statahead_batch_max=32 llite.lustre-ffff9cf184b28000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.328s user 0m0.256s sys 0m20.000s batched statahead RPC= hit count=9988 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346526.949591174 secs.nsecs start_time: 1784346464.361905119 secs.nsecs elapsed_time: 62.587686055 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-ffff9cf184b28000.batch_stats= snapshot_time: 1784346526.949662020 secs.nsecs start_time: 1784346464.361984227 secs.nsecs elapsed_time: 62.587677793 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=0 llite.lustre-ffff9cf184b28000.statahead_max=2048 llite.lustre-ffff9cf184b28000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.31 seconds: 43.34 ops/second llite.lustre-ffff9cf184b28000.statahead_max=0 101 real 0m2.051s user 0m0.006s sys 0m0.312s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9cf184b28000.statahead_max=2048 llite.lustre-ffff9cf184b28000.statahead_max=2048 101 real 0m0.796s user 0m0.004s sys 0m0.174s '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: 10087 miss_total: 13 swrong=0 ewrong=0 - open/close 692 (time 1784346731.91 total 10.00 last 69.20) total: 900 open/close in 13.20 seconds: 68.16 ops/second llite.lustre-ffff9cf184b28000.statahead_max=0 1001 real 0m22.263s user 0m0.037s sys 0m3.116s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9cf184b28000.statahead_max=2048 llite.lustre-ffff9cf184b28000.statahead_max=2048 1001 real 0m4.842s user 0m0.033s sys 0m1.593s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9cf184b28000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346791.758637599 secs.nsecs start_time: 1784346528.359171324 secs.nsecs elapsed_time: 263.399466275 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 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-ffff9cf184b28000.batch_stats= snapshot_time: 1784346791.758712796 secs.nsecs start_time: 1784346528.359332586 secs.nsecs elapsed_time: 263.399380210 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 22 22 4: 0 0 22 8: 1 11 33 16: 2 22 55 32: 1 11 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 944 (time 1784346804.22 total 10.00 last 94.38) - open/close 1882 (time 1784346814.23 total 20.01 last 93.74) - open/close 2813 (time 1784346824.24 total 30.01 last 93.06) - open/close 3749 (time 1784346834.24 total 40.01 last 93.58) - open/close 4709 (time 1784346844.24 total 50.02 last 95.99) - open/close 5643 (time 1784346854.24 total 60.02 last 93.39) - open/close 6643 (time 1784346864.25 total 70.02 last 99.94) - open/close 7731 (time 1784346874.25 total 80.02 last 108.78) - open/close 8700 (time 1784346884.25 total 90.03 last 96.86) - open/close 9665 (time 1784346894.25 total 100.03 last 96.48) total: 10000 open/close in 103.12 seconds: 96.97 ops/second llite.lustre-ffff9cf184b28000.statahead_batch_max=0 llite.lustre-ffff9cf184b28000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.548s user 0m0.302s sys 0m22.156s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cf184b28000.statahead_batch_max=256 llite.lustre-ffff9cf184b28000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cf184b28000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cf184b28000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.980s user 0m0.310s sys 0m19.242s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346994.990410122 secs.nsecs start_time: 1784346946.553278787 secs.nsecs elapsed_time: 48.437131335 secs.nsecs subreqs per batch batches %% cum %% 1: 263 58 58 2: 65 14 72 4: 50 11 84 8: 10 2 86 16: 5 1 87 32: 18 4 91 64: 5 1 92 128: 0 0 92 256: 34 7 100 mdc.lustre-MDT0001-mdc-ffff9cf184b28000.batch_stats= snapshot_time: 1784346994.990485322 secs.nsecs start_time: 1784346946.553360094 secs.nsecs elapsed_time: 48.437125228 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-ffff9cf184b28000.statahead_batch_max=64 llite.lustre-ffff9cf184b28000.statahead_max=128