== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:29:41 (1790882981) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats=0 llite.lustre-ffff8a1388273000.statahead_max=32 llite.lustre-ffff8a1388273000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats=0 total: 100 open/close in 0.79 seconds: 127.06 ops/second llite.lustre-ffff8a1388273000.statahead_max=0 101 real 0m0.688s user 0m0.006s sys 0m0.246s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff8a1388273000.statahead_max=32 llite.lustre-ffff8a1388273000.statahead_max=32 101 real 0m0.452s user 0m0.005s sys 0m0.299s 'ls -l' 100 files with statahead: 1 sec statahead total: 58 statahead wrong: 2 agl total: 53 list_total: 26 fname_total: 32 hit_total: 24042 miss_total: 973 swrong=2 ewrong=2 total: 900 open/close in 2.72 seconds: 330.98 ops/second llite.lustre-ffff8a1388273000.statahead_max=0 1001 real 0m7.598s user 0m0.035s sys 0m2.503s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff8a1388273000.statahead_max=32 llite.lustre-ffff8a1388273000.statahead_max=32 1001 real 0m3.664s user 0m0.021s sys 0m2.041s 'ls -l' 1000 files with statahead: 4 sec statahead total: 59 statahead wrong: 2 agl total: 54 list_total: 27 fname_total: 32 hit_total: 25041 miss_total: 974 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff8a1388273000.statahead_stats= statahead total: 59 statahead wrong: 2 agl total: 54 list_total: 27 fname_total: 32 hit_total: 25041 miss_total: 974 mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats= snapshot_time: 1790883010.408017502 secs.nsecs start_time: 1790882983.333285733 secs.nsecs elapsed_time: 27.074731769 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 3254 (time 1790883021.25 total 10.00 last 325.27) - open/close 6821 (time 1790883031.25 total 20.00 last 356.67) total: 10000 open/close in 28.09 seconds: 355.99 ops/second llite.lustre-ffff8a1388273000.statahead_batch_max=0 llite.lustre-ffff8a1388273000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.071s user 0m0.209s sys 0m28.916s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a1388273000.statahead_batch_max=32 llite.lustre-ffff8a1388273000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.171s user 0m0.186s sys 0m20.324s batched statahead RPC= hit count=9998 mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats= snapshot_time: 1790883115.011530528 secs.nsecs start_time: 1790883074.109368465 secs.nsecs elapsed_time: 40.902162063 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-ffff8a1388273000.batch_stats=0 llite.lustre-ffff8a1388273000.statahead_max=2048 llite.lustre-ffff8a1388273000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats=0 total: 100 open/close in 0.77 seconds: 130.49 ops/second llite.lustre-ffff8a1388273000.statahead_max=0 101 real 0m0.637s user 0m0.003s sys 0m0.231s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8a1388273000.statahead_max=2048 llite.lustre-ffff8a1388273000.statahead_max=2048 101 real 0m0.368s user 0m0.003s sys 0m0.213s '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: 10097 miss_total: 3 swrong=0 ewrong=0 total: 900 open/close in 2.20 seconds: 409.88 ops/second llite.lustre-ffff8a1388273000.statahead_max=0 1001 real 0m6.350s user 0m0.020s sys 0m2.281s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8a1388273000.statahead_max=2048 llite.lustre-ffff8a1388273000.statahead_max=2048 1001 real 0m4.099s user 0m0.015s sys 0m1.073s '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: 11096 miss_total: 4 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff8a1388273000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats= snapshot_time: 1790883230.327563618 secs.nsecs start_time: 1790883115.812936533 secs.nsecs elapsed_time: 114.514627085 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 4003 (time 1790883241.13 total 10.00 last 400.29) - open/close 8319 (time 1790883251.13 total 20.00 last 431.52) total: 10000 open/close in 23.57 seconds: 424.20 ops/second llite.lustre-ffff8a1388273000.statahead_batch_max=0 llite.lustre-ffff8a1388273000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.144s user 0m0.242s sys 0m32.751s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a1388273000.statahead_batch_max=256 llite.lustre-ffff8a1388273000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a1388273000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.085s user 0m0.177s sys 0m19.666s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8a1388273000.batch_stats= snapshot_time: 1790883332.029114453 secs.nsecs start_time: 1790883297.575212146 secs.nsecs elapsed_time: 34.453902307 secs.nsecs subreqs per batch batches %% cum %% 1: 339 63 63 2: 72 13 76 4: 57 10 87 8: 8 1 88 16: 1 0 88 32: 24 4 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-ffff8a1388273000.statahead_batch_max=64 llite.lustre-ffff8a1388273000.statahead_max=128