== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:27:20 (1788625640) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=0 llite.lustre-ffff88e490157000.statahead_max=32 llite.lustre-ffff88e490157000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.14 seconds: 46.72 ops/second llite.lustre-ffff88e490157000.statahead_max=0 101 real 0m2.323s user 0m0.002s sys 0m0.288s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88e490157000.statahead_max=32 llite.lustre-ffff88e490157000.statahead_max=32 101 real 0m1.085s user 0m0.005s sys 0m0.153s 'ls -l' 100 files with statahead: 1 sec statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 31 fname_total: 75 hit_total: 4132 miss_total: 1292 swrong=2 ewrong=2 - open/close 885 (time 1788625667.03 total 10.01 last 88.45) total: 900 open/close in 10.20 seconds: 88.19 ops/second llite.lustre-ffff88e490157000.statahead_max=0 1001 real 0m20.888s user 0m0.036s sys 0m2.832s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff88e490157000.statahead_max=32 llite.lustre-ffff88e490157000.statahead_max=32 1001 real 0m9.242s user 0m0.032s sys 0m1.316s 'ls -l' 1000 files with statahead: 9 sec statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 32 fname_total: 75 hit_total: 5129 miss_total: 1295 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff88e490157000.statahead_stats= statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 32 fname_total: 75 hit_total: 5129 miss_total: 1295 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788625727.579045388 secs.nsecs start_time: 1788625645.064704552 secs.nsecs elapsed_time: 82.514340836 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788625727.579378976 secs.nsecs start_time: 1788625645.064839372 secs.nsecs elapsed_time: 82.514539604 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 4 10 18 16: 15 39 57 32: 16 42 100 - open/close 702 (time 1788625740.01 total 10.00 last 70.17) - open/close 1391 (time 1788625750.03 total 20.02 last 68.80) - open/close 2284 (time 1788625760.03 total 30.02 last 89.25) - open/close 3051 (time 1788625770.04 total 40.03 last 76.68) - open/close 3942 (time 1788625780.04 total 50.03 last 89.10) - open/close 4748 (time 1788625790.04 total 60.03 last 80.60) - open/close 5622 (time 1788625800.04 total 70.03 last 87.34) - open/close 6487 (time 1788625810.06 total 80.05 last 86.39) - open/close 7354 (time 1788625820.06 total 90.05 last 86.66) - open/close 8232 (time 1788625830.06 total 100.05 last 87.78) - open/close 9158 (time 1788625840.06 total 110.06 last 92.57) total: 10000 open/close in 119.75 seconds: 83.51 ops/second llite.lustre-ffff88e490157000.statahead_batch_max=0 llite.lustre-ffff88e490157000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.760s user 0m0.304s sys 0m14.714s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88e490157000.statahead_batch_max=32 llite.lustre-ffff88e490157000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m39.383s user 0m0.292s sys 0m13.606s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788626028.448222239 secs.nsecs start_time: 1788625918.953171376 secs.nsecs elapsed_time: 109.495050863 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 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788626028.448284325 secs.nsecs start_time: 1788625918.953297518 secs.nsecs elapsed_time: 109.494986807 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=0 llite.lustre-ffff88e490157000.statahead_max=2048 llite.lustre-ffff88e490157000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.64 ops/second llite.lustre-ffff88e490157000.statahead_max=0 101 real 0m1.760s user 0m0.003s sys 0m0.306s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff88e490157000.statahead_max=2048 llite.lustre-ffff88e490157000.statahead_max=2048 101 real 0m0.996s user 0m0.004s sys 0m0.165s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 783 (time 1788626323.01 total 10.00 last 78.30) total: 900 open/close in 11.62 seconds: 77.42 ops/second llite.lustre-ffff88e490157000.statahead_max=0 1001 real 0m25.245s user 0m0.043s sys 0m3.016s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff88e490157000.statahead_max=2048 llite.lustre-ffff88e490157000.statahead_max=2048 1001 real 0m6.698s user 0m0.025s sys 0m1.280s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff88e490157000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788626390.476087364 secs.nsecs start_time: 1788626031.148240281 secs.nsecs elapsed_time: 359.327847083 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 33 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-ffff88e490157000.batch_stats= snapshot_time: 1788626390.476285825 secs.nsecs start_time: 1788626031.149055269 secs.nsecs elapsed_time: 359.327230556 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 2 22 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 788 (time 1788626403.38 total 10.00 last 78.79) - open/close 1659 (time 1788626413.38 total 20.00 last 87.09) - open/close 2533 (time 1788626423.39 total 30.02 last 87.27) - open/close 3369 (time 1788626433.40 total 40.03 last 83.52) - open/close 4254 (time 1788626443.41 total 50.03 last 88.47) - open/close 5000 (time 1788626453.42 total 60.04 last 74.53) - open/close 5786 (time 1788626463.42 total 70.05 last 78.55) - open/close 6662 (time 1788626473.43 total 80.05 last 87.53) - open/close 7585 (time 1788626483.44 total 90.06 last 92.25) - open/close 8538 (time 1788626493.44 total 100.07 last 95.22) - open/close 9373 (time 1788626503.45 total 110.07 last 83.48) total: 10000 open/close in 117.14 seconds: 85.37 ops/second llite.lustre-ffff88e490157000.statahead_batch_max=0 llite.lustre-ffff88e490157000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.884s user 0m0.330s sys 0m14.626s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88e490157000.statahead_batch_max=256 llite.lustre-ffff88e490157000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88e490157000.stats=clear mdc.lustre-MDT0001-mdc-ffff88e490157000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.961s user 0m0.276s sys 0m14.811s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788626644.492080571 secs.nsecs start_time: 1788626579.754865247 secs.nsecs elapsed_time: 64.737215324 secs.nsecs subreqs per batch batches %% cum %% 1: 152 51 51 2: 40 13 64 4: 25 8 73 8: 14 4 77 16: 8 2 80 32: 15 5 85 64: 8 2 88 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff88e490157000.batch_stats= snapshot_time: 1788626644.492165372 secs.nsecs start_time: 1788626579.755000474 secs.nsecs elapsed_time: 64.737164898 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-ffff88e490157000.statahead_batch_max=64 llite.lustre-ffff88e490157000.statahead_max=128