== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:34:26 (1784086466) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=0 llite.lustre-ffff9a6eda5d4800.statahead_max=32 llite.lustre-ffff9a6eda5d4800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=0 total: 100 open/close in 0.64 seconds: 156.03 ops/second llite.lustre-ffff9a6eda5d4800.statahead_max=0 101 real 0m0.553s user 0m0.003s sys 0m0.221s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9a6eda5d4800.statahead_max=32 llite.lustre-ffff9a6eda5d4800.statahead_max=32 101 real 0m0.376s user 0m0.005s sys 0m0.183s 'ls -l' 100 files with statahead: 0 sec statahead total: 57 statahead wrong: 1 agl total: 53 list_total: 25 fname_total: 32 hit_total: 14123 miss_total: 199 swrong=1 ewrong=1 total: 900 open/close in 1.90 seconds: 472.81 ops/second llite.lustre-ffff9a6eda5d4800.statahead_max=0 1001 real 0m5.919s user 0m0.022s sys 0m2.266s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a6eda5d4800.statahead_max=32 llite.lustre-ffff9a6eda5d4800.statahead_max=32 1001 real 0m3.544s user 0m0.013s sys 0m2.049s 'ls -l' 1000 files with statahead: 4 sec statahead total: 58 statahead wrong: 1 agl total: 54 list_total: 26 fname_total: 32 hit_total: 15122 miss_total: 200 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff9a6eda5d4800.statahead_stats= statahead total: 58 statahead wrong: 1 agl total: 54 list_total: 26 fname_total: 32 hit_total: 15122 miss_total: 200 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats= snapshot_time: 1784086491.143056648 secs.nsecs start_time: 1784086467.614481707 secs.nsecs elapsed_time: 23.528574941 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 4934 (time 1784086501.91 total 10.02 last 492.48) - open/close 9853 (time 1784086511.92 total 20.02 last 491.80) total: 10000 open/close in 20.33 seconds: 491.92 ops/second llite.lustre-ffff9a6eda5d4800.statahead_batch_max=0 llite.lustre-ffff9a6eda5d4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.425s user 0m0.152s sys 0m29.091s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a6eda5d4800.statahead_batch_max=32 llite.lustre-ffff9a6eda5d4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.247s user 0m0.143s sys 0m20.688s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats= snapshot_time: 1784086586.303119509 secs.nsecs start_time: 1784086545.292552224 secs.nsecs elapsed_time: 41.010567285 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: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=0 llite.lustre-ffff9a6eda5d4800.statahead_max=2048 llite.lustre-ffff9a6eda5d4800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=0 total: 100 open/close in 0.64 seconds: 156.03 ops/second llite.lustre-ffff9a6eda5d4800.statahead_max=0 101 real 0m0.593s user 0m0.006s sys 0m0.237s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9a6eda5d4800.statahead_max=2048 llite.lustre-ffff9a6eda5d4800.statahead_max=2048 101 real 0m0.360s user 0m0.001s sys 0m0.227s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 2.05 seconds: 438.66 ops/second llite.lustre-ffff9a6eda5d4800.statahead_max=0 1001 real 0m5.642s user 0m0.021s sys 0m2.194s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a6eda5d4800.statahead_max=2048 llite.lustre-ffff9a6eda5d4800.statahead_max=2048 1001 real 0m3.162s user 0m0.011s sys 0m1.838s 'ls -l' 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff9a6eda5d4800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats= snapshot_time: 1784086696.706403698 secs.nsecs start_time: 1784086587.086462529 secs.nsecs elapsed_time: 109.619941169 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 4414 (time 1784086707.43 total 10.00 last 441.34) - open/close 9162 (time 1784086717.43 total 20.00 last 474.73) total: 10000 open/close in 21.85 seconds: 457.64 ops/second llite.lustre-ffff9a6eda5d4800.statahead_batch_max=0 llite.lustre-ffff9a6eda5d4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.586s user 0m0.148s sys 0m25.732s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a6eda5d4800.statahead_batch_max=256 llite.lustre-ffff9a6eda5d4800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.722s user 0m0.180s sys 0m21.315s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a6eda5d4800.batch_stats= snapshot_time: 1784086787.839195066 secs.nsecs start_time: 1784086751.764384746 secs.nsecs elapsed_time: 36.074810320 secs.nsecs subreqs per batch batches %% cum %% 1: 383 67 67 2: 68 12 79 4: 38 6 86 8: 14 2 89 16: 6 1 90 32: 21 3 93 64: 1 0 93 128: 0 0 93 256: 34 6 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-ffff9a6eda5d4800.statahead_batch_max=64 llite.lustre-ffff9a6eda5d4800.statahead_max=128