== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:14:53 (1781032493) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats=0 llite.lustre-ffff9d9602a38000.statahead_max=32 llite.lustre-ffff9d9602a38000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats=0 total: 100 open/close in 0.69 seconds: 144.93 ops/second llite.lustre-ffff9d9602a38000.statahead_max=0 101 real 0m0.659s user 0m0.002s sys 0m0.249s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9d9602a38000.statahead_max=32 llite.lustre-ffff9d9602a38000.statahead_max=32 101 real 0m0.549s user 0m0.003s sys 0m0.327s 'ls -l' 100 files with statahead: 0 sec statahead total: 76 statahead wrong: 2 agl total: 71 list_total: 29 fname_total: 45 hit_total: 13976 miss_total: 1160 swrong=2 ewrong=2 total: 900 open/close in 1.97 seconds: 457.59 ops/second llite.lustre-ffff9d9602a38000.statahead_max=0 1001 real 0m6.026s user 0m0.017s sys 0m2.367s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9d9602a38000.statahead_max=32 llite.lustre-ffff9d9602a38000.statahead_max=32 1001 real 0m3.911s user 0m0.018s sys 0m2.265s 'ls -l' 1000 files with statahead: 4 sec statahead total: 77 statahead wrong: 2 agl total: 72 list_total: 30 fname_total: 45 hit_total: 14975 miss_total: 1161 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff9d9602a38000.statahead_stats= statahead total: 77 statahead wrong: 2 agl total: 72 list_total: 30 fname_total: 45 hit_total: 14975 miss_total: 1161 mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats= snapshot_time: 1781032520.114632916 secs.nsecs start_time: 1781032494.938153643 secs.nsecs elapsed_time: 25.176479273 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 4317 (time 1781032530.90 total 10.00 last 431.68) - open/close 8300 (time 1781032540.90 total 20.00 last 398.27) total: 10000 open/close in 24.13 seconds: 414.50 ops/second llite.lustre-ffff9d9602a38000.statahead_batch_max=0 llite.lustre-ffff9d9602a38000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.551s user 0m0.175s sys 0m35.886s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d9602a38000.statahead_batch_max=32 llite.lustre-ffff9d9602a38000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.817s user 0m0.155s sys 0m22.947s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats= snapshot_time: 1781032632.249676760 secs.nsecs start_time: 1781032585.760915617 secs.nsecs elapsed_time: 46.488761143 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-ffff9d9602a38000.batch_stats=0 llite.lustre-ffff9d9602a38000.statahead_max=2048 llite.lustre-ffff9d9602a38000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats=0 total: 100 open/close in 0.64 seconds: 155.40 ops/second llite.lustre-ffff9d9602a38000.statahead_max=0 101 real 0m0.616s user 0m0.005s sys 0m0.223s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9d9602a38000.statahead_max=2048 llite.lustre-ffff9d9602a38000.statahead_max=2048 101 real 0m0.396s user 0m0.004s 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 1.88 seconds: 478.69 ops/second llite.lustre-ffff9d9602a38000.statahead_max=0 1001 real 0m6.030s user 0m0.017s sys 0m2.335s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9d9602a38000.statahead_max=2048 llite.lustre-ffff9d9602a38000.statahead_max=2048 1001 real 0m3.881s user 0m0.013s sys 0m1.227s '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-ffff9d9602a38000.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-ffff9d9602a38000.batch_stats= snapshot_time: 1781032744.800562130 secs.nsecs start_time: 1781032633.144502354 secs.nsecs elapsed_time: 111.656059776 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 4526 (time 1781032755.58 total 10.00 last 452.52) - open/close 9054 (time 1781032765.58 total 20.00 last 452.73) total: 10000 open/close in 22.11 seconds: 452.21 ops/second llite.lustre-ffff9d9602a38000.statahead_batch_max=0 llite.lustre-ffff9d9602a38000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.581s user 0m0.145s sys 0m29.174s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d9602a38000.statahead_batch_max=256 llite.lustre-ffff9d9602a38000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d9602a38000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.830s user 0m0.158s sys 0m26.745s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d9602a38000.batch_stats= snapshot_time: 1781032848.734834988 secs.nsecs start_time: 1781032804.299576713 secs.nsecs elapsed_time: 44.435258275 secs.nsecs subreqs per batch batches % cum % 1: 316 63 63 2: 76 15 79 4: 34 6 86 8: 6 1 87 16: 7 1 88 32: 18 3 92 64: 2 0 92 128: 0 0 92 256: 35 7 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-ffff9d9602a38000.statahead_batch_max=64 llite.lustre-ffff9d9602a38000.statahead_max=128