== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:57:02 (1788875822) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=0 llite.lustre-ffff8cc5fbc97800.statahead_max=32 llite.lustre-ffff8cc5fbc97800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=0 total: 100 open/close in 2.09 seconds: 47.88 ops/second llite.lustre-ffff8cc5fbc97800.statahead_max=0 101 real 0m1.845s user 0m0.004s sys 0m0.280s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cc5fbc97800.statahead_max=32 llite.lustre-ffff8cc5fbc97800.statahead_max=32 101 real 0m0.636s user 0m0.004s sys 0m0.139s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 109 list_total: 30 fname_total: 67 hit_total: 3993 miss_total: 1654 swrong=2 ewrong=2 - open/close 893 (time 1788875845.07 total 10.00 last 89.28) total: 900 open/close in 10.05 seconds: 89.55 ops/second llite.lustre-ffff8cc5fbc97800.statahead_max=0 1001 real 0m16.985s user 0m0.027s sys 0m2.685s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8cc5fbc97800.statahead_max=32 llite.lustre-ffff8cc5fbc97800.statahead_max=32 1001 real 0m8.018s user 0m0.024s sys 0m1.310s 'ls -l' 1000 files with statahead: 8 sec statahead total: 119 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 67 hit_total: 4991 miss_total: 1656 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8cc5fbc97800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 67 hit_total: 4991 miss_total: 1656 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats= snapshot_time: 1788875899.224292458 secs.nsecs start_time: 1788875826.463360107 secs.nsecs elapsed_time: 72.760932351 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 713 (time 1788875911.16 total 10.01 last 71.26) - open/close 1557 (time 1788875921.17 total 20.01 last 84.38) - open/close 2539 (time 1788875931.17 total 30.02 last 98.12) - open/close 3491 (time 1788875941.19 total 40.03 last 95.06) - open/close 4527 (time 1788875951.19 total 50.03 last 103.56) - open/close 5558 (time 1788875961.19 total 60.03 last 103.09) - open/close 6583 (time 1788875971.20 total 70.04 last 102.44) - open/close 7663 (time 1788875981.20 total 80.04 last 107.96) - open/close 8599 (time 1788875991.21 total 90.05 last 93.52) - open/close 9491 (time 1788876001.22 total 100.06 last 89.16) total: 10000 open/close in 105.94 seconds: 94.39 ops/second llite.lustre-ffff8cc5fbc97800.statahead_batch_max=0 llite.lustre-ffff8cc5fbc97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.860s user 0m0.299s sys 0m17.354s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc5fbc97800.statahead_batch_max=32 llite.lustre-ffff8cc5fbc97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.377s user 0m0.250s sys 0m12.939s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats= snapshot_time: 1788876128.394892492 secs.nsecs start_time: 1788876053.560660412 secs.nsecs elapsed_time: 74.834232080 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=0 llite.lustre-ffff8cc5fbc97800.statahead_max=2048 llite.lustre-ffff8cc5fbc97800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=0 total: 100 open/close in 2.43 seconds: 41.09 ops/second llite.lustre-ffff8cc5fbc97800.statahead_max=0 101 real 0m1.975s user 0m0.008s sys 0m0.327s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cc5fbc97800.statahead_max=2048 llite.lustre-ffff8cc5fbc97800.statahead_max=2048 101 real 0m0.717s user 0m0.004s sys 0m0.198s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 836 (time 1788876383.39 total 10.01 last 83.54) total: 900 open/close in 10.88 seconds: 82.74 ops/second llite.lustre-ffff8cc5fbc97800.statahead_max=0 1001 real 0m17.989s user 0m0.042s sys 0m2.947s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8cc5fbc97800.statahead_max=2048 llite.lustre-ffff8cc5fbc97800.statahead_max=2048 1001 real 0m5.369s user 0m0.024s sys 0m1.458s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8cc5fbc97800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats= snapshot_time: 1788876434.459695312 secs.nsecs start_time: 1788876130.245474598 secs.nsecs elapsed_time: 304.214220714 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 1 11 33 32: 1 11 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 844 (time 1788876446.87 total 10.01 last 84.32) - open/close 1671 (time 1788876456.88 total 20.01 last 82.69) - open/close 2681 (time 1788876466.88 total 30.01 last 100.98) - open/close 3622 (time 1788876476.89 total 40.02 last 94.01) - open/close 4430 (time 1788876486.89 total 50.03 last 80.74) - open/close 5227 (time 1788876496.90 total 60.03 last 79.66) - open/close 6039 (time 1788876506.91 total 70.05 last 81.09) - open/close 6990 (time 1788876516.93 total 80.06 last 94.97) - open/close 7916 (time 1788876526.94 total 90.07 last 92.51) - open/close 8947 (time 1788876536.94 total 100.07 last 103.09) - open/close 9976 (time 1788876546.94 total 110.08 last 102.87) total: 10000 open/close in 110.29 seconds: 90.67 ops/second llite.lustre-ffff8cc5fbc97800.statahead_batch_max=0 llite.lustre-ffff8cc5fbc97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.481s user 0m0.300s sys 0m16.540s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc5fbc97800.statahead_batch_max=256 llite.lustre-ffff8cc5fbc97800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.865s user 0m0.244s sys 0m14.576s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cc5fbc97800.batch_stats= snapshot_time: 1788876634.472036392 secs.nsecs start_time: 1788876595.251310217 secs.nsecs elapsed_time: 39.220726175 secs.nsecs subreqs per batch batches %% cum %% 1: 93 47 47 2: 13 6 54 4: 17 8 62 8: 9 4 67 16: 6 3 70 32: 15 7 78 64: 7 3 81 128: 1 0 82 256: 35 17 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-ffff8cc5fbc97800.statahead_batch_max=64 llite.lustre-ffff8cc5fbc97800.statahead_max=128