== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:14:48 (1787753688) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=0 llite.lustre-ffff933b35e5a800.statahead_max=32 llite.lustre-ffff933b35e5a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.46 seconds: 40.61 ops/second llite.lustre-ffff933b35e5a800.statahead_max=0 101 real 0m2.637s user 0m0.008s sys 0m0.335s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff933b35e5a800.statahead_max=32 llite.lustre-ffff933b35e5a800.statahead_max=32 101 real 0m1.142s user 0m0.007s sys 0m0.175s 'ls -l' 100 files with statahead: 1 sec statahead total: 140 statahead wrong: 2 agl total: 134 list_total: 31 fname_total: 96 hit_total: 3775 miss_total: 1753 swrong=2 ewrong=2 - open/close 679 (time 1787753718.21 total 10.01 last 67.85) total: 900 open/close in 13.60 seconds: 66.19 ops/second llite.lustre-ffff933b35e5a800.statahead_max=0 1001 real 0m23.104s user 0m0.042s sys 0m3.155s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff933b35e5a800.statahead_max=32 llite.lustre-ffff933b35e5a800.statahead_max=32 1001 real 0m11.276s user 0m0.029s sys 0m1.536s 'ls -l' 1000 files with statahead: 12 sec statahead total: 141 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 96 hit_total: 4773 miss_total: 1755 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff933b35e5a800.statahead_stats= statahead total: 141 statahead wrong: 2 agl total: 135 list_total: 32 fname_total: 96 hit_total: 4773 miss_total: 1755 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787753800.607793634 secs.nsecs start_time: 1787753694.499316448 secs.nsecs elapsed_time: 106.108477186 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 1 2 7 8: 5 12 20 16: 20 50 70 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787753800.607883078 secs.nsecs start_time: 1787753694.499398296 secs.nsecs elapsed_time: 106.108484782 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 3 7 12 8: 2 5 17 16: 20 50 67 32: 13 32 100 - open/close 518 (time 1787753813.94 total 10.02 last 51.70) - open/close 1040 (time 1787753823.95 total 20.03 last 52.14) - open/close 1557 (time 1787753833.96 total 30.03 last 51.68) - open/close 2149 (time 1787753843.98 total 40.05 last 59.09) - open/close 2729 (time 1787753853.99 total 50.07 last 57.93) - open/close 3286 (time 1787753863.99 total 60.07 last 55.68) - open/close 3732 (time 1787753873.99 total 70.07 last 44.59) - open/close 4223 (time 1787753884.01 total 80.08 last 49.03) - open/close 4584 (time 1787753894.03 total 90.11 last 36.02) - open/close 5043 (time 1787753904.04 total 100.11 last 45.87) - open/close 5650 (time 1787753914.05 total 110.13 last 60.62) - open/close 6139 (time 1787753924.06 total 120.14 last 48.84) - open/close 6764 (time 1787753934.07 total 130.15 last 62.45) - open/close 7345 (time 1787753944.08 total 140.16 last 58.03) - open/close 7923 (time 1787753954.08 total 150.16 last 57.80) - open/close 8465 (time 1787753964.10 total 160.17 last 54.12) - open/close 9044 (time 1787753974.10 total 170.17 last 57.89) - open/close 9650 (time 1787753984.11 total 180.18 last 60.55) total: 10000 open/close in 186.05 seconds: 53.75 ops/second llite.lustre-ffff933b35e5a800.statahead_batch_max=0 llite.lustre-ffff933b35e5a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.793s user 0m0.339s sys 0m15.330s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff933b35e5a800.statahead_batch_max=32 llite.lustre-ffff933b35e5a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m5.704s user 0m0.318s sys 0m14.668s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787754214.416916153 secs.nsecs start_time: 1787754075.651970632 secs.nsecs elapsed_time: 138.764945521 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-ffff933b35e5a800.batch_stats= snapshot_time: 1787754214.416997111 secs.nsecs start_time: 1787754075.652456167 secs.nsecs elapsed_time: 138.764540944 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=0 llite.lustre-ffff933b35e5a800.statahead_max=2048 llite.lustre-ffff933b35e5a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.51 seconds: 39.92 ops/second llite.lustre-ffff933b35e5a800.statahead_max=0 101 real 0m2.682s user 0m0.002s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff933b35e5a800.statahead_max=2048 llite.lustre-ffff933b35e5a800.statahead_max=2048 101 real 0m0.787s user 0m0.004s sys 0m0.175s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 714 (time 1787754552.94 total 10.00 last 71.38) total: 900 open/close in 12.85 seconds: 70.05 ops/second llite.lustre-ffff933b35e5a800.statahead_max=0 1001 real 0m26.416s user 0m0.034s sys 0m3.133s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff933b35e5a800.statahead_max=2048 llite.lustre-ffff933b35e5a800.statahead_max=2048 1001 real 0m6.544s user 0m0.035s sys 0m1.475s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff933b35e5a800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787754630.599453099 secs.nsecs start_time: 1787754216.946448088 secs.nsecs elapsed_time: 413.653005011 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 0 0 11 8: 4 44 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787754630.599520207 secs.nsecs start_time: 1787754216.946808841 secs.nsecs elapsed_time: 413.652711366 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 2 22 33 8: 2 22 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 777 (time 1787754643.67 total 10.01 last 77.66) - open/close 1517 (time 1787754653.69 total 20.03 last 73.85) - open/close 2347 (time 1787754663.70 total 30.03 last 82.96) - open/close 3215 (time 1787754673.71 total 40.04 last 86.72) - open/close 4013 (time 1787754683.72 total 50.06 last 79.66) - open/close 4821 (time 1787754693.72 total 60.06 last 80.80) - open/close 5575 (time 1787754703.73 total 70.06 last 75.39) - open/close 6333 (time 1787754713.74 total 80.07 last 75.71) - open/close 7128 (time 1787754723.74 total 90.08 last 79.46) - open/close 7853 (time 1787754733.75 total 100.08 last 72.44) - open/close 8642 (time 1787754743.76 total 110.09 last 78.86) - open/close 9291 (time 1787754753.77 total 120.10 last 64.81) - open/close 9854 (time 1787754763.79 total 130.12 last 56.21) total: 10000 open/close in 131.95 seconds: 75.79 ops/second llite.lustre-ffff933b35e5a800.statahead_batch_max=0 llite.lustre-ffff933b35e5a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.132s user 0m0.342s sys 0m15.171s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff933b35e5a800.statahead_batch_max=256 llite.lustre-ffff933b35e5a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff933b35e5a800.stats=clear mdc.lustre-MDT0001-mdc-ffff933b35e5a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.035s user 0m0.308s sys 0m15.047s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787754915.939978653 secs.nsecs start_time: 1787754852.426552958 secs.nsecs elapsed_time: 63.513425695 secs.nsecs subreqs per batch batches %% cum %% 1: 180 50 50 2: 52 14 64 4: 37 10 74 8: 20 5 80 16: 14 3 84 32: 14 3 88 64: 7 1 90 128: 1 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff933b35e5a800.batch_stats= snapshot_time: 1787754915.940047388 secs.nsecs start_time: 1787754852.426974386 secs.nsecs elapsed_time: 63.513073002 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-ffff933b35e5a800.statahead_batch_max=64 llite.lustre-ffff933b35e5a800.statahead_max=128