== sanity test 123ad: Verify batching statahead works correctly ========================================================== 08:40:04 (1775047204) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats=0 llite.lustre-ffff8cad11696000.statahead_max=32 llite.lustre-ffff8cad11696000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats=0 total: 100 open/close in 0.72 seconds: 138.98 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 101 real 0m0.632s user 0m0.003s sys 0m0.249s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8cad11696000.statahead_max=32 32 101 real 0m0.394s user 0m0.004s sys 0m0.228s ls -l 100 files with statahead: 0 sec statahead total: 83 statahead wrong: 2 agl total: 77 list_total: 30 fname_total: 39 hit_total: 34101 miss_total: 693 total: 900 open/close in 2.58 seconds: 349.03 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 1001 real 0m8.040s user 0m0.019s sys 0m2.876s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff8cad11696000.statahead_max=32 32 1001 real 0m3.799s user 0m0.013s sys 0m2.117s ls -l 1000 files with statahead: 4 sec statahead total: 84 statahead wrong: 2 agl total: 78 list_total: 31 fname_total: 39 hit_total: 35100 miss_total: 694 - open/close 3630 (time 1775047237.90 total 10.00 last 362.90) - open/close 7098 (time 1775047247.90 total 20.00 last 346.79) total: 9000 open/close in 25.20 seconds: 357.12 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 10001 real 1m14.683s user 0m0.189s sys 0m25.675s ls -l 10000 files without statahead: 74 sec llite.lustre-ffff8cad11696000.statahead_max=32 32 10001 real 0m37.824s user 0m0.141s sys 0m20.495s ls -l 10000 files with statahead: 38 sec statahead total: 85 statahead wrong: 2 agl total: 79 list_total: 32 fname_total: 39 hit_total: 45099 miss_total: 695 ls -l done rm -r /mnt/lustre/d123ad.sanity: 70 seconds llite.lustre-ffff8cad11696000.statahead_stats= statahead total: 85 statahead wrong: 2 agl total: 79 list_total: 32 fname_total: 39 hit_total: 45099 miss_total: 695 mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats= snapshot_time: 1775047447.353090843 secs.nsecs start_time: 1775047206.189442730 secs.nsecs elapsed_time: 241.163648113 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 3169 (time 1775047458.49 total 10.00 last 316.79) - open/close 6757 (time 1775047468.49 total 20.01 last 358.73) total: 10000 open/close in 28.95 seconds: 345.45 ops/second llite.lustre-ffff8cad11696000.statahead_batch_max=0 llite.lustre-ffff8cad11696000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.905s user 0m0.123s sys 0m29.020s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cad11696000.statahead_batch_max=32 llite.lustre-ffff8cad11696000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.085s user 0m0.146s sys 0m21.762s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats= snapshot_time: 1775047557.137424027 secs.nsecs start_time: 1775047511.961784873 secs.nsecs elapsed_time: 45.175639154 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-ffff8cad11696000.batch_stats=0 llite.lustre-ffff8cad11696000.statahead_max=2048 llite.lustre-ffff8cad11696000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats=0 total: 100 open/close in 1.10 seconds: 90.61 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 101 real 0m0.633s user 0m0.005s sys 0m0.221s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8cad11696000.statahead_max=2048 2048 101 real 0m0.414s user 0m0.002s sys 0m0.274s 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 total: 900 open/close in 2.27 seconds: 396.72 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 1001 real 0m8.118s user 0m0.015s sys 0m2.733s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff8cad11696000.statahead_max=2048 2048 1001 real 0m3.055s user 0m0.015s sys 0m1.729s 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 - open/close 3329 (time 1775047687.87 total 10.00 last 332.77) - open/close 6740 (time 1775047697.87 total 20.00 last 341.10) total: 9000 open/close in 26.25 seconds: 342.85 ops/second llite.lustre-ffff8cad11696000.statahead_max=0 10001 real 0m59.084s user 0m0.155s sys 0m20.087s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff8cad11696000.statahead_max=2048 2048 10001 real 0m26.391s user 0m0.126s sys 0m17.356s ls -l 10000 files with statahead: 26 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 55 seconds llite.lustre-ffff8cad11696000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats= snapshot_time: 1775047858.462223038 secs.nsecs start_time: 1775047558.126469047 secs.nsecs elapsed_time: 300.335753991 secs.nsecs subreqs per batch batches % cum % 1: 265 56 56 2: 71 15 71 4: 47 9 80 8: 15 3 84 16: 12 2 86 32: 22 4 91 64: 1 0 91 128: 2 0 91 256: 38 8 100 - open/close 4034 (time 1775047869.63 total 10.00 last 403.40) - open/close 6830 (time 1775047879.64 total 20.00 last 279.51) - open/close 9704 (time 1775047889.64 total 30.00 last 287.38) total: 10000 open/close in 30.73 seconds: 325.45 ops/second llite.lustre-ffff8cad11696000.statahead_batch_max=0 llite.lustre-ffff8cad11696000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.025s user 0m0.129s sys 0m25.261s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cad11696000.statahead_batch_max=256 llite.lustre-ffff8cad11696000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cad11696000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.371s user 0m0.136s sys 0m17.656s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cad11696000.batch_stats= snapshot_time: 1775047957.195756056 secs.nsecs start_time: 1775047924.218065045 secs.nsecs elapsed_time: 32.977691011 secs.nsecs subreqs per batch batches % cum % 1: 395 65 65 2: 81 13 79 4: 52 8 87 8: 14 2 90 16: 3 0 90 32: 23 3 94 64: 0 0 94 128: 0 0 94 256: 34 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8cad11696000.statahead_batch_max=64 llite.lustre-ffff8cad11696000.statahead_max=128