== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:12:24 (1785885144) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=0 llite.lustre-ffff9f9c507a7800.statahead_max=32 llite.lustre-ffff9f9c507a7800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 4.11 seconds: 24.33 ops/second llite.lustre-ffff9f9c507a7800.statahead_max=0 101 real 0m5.704s user 0m0.004s sys 0m0.351s 'ls -l' 100 files without statahead: 6 sec llite.lustre-ffff9f9c507a7800.statahead_max=32 llite.lustre-ffff9f9c507a7800.statahead_max=32 101 real 0m1.731s user 0m0.001s sys 0m0.185s 'ls -l' 100 files with statahead: 2 sec statahead total: 166 statahead wrong: 2 agl total: 159 list_total: 31 fname_total: 131 hit_total: 3854 miss_total: 1633 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 3 seconds llite.lustre-ffff9f9c507a7800.statahead_stats= statahead total: 166 statahead wrong: 2 agl total: 159 list_total: 31 fname_total: 131 hit_total: 3854 miss_total: 1633 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785885179.006140021 secs.nsecs start_time: 1785885150.734658319 secs.nsecs elapsed_time: 28.271481702 secs.nsecs subreqs per batch batches %% cum %% 1: 2 66 66 2: 0 0 66 4: 1 33 100 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785885179.012541943 secs.nsecs start_time: 1785885150.736877505 secs.nsecs elapsed_time: 28.275664438 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 16 4: 0 0 16 8: 1 16 33 16: 2 33 66 32: 2 33 100 - open/close 450 (time 1785885193.73 total 10.01 last 44.98) - open/close 1035 (time 1785885203.73 total 20.01 last 58.50) - open/close 1792 (time 1785885213.74 total 30.01 last 75.66) - open/close 2291 (time 1785885223.74 total 40.02 last 49.86) - open/close 3022 (time 1785885233.76 total 50.03 last 73.01) - open/close 3777 (time 1785885243.77 total 60.04 last 75.41) - open/close 4843 (time 1785885253.77 total 70.05 last 106.57) - open/close 5592 (time 1785885263.78 total 80.05 last 74.84) - open/close 6094 (time 1785885273.79 total 90.06 last 50.17) - open/close 6656 (time 1785885283.79 total 100.07 last 56.15) - open/close 7079 (time 1785885293.82 total 110.10 last 42.18) - open/close 7571 (time 1785885303.82 total 120.10 last 49.19) - open/close 7996 (time 1785885313.83 total 130.11 last 42.47) - open/close 8458 (time 1785885323.84 total 140.11 last 46.18) - open/close 8898 (time 1785885333.84 total 150.11 last 43.99) - open/close 9357 (time 1785885343.85 total 160.12 last 45.87) - open/close 9737 (time 1785885353.85 total 170.13 last 37.98) total: 10000 open/close in 176.39 seconds: 56.69 ops/second llite.lustre-ffff9f9c507a7800.statahead_batch_max=0 llite.lustre-ffff9f9c507a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.444s user 0m0.266s sys 0m15.567s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f9c507a7800.statahead_batch_max=32 llite.lustre-ffff9f9c507a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m34.312s user 0m0.296s sys 0m15.049s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785885654.004519034 secs.nsecs start_time: 1785885474.143767935 secs.nsecs elapsed_time: 179.860751099 secs.nsecs subreqs per batch batches %% cum %% 1: 1 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-ffff9f9c507a7800.batch_stats= snapshot_time: 1785885654.004585619 secs.nsecs start_time: 1785885474.143850969 secs.nsecs elapsed_time: 179.860734650 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=0 llite.lustre-ffff9f9c507a7800.statahead_max=2048 llite.lustre-ffff9f9c507a7800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.21 seconds: 31.11 ops/second llite.lustre-ffff9f9c507a7800.statahead_max=0 101 real 0m2.898s user 0m0.006s sys 0m0.362s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9f9c507a7800.statahead_max=2048 llite.lustre-ffff9f9c507a7800.statahead_max=2048 101 real 0m1.631s user 0m0.003s sys 0m0.178s '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 506 (time 1785886041.85 total 10.00 last 50.58) total: 900 open/close in 15.92 seconds: 56.53 ops/second llite.lustre-ffff9f9c507a7800.statahead_max=0 1001 real 0m58.394s user 0m0.031s sys 0m3.799s 'ls -l' 1000 files without statahead: 58 sec llite.lustre-ffff9f9c507a7800.statahead_max=2048 llite.lustre-ffff9f9c507a7800.statahead_max=2048 1001 real 0m9.183s user 0m0.029s sys 0m1.579s '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: 11076 miss_total: 24 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff9f9c507a7800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785886159.103077643 secs.nsecs start_time: 1785885657.082803756 secs.nsecs elapsed_time: 502.020273887 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 0 0 12 4: 1 12 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785886159.103136131 secs.nsecs start_time: 1785885657.082948604 secs.nsecs elapsed_time: 502.020187527 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 530 (time 1785886172.32 total 10.01 last 52.94) - open/close 1055 (time 1785886182.33 total 20.02 last 52.46) - open/close 1580 (time 1785886192.33 total 30.02 last 52.47) - open/close 2126 (time 1785886202.34 total 40.03 last 54.58) - open/close 2903 (time 1785886212.35 total 50.04 last 77.63) - open/close 3530 (time 1785886222.35 total 60.04 last 62.69) - open/close 4175 (time 1785886232.37 total 70.06 last 64.34) - open/close 4783 (time 1785886242.39 total 80.07 last 60.73) - open/close 5370 (time 1785886252.39 total 90.07 last 58.70) - open/close 5761 (time 1785886262.39 total 100.08 last 39.09) - open/close 6276 (time 1785886272.39 total 110.08 last 51.49) - open/close 7104 (time 1785886282.39 total 120.08 last 82.76) - open/close 7837 (time 1785886292.40 total 130.08 last 73.29) - open/close 8838 (time 1785886302.40 total 140.09 last 100.08) - open/close 9735 (time 1785886312.40 total 150.09 last 89.65) total: 10000 open/close in 152.00 seconds: 65.79 ops/second llite.lustre-ffff9f9c507a7800.statahead_batch_max=0 llite.lustre-ffff9f9c507a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m29.142s user 0m0.292s sys 0m15.095s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f9c507a7800.statahead_batch_max=256 llite.lustre-ffff9f9c507a7800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.stats=clear mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.513s user 0m0.258s sys 0m14.624s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785886512.580960657 secs.nsecs start_time: 1785886416.934330630 secs.nsecs elapsed_time: 95.646630027 secs.nsecs subreqs per batch batches %% cum %% 1: 154 46 46 2: 55 16 63 4: 32 9 73 8: 18 5 78 16: 14 4 82 32: 19 5 88 64: 2 0 89 128: 2 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff9f9c507a7800.batch_stats= snapshot_time: 1785886512.581023785 secs.nsecs start_time: 1785886416.934452892 secs.nsecs elapsed_time: 95.646570893 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-ffff9f9c507a7800.statahead_batch_max=64 llite.lustre-ffff9f9c507a7800.statahead_max=128