== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:48:17 (1788277697) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats=0 llite.lustre-ffff8d3106af5800.statahead_max=32 llite.lustre-ffff8d3106af5800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats=0 total: 100 open/close in 2.27 seconds: 43.97 ops/second llite.lustre-ffff8d3106af5800.statahead_max=0 101 real 0m2.920s user 0m0.005s sys 0m0.300s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8d3106af5800.statahead_max=32 llite.lustre-ffff8d3106af5800.statahead_max=32 101 real 0m1.643s user 0m0.007s sys 0m0.135s 'ls -l' 100 files with statahead: 2 sec statahead total: 138 statahead wrong: 2 agl total: 132 list_total: 30 fname_total: 108 hit_total: 4110 miss_total: 1537 swrong=2 ewrong=2 - open/close 743 (time 1788277727.35 total 10.00 last 74.26) total: 900 open/close in 11.80 seconds: 76.30 ops/second llite.lustre-ffff8d3106af5800.statahead_max=0 1001 real 0m19.413s user 0m0.031s sys 0m2.842s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8d3106af5800.statahead_max=32 llite.lustre-ffff8d3106af5800.statahead_max=32 1001 real 0m9.614s user 0m0.034s sys 0m1.321s 'ls -l' 1000 files with statahead: 10 sec statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 108 hit_total: 5105 miss_total: 1542 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff8d3106af5800.statahead_stats= statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 31 fname_total: 108 hit_total: 5105 miss_total: 1542 mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats= snapshot_time: 1788277793.350972250 secs.nsecs start_time: 1788277702.446860522 secs.nsecs elapsed_time: 90.904111728 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 718 (time 1788277806.08 total 10.01 last 71.70) - open/close 1595 (time 1788277816.09 total 20.03 last 87.59) - open/close 2466 (time 1788277826.10 total 30.03 last 87.05) - open/close 3277 (time 1788277836.10 total 40.04 last 81.07) - open/close 4073 (time 1788277846.10 total 50.04 last 79.59) - open/close 4894 (time 1788277856.11 total 60.04 last 82.05) - open/close 5798 (time 1788277866.11 total 70.05 last 90.37) - open/close 6571 (time 1788277876.12 total 80.05 last 77.27) - open/close 7340 (time 1788277886.12 total 90.05 last 76.86) - open/close 8010 (time 1788277896.12 total 100.06 last 66.98) - open/close 8671 (time 1788277906.13 total 110.06 last 66.08) - open/close 9385 (time 1788277916.13 total 120.06 last 71.38) total: 10000 open/close in 128.76 seconds: 77.66 ops/second llite.lustre-ffff8d3106af5800.statahead_batch_max=0 llite.lustre-ffff8d3106af5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.269s user 0m0.287s sys 0m13.333s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d3106af5800.statahead_batch_max=32 llite.lustre-ffff8d3106af5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.447s user 0m0.269s sys 0m12.572s batched statahead RPC= hit count=9975 mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats= snapshot_time: 1788278105.277985031 secs.nsecs start_time: 1788277996.102806773 secs.nsecs elapsed_time: 109.175178258 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 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-ffff8d3106af5800.batch_stats=0 llite.lustre-ffff8d3106af5800.statahead_max=2048 llite.lustre-ffff8d3106af5800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats=0 total: 100 open/close in 3.33 seconds: 29.99 ops/second llite.lustre-ffff8d3106af5800.statahead_max=0 101 real 0m2.112s user 0m0.003s sys 0m0.294s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d3106af5800.statahead_max=2048 llite.lustre-ffff8d3106af5800.statahead_max=2048 101 real 0m0.576s user 0m0.008s sys 0m0.115s '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: 10074 miss_total: 26 swrong=0 ewrong=0 - open/close 895 (time 1788278386.23 total 10.00 last 89.49) total: 900 open/close in 10.04 seconds: 89.63 ops/second llite.lustre-ffff8d3106af5800.statahead_max=0 1001 real 0m18.070s user 0m0.037s sys 0m2.772s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8d3106af5800.statahead_max=2048 llite.lustre-ffff8d3106af5800.statahead_max=2048 1001 real 0m5.099s user 0m0.027s sys 0m1.350s '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: 11073 miss_total: 27 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8d3106af5800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11073 miss_total: 27 mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats= snapshot_time: 1788278438.832875295 secs.nsecs start_time: 1788278107.628609402 secs.nsecs elapsed_time: 331.204265893 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 1 10 30 32: 2 20 50 64: 1 10 60 128: 0 0 60 256: 4 40 100 - open/close 870 (time 1788278451.24 total 10.01 last 86.89) - open/close 1690 (time 1788278461.24 total 20.01 last 81.99) - open/close 2533 (time 1788278471.25 total 30.02 last 84.25) - open/close 3318 (time 1788278481.26 total 40.03 last 78.43) - open/close 4156 (time 1788278491.27 total 50.04 last 83.69) - open/close 5036 (time 1788278501.28 total 60.05 last 87.88) - open/close 5814 (time 1788278511.30 total 70.07 last 77.67) - open/close 6686 (time 1788278521.31 total 80.08 last 87.15) - open/close 7434 (time 1788278531.31 total 90.08 last 74.76) - open/close 8219 (time 1788278541.31 total 100.08 last 78.49) - open/close 9082 (time 1788278551.31 total 110.08 last 86.30) - open/close 9960 (time 1788278561.32 total 120.09 last 87.71) total: 10000 open/close in 120.53 seconds: 82.97 ops/second llite.lustre-ffff8d3106af5800.statahead_batch_max=0 llite.lustre-ffff8d3106af5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.968s user 0m0.288s sys 0m13.419s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d3106af5800.statahead_batch_max=256 llite.lustre-ffff8d3106af5800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d3106af5800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.937s user 0m0.303s sys 0m14.239s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8d3106af5800.batch_stats= snapshot_time: 1788278688.882926121 secs.nsecs start_time: 1788278618.566448572 secs.nsecs elapsed_time: 70.316477549 secs.nsecs subreqs per batch batches %% cum %% 1: 156 51 51 2: 35 11 62 4: 24 7 70 8: 22 7 77 16: 14 4 82 32: 14 4 86 64: 4 1 88 128: 2 0 88 256: 34 11 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-ffff8d3106af5800.statahead_batch_max=64 llite.lustre-ffff8d3106af5800.statahead_max=128