== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:42:24 (1782535344) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats=0 llite.lustre-ffff8b3a10d2a800.statahead_max=32 llite.lustre-ffff8b3a10d2a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats=0 total: 100 open/close in 0.65 seconds: 153.16 ops/second llite.lustre-ffff8b3a10d2a800.statahead_max=0 101 real 0m0.611s user 0m0.002s sys 0m0.243s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff8b3a10d2a800.statahead_max=32 llite.lustre-ffff8b3a10d2a800.statahead_max=32 101 real 0m0.397s user 0m0.003s sys 0m0.266s 'ls -l' 100 files with statahead: 0 sec statahead total: 97 statahead wrong: 2 agl total: 92 list_total: 29 fname_total: 68 hit_total: 13591 miss_total: 981 swrong=2 ewrong=2 total: 900 open/close in 1.91 seconds: 471.49 ops/second llite.lustre-ffff8b3a10d2a800.statahead_max=0 1001 real 0m6.099s user 0m0.018s sys 0m2.368s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff8b3a10d2a800.statahead_max=32 llite.lustre-ffff8b3a10d2a800.statahead_max=32 1001 real 0m4.452s user 0m0.015s sys 0m2.714s 'ls -l' 1000 files with statahead: 4 sec statahead total: 98 statahead wrong: 2 agl total: 93 list_total: 30 fname_total: 68 hit_total: 14590 miss_total: 982 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff8b3a10d2a800.statahead_stats= statahead total: 98 statahead wrong: 2 agl total: 93 list_total: 30 fname_total: 68 hit_total: 14590 miss_total: 982 mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats= snapshot_time: 1782535371.044262703 secs.nsecs start_time: 1782535345.459985837 secs.nsecs elapsed_time: 25.584276866 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 4206 (time 1782535382.82 total 10.00 last 420.52) - open/close 8448 (time 1782535392.82 total 20.00 last 424.16) total: 10000 open/close in 23.59 seconds: 423.94 ops/second llite.lustre-ffff8b3a10d2a800.statahead_batch_max=0 llite.lustre-ffff8b3a10d2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.585s user 0m0.164s sys 0m36.013s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b3a10d2a800.statahead_batch_max=32 llite.lustre-ffff8b3a10d2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.407s user 0m0.148s sys 0m22.519s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats= snapshot_time: 1782535483.681006940 secs.nsecs start_time: 1782535437.357052768 secs.nsecs elapsed_time: 46.323954172 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-ffff8b3a10d2a800.batch_stats=0 llite.lustre-ffff8b3a10d2a800.statahead_max=2048 llite.lustre-ffff8b3a10d2a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats=0 total: 100 open/close in 1.14 seconds: 87.44 ops/second llite.lustre-ffff8b3a10d2a800.statahead_max=0 101 real 0m0.654s user 0m0.003s sys 0m0.280s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8b3a10d2a800.statahead_max=2048 llite.lustre-ffff8b3a10d2a800.statahead_max=2048 101 real 0m0.503s user 0m0.002s sys 0m0.350s 'ls -l' 100 files with statahead: 0 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.92 ops/second llite.lustre-ffff8b3a10d2a800.statahead_max=0 1001 real 0m6.342s user 0m0.025s sys 0m2.448s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8b3a10d2a800.statahead_max=2048 llite.lustre-ffff8b3a10d2a800.statahead_max=2048 1001 real 0m4.123s user 0m0.024s sys 0m2.525s '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: 6 seconds llite.lustre-ffff8b3a10d2a800.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-ffff8b3a10d2a800.batch_stats= snapshot_time: 1782535601.165358064 secs.nsecs start_time: 1782535484.369843968 secs.nsecs elapsed_time: 116.795514096 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 4467 (time 1782535612.72 total 10.00 last 446.67) - open/close 8797 (time 1782535622.72 total 20.00 last 432.97) total: 10000 open/close in 22.74 seconds: 439.71 ops/second llite.lustre-ffff8b3a10d2a800.statahead_batch_max=0 llite.lustre-ffff8b3a10d2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.672s user 0m0.146s sys 0m28.986s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b3a10d2a800.statahead_batch_max=256 llite.lustre-ffff8b3a10d2a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.575s user 0m0.127s sys 0m18.581s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8b3a10d2a800.batch_stats= snapshot_time: 1782535693.809464700 secs.nsecs start_time: 1782535662.288623083 secs.nsecs elapsed_time: 31.520841617 secs.nsecs subreqs per batch batches %% cum %% 1: 338 62 62 2: 71 13 75 4: 59 10 86 8: 11 2 88 16: 6 1 89 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-ffff8b3a10d2a800.statahead_batch_max=64 llite.lustre-ffff8b3a10d2a800.statahead_max=128