== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:56:38 (1784944598) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=0 llite.lustre-ffff99630322e800.statahead_max=32 llite.lustre-ffff99630322e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.56 seconds: 178.54 ops/second llite.lustre-ffff99630322e800.statahead_max=0 101 real 0m0.537s user 0m0.004s sys 0m0.209s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff99630322e800.statahead_max=32 llite.lustre-ffff99630322e800.statahead_max=32 101 real 0m0.415s user 0m0.000s sys 0m0.204s 'ls -l' 100 files with statahead: 0 sec statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 80 hit_total: 4020 miss_total: 1515 swrong=2 ewrong=2 total: 900 open/close in 2.04 seconds: 440.38 ops/second llite.lustre-ffff99630322e800.statahead_max=0 1001 real 0m6.339s user 0m0.031s sys 0m2.440s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff99630322e800.statahead_max=32 llite.lustre-ffff99630322e800.statahead_max=32 1001 real 0m3.803s user 0m0.018s sys 0m1.851s 'ls -l' 1000 files with statahead: 4 sec statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 32 fname_total: 80 hit_total: 5019 miss_total: 1516 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 4 seconds llite.lustre-ffff99630322e800.statahead_stats= statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 32 fname_total: 80 hit_total: 5019 miss_total: 1516 mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944623.904689603 secs.nsecs start_time: 1784944600.239062166 secs.nsecs elapsed_time: 23.665627437 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 4 10 17 16: 18 46 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944623.904764935 secs.nsecs start_time: 1784944600.239114629 secs.nsecs elapsed_time: 23.665650306 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 10 10 8: 1 2 12 16: 20 51 64 32: 14 35 100 - open/close 5056 (time 1784944635.50 total 10.00 last 505.55) - open/close 9774 (time 1784944645.50 total 20.00 last 471.72) total: 10000 open/close in 20.46 seconds: 488.67 ops/second llite.lustre-ffff99630322e800.statahead_batch_max=0 llite.lustre-ffff99630322e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.682s user 0m0.138s sys 0m33.807s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99630322e800.statahead_batch_max=32 llite.lustre-ffff99630322e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.666s user 0m0.176s sys 0m23.814s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944732.546322725 secs.nsecs start_time: 1784944684.547491187 secs.nsecs elapsed_time: 47.998831538 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 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944732.546368035 secs.nsecs start_time: 1784944684.547538806 secs.nsecs elapsed_time: 47.998829229 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=0 llite.lustre-ffff99630322e800.statahead_max=2048 llite.lustre-ffff99630322e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.68 seconds: 147.58 ops/second llite.lustre-ffff99630322e800.statahead_max=0 101 real 0m0.625s user 0m0.004s sys 0m0.247s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff99630322e800.statahead_max=2048 llite.lustre-ffff99630322e800.statahead_max=2048 101 real 0m0.355s user 0m0.002s sys 0m0.279s '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 1.90 seconds: 473.40 ops/second llite.lustre-ffff99630322e800.statahead_max=0 1001 real 0m5.897s user 0m0.018s sys 0m2.266s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff99630322e800.statahead_max=2048 llite.lustre-ffff99630322e800.statahead_max=2048 1001 real 0m3.454s user 0m0.010s sys 0m1.357s '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-ffff99630322e800.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-ffff99630322e800.batch_stats= snapshot_time: 1784944843.799228122 secs.nsecs start_time: 1784944733.381436031 secs.nsecs elapsed_time: 110.417792091 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 1 16 33 8: 2 33 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944843.799284809 secs.nsecs start_time: 1784944733.381609964 secs.nsecs elapsed_time: 110.417674845 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 1 11 33 16: 1 11 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 4816 (time 1784944854.64 total 10.00 last 481.52) - open/close 9611 (time 1784944864.64 total 20.00 last 479.49) total: 10000 open/close in 20.80 seconds: 480.68 ops/second llite.lustre-ffff99630322e800.statahead_batch_max=0 llite.lustre-ffff99630322e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.863s user 0m0.172s sys 0m38.191s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99630322e800.statahead_batch_max=256 llite.lustre-ffff99630322e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99630322e800.stats=clear mdc.lustre-MDT0001-mdc-ffff99630322e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.985s user 0m0.151s sys 0m22.934s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944950.607058349 secs.nsecs start_time: 1784944913.433231387 secs.nsecs elapsed_time: 37.173826962 secs.nsecs subreqs per batch batches %% cum %% 1: 341 71 71 2: 45 9 80 4: 25 5 85 8: 7 1 87 16: 4 0 87 32: 23 4 92 64: 0 0 92 128: 1 0 92 256: 34 7 100 mdc.lustre-MDT0001-mdc-ffff99630322e800.batch_stats= snapshot_time: 1784944950.607098909 secs.nsecs start_time: 1784944913.433283025 secs.nsecs elapsed_time: 37.173815884 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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-ffff99630322e800.statahead_batch_max=64 llite.lustre-ffff99630322e800.statahead_max=128