== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:41:07 (1787121667) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=0 llite.lustre-ffff9b9298325000.statahead_max=32 llite.lustre-ffff9b9298325000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.42 seconds: 29.25 ops/second llite.lustre-ffff9b9298325000.statahead_max=0 101 real 0m3.558s user 0m0.005s sys 0m0.368s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9b9298325000.statahead_max=32 llite.lustre-ffff9b9298325000.statahead_max=32 101 real 0m1.180s user 0m0.004s sys 0m0.203s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 112 hit_total: 4053 miss_total: 1687 swrong=2 ewrong=2 - open/close 672 (time 1787121699.03 total 10.01 last 67.16) total: 900 open/close in 13.32 seconds: 67.59 ops/second llite.lustre-ffff9b9298325000.statahead_max=0 1001 real 0m26.679s user 0m0.039s sys 0m3.643s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9b9298325000.statahead_max=32 llite.lustre-ffff9b9298325000.statahead_max=32 1001 real 0m10.210s user 0m0.026s sys 0m1.633s 'ls -l' 1000 files with statahead: 10 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 112 hit_total: 5051 miss_total: 1689 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9b9298325000.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 112 hit_total: 5051 miss_total: 1689 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787121775.632383670 secs.nsecs start_time: 1787121672.764508924 secs.nsecs elapsed_time: 102.867874746 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 1 2 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787121775.632459731 secs.nsecs start_time: 1787121672.764679827 secs.nsecs elapsed_time: 102.867779904 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 2 5 15 16: 18 46 61 32: 15 38 100 - open/close 695 (time 1787121788.62 total 10.02 last 69.38) - open/close 1363 (time 1787121798.62 total 20.02 last 66.77) - open/close 2046 (time 1787121808.63 total 30.02 last 68.29) - open/close 2698 (time 1787121818.63 total 40.02 last 65.20) - open/close 3397 (time 1787121828.66 total 50.06 last 69.64) - open/close 4035 (time 1787121838.69 total 60.09 last 63.60) - open/close 4722 (time 1787121848.70 total 70.10 last 68.63) - open/close 5386 (time 1787121858.71 total 80.10 last 66.39) - open/close 6044 (time 1787121868.72 total 90.11 last 65.74) - open/close 6779 (time 1787121878.72 total 100.12 last 73.44) - open/close 7506 (time 1787121888.73 total 110.13 last 72.63) - open/close 8146 (time 1787121898.74 total 120.14 last 63.94) - open/close 8777 (time 1787121908.75 total 130.15 last 63.02) - open/close 9293 (time 1787121918.77 total 140.16 last 51.54) - open/close 9897 (time 1787121928.78 total 150.18 last 60.31) total: 10000 open/close in 152.30 seconds: 65.66 ops/second llite.lustre-ffff9b9298325000.statahead_batch_max=0 llite.lustre-ffff9b9298325000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.786s user 0m0.355s sys 0m18.577s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b9298325000.statahead_batch_max=32 llite.lustre-ffff9b9298325000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m3.522s user 0m0.328s sys 0m16.692s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787122148.855626093 secs.nsecs start_time: 1787122011.386849295 secs.nsecs elapsed_time: 137.468776798 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-ffff9b9298325000.batch_stats= snapshot_time: 1787122148.855696890 secs.nsecs start_time: 1787122011.388889128 secs.nsecs elapsed_time: 137.466807762 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=0 llite.lustre-ffff9b9298325000.statahead_max=2048 llite.lustre-ffff9b9298325000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.66 seconds: 27.31 ops/second llite.lustre-ffff9b9298325000.statahead_max=0 101 real 0m3.386s user 0m0.002s sys 0m0.385s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9b9298325000.statahead_max=2048 llite.lustre-ffff9b9298325000.statahead_max=2048 101 real 0m1.159s user 0m0.006s sys 0m0.181s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10086 miss_total: 14 swrong=0 ewrong=0 - open/close 607 (time 1787122536.47 total 10.02 last 60.59) total: 900 open/close in 14.97 seconds: 60.14 ops/second llite.lustre-ffff9b9298325000.statahead_max=0 1001 real 0m25.569s user 0m0.035s sys 0m3.251s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9b9298325000.statahead_max=2048 llite.lustre-ffff9b9298325000.statahead_max=2048 1001 real 0m9.528s user 0m0.035s sys 0m1.658s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff9b9298325000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787122621.230448634 secs.nsecs start_time: 1787122151.780257163 secs.nsecs elapsed_time: 469.450191471 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 2 22 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787122621.230511501 secs.nsecs start_time: 1787122151.780412352 secs.nsecs elapsed_time: 469.450099149 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 2 22 55 16: 0 0 55 32: 2 22 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 534 (time 1787122634.30 total 10.00 last 53.39) - open/close 1118 (time 1787122644.31 total 20.01 last 58.34) - open/close 1720 (time 1787122654.31 total 30.02 last 60.16) - open/close 2263 (time 1787122664.32 total 40.02 last 54.27) - open/close 2868 (time 1787122674.34 total 50.05 last 60.36) - open/close 3413 (time 1787122684.36 total 60.07 last 54.38) - open/close 3964 (time 1787122694.37 total 70.07 last 55.07) - open/close 4577 (time 1787122704.38 total 80.08 last 61.24) - open/close 5117 (time 1787122714.39 total 90.09 last 53.95) - open/close 5593 (time 1787122724.42 total 100.12 last 47.45) - open/close 6077 (time 1787122734.46 total 110.17 last 48.20) - open/close 6662 (time 1787122744.47 total 120.17 last 58.48) - open/close 7216 (time 1787122754.47 total 130.18 last 55.37) - open/close 7747 (time 1787122764.49 total 140.19 last 53.03) - open/close 8143 (time 1787122774.50 total 150.20 last 39.55) - open/close 8538 (time 1787122784.51 total 160.21 last 39.45) - open/close 9163 (time 1787122794.51 total 170.22 last 62.47) - open/close 9753 (time 1787122804.52 total 180.22 last 58.97) total: 10000 open/close in 184.58 seconds: 54.18 ops/second llite.lustre-ffff9b9298325000.statahead_batch_max=0 llite.lustre-ffff9b9298325000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m17.820s user 0m0.344s sys 0m19.526s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b9298325000.statahead_batch_max=256 llite.lustre-ffff9b9298325000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9298325000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9298325000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.521s user 0m0.373s sys 0m19.821s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787122978.015578025 secs.nsecs start_time: 1787122897.309546119 secs.nsecs elapsed_time: 80.706031906 secs.nsecs subreqs per batch batches %% cum %% 1: 172 52 52 2: 56 17 69 4: 23 7 76 8: 16 4 81 16: 7 2 83 32: 10 3 86 64: 8 2 89 128: 0 0 89 256: 35 10 100 mdc.lustre-MDT0001-mdc-ffff9b9298325000.batch_stats= snapshot_time: 1787122978.015807308 secs.nsecs start_time: 1787122897.309691759 secs.nsecs elapsed_time: 80.706115549 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-ffff9b9298325000.statahead_batch_max=64 llite.lustre-ffff9b9298325000.statahead_max=128