== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:28:37 (1782869317) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats=0 llite.lustre-ffff9493c80af800.statahead_max=32 llite.lustre-ffff9493c80af800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats=0 total: 100 open/close in 0.80 seconds: 125.72 ops/second llite.lustre-ffff9493c80af800.statahead_max=0 101 real 0m0.593s user 0m0.004s sys 0m0.207s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9493c80af800.statahead_max=32 llite.lustre-ffff9493c80af800.statahead_max=32 101 real 0m0.374s user 0m0.004s sys 0m0.223s 'ls -l' 100 files with statahead: 1 sec statahead total: 54 statahead wrong: 1 agl total: 50 list_total: 26 fname_total: 28 hit_total: 13665 miss_total: 208 swrong=1 ewrong=1 total: 900 open/close in 2.06 seconds: 437.86 ops/second llite.lustre-ffff9493c80af800.statahead_max=0 1001 real 0m6.069s user 0m0.015s sys 0m2.138s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9493c80af800.statahead_max=32 llite.lustre-ffff9493c80af800.statahead_max=32 1001 real 0m3.915s user 0m0.016s sys 0m2.206s 'ls -l' 1000 files with statahead: 4 sec statahead total: 55 statahead wrong: 1 agl total: 51 list_total: 27 fname_total: 28 hit_total: 14664 miss_total: 209 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff9493c80af800.statahead_stats= statahead total: 55 statahead wrong: 1 agl total: 51 list_total: 27 fname_total: 28 hit_total: 14664 miss_total: 209 mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats= snapshot_time: 1782869345.184440373 secs.nsecs start_time: 1782869318.584801655 secs.nsecs elapsed_time: 26.599638718 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 2949 (time 1782869356.77 total 10.00 last 294.87) - open/close 5754 (time 1782869366.78 total 20.01 last 280.38) - open/close 8641 (time 1782869376.78 total 30.01 last 288.65) total: 10000 open/close in 35.02 seconds: 285.59 ops/second llite.lustre-ffff9493c80af800.statahead_batch_max=0 llite.lustre-ffff9493c80af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.835s user 0m0.125s sys 0m47.490s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9493c80af800.statahead_batch_max=32 llite.lustre-ffff9493c80af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.852s user 0m0.164s sys 0m23.764s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats= snapshot_time: 1782869487.882687182 secs.nsecs start_time: 1782869434.935657375 secs.nsecs elapsed_time: 52.947029807 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-ffff9493c80af800.batch_stats=0 llite.lustre-ffff9493c80af800.statahead_max=2048 llite.lustre-ffff9493c80af800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats=0 total: 100 open/close in 1.13 seconds: 88.20 ops/second llite.lustre-ffff9493c80af800.statahead_max=0 101 real 0m1.356s user 0m0.006s sys 0m0.327s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9493c80af800.statahead_max=2048 llite.lustre-ffff9493c80af800.statahead_max=2048 101 real 0m0.485s user 0m0.002s sys 0m0.322s '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 3.08 seconds: 291.94 ops/second llite.lustre-ffff9493c80af800.statahead_max=0 1001 real 0m8.802s user 0m0.030s sys 0m3.089s 'ls -l' 1000 files without statahead: 9 sec llite.lustre-ffff9493c80af800.statahead_max=2048 llite.lustre-ffff9493c80af800.statahead_max=2048 1001 real 0m3.317s user 0m0.015s sys 0m2.046s 'ls -l' 1000 files with statahead: 4 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: 9 seconds llite.lustre-ffff9493c80af800.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-ffff9493c80af800.batch_stats= snapshot_time: 1782869638.707999562 secs.nsecs start_time: 1782869488.906566285 secs.nsecs elapsed_time: 149.801433277 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 2927 (time 1782869649.87 total 10.00 last 292.60) - open/close 5864 (time 1782869659.87 total 20.00 last 293.67) - open/close 8750 (time 1782869669.87 total 30.01 last 288.54) total: 10000 open/close in 33.82 seconds: 295.68 ops/second llite.lustre-ffff9493c80af800.statahead_batch_max=0 llite.lustre-ffff9493c80af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.803s user 0m0.148s sys 0m45.586s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9493c80af800.statahead_batch_max=256 llite.lustre-ffff9493c80af800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9493c80af800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.689s user 0m0.128s sys 0m28.244s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9493c80af800.batch_stats= snapshot_time: 1782869784.019271210 secs.nsecs start_time: 1782869729.652203724 secs.nsecs elapsed_time: 54.367067486 secs.nsecs subreqs per batch batches %% cum %% 1: 525 77 77 2: 80 11 89 4: 8 1 90 8: 3 0 90 16: 4 0 91 32: 20 2 94 64: 3 0 94 128: 0 0 94 256: 34 5 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-ffff9493c80af800.statahead_batch_max=64 llite.lustre-ffff9493c80af800.statahead_max=128