== sanity test 123ad: Verify batching statahead works correctly ========================================================== 04:53:31 (1779699211) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=0 llite.lustre-ffff9370e266c000.statahead_max=32 llite.lustre-ffff9370e266c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=0 total: 100 open/close in 2.83 seconds: 35.36 ops/second llite.lustre-ffff9370e266c000.statahead_max=0 101 real 0m2.515s user 0m0.007s sys 0m0.403s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9370e266c000.statahead_max=32 llite.lustre-ffff9370e266c000.statahead_max=32 101 real 0m1.190s user 0m0.007s sys 0m0.190s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 76 hit_total: 3709 miss_total: 1602 swrong=2 ewrong=2 - open/close 559 (time 1779699240.48 total 10.01 last 55.86) total: 900 open/close in 15.62 seconds: 57.61 ops/second llite.lustre-ffff9370e266c000.statahead_max=0 1001 real 0m25.244s user 0m0.051s sys 0m3.373s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9370e266c000.statahead_max=32 llite.lustre-ffff9370e266c000.statahead_max=32 1001 real 0m11.640s user 0m0.030s sys 0m1.607s 'ls -l' 1000 files with statahead: 12 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 32 fname_total: 76 hit_total: 4706 miss_total: 1605 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9370e266c000.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 32 fname_total: 76 hit_total: 4706 miss_total: 1605 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats= snapshot_time: 1779699321.060004454 secs.nsecs start_time: 1779699215.946038610 secs.nsecs elapsed_time: 105.113965844 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 650 (time 1779699333.41 total 10.00 last 64.98) - open/close 1322 (time 1779699343.41 total 20.01 last 67.17) - open/close 2048 (time 1779699353.42 total 30.01 last 72.58) - open/close 2752 (time 1779699363.42 total 40.02 last 70.34) - open/close 3411 (time 1779699373.44 total 50.03 last 65.82) - open/close 4088 (time 1779699383.44 total 60.04 last 67.66) - open/close 4708 (time 1779699393.44 total 70.04 last 62.00) - open/close 5378 (time 1779699403.45 total 80.04 last 66.96) - open/close 6046 (time 1779699413.46 total 90.05 last 66.74) - open/close 6756 (time 1779699423.47 total 100.06 last 70.93) - open/close 7375 (time 1779699433.48 total 110.07 last 61.82) - open/close 8057 (time 1779699443.49 total 120.08 last 68.15) - open/close 8728 (time 1779699453.50 total 130.09 last 67.03) - open/close 9346 (time 1779699463.51 total 140.10 last 61.73) - open/close 9969 (time 1779699473.52 total 150.11 last 62.25) total: 10000 open/close in 150.50 seconds: 66.45 ops/second llite.lustre-ffff9370e266c000.statahead_batch_max=0 llite.lustre-ffff9370e266c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.646s user 0m0.372s sys 0m17.436s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9370e266c000.statahead_batch_max=32 llite.lustre-ffff9370e266c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.704s user 0m0.323s sys 0m15.962s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats= snapshot_time: 1779699678.183928532 secs.nsecs start_time: 1779699555.499072184 secs.nsecs elapsed_time: 122.684856348 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=0 llite.lustre-ffff9370e266c000.statahead_max=2048 llite.lustre-ffff9370e266c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=0 total: 100 open/close in 3.66 seconds: 27.34 ops/second llite.lustre-ffff9370e266c000.statahead_max=0 101 real 0m3.084s user 0m0.008s sys 0m0.376s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9370e266c000.statahead_max=2048 llite.lustre-ffff9370e266c000.statahead_max=2048 101 real 0m1.335s user 0m0.003s sys 0m0.209s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 454 (time 1779700028.41 total 10.01 last 45.36) total: 900 open/close in 16.77 seconds: 53.67 ops/second llite.lustre-ffff9370e266c000.statahead_max=0 1001 real 0m25.122s user 0m0.041s sys 0m3.399s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9370e266c000.statahead_max=2048 llite.lustre-ffff9370e266c000.statahead_max=2048 1001 real 0m7.053s user 0m0.033s sys 0m1.733s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9370e266c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats= snapshot_time: 1779700103.213003532 secs.nsecs start_time: 1779699681.218920395 secs.nsecs elapsed_time: 421.994083137 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 600 (time 1779700116.11 total 10.00 last 59.97) - open/close 1202 (time 1779700126.11 total 20.01 last 60.17) - open/close 1727 (time 1779700136.13 total 30.03 last 52.40) - open/close 2392 (time 1779700146.15 total 40.05 last 66.34) - open/close 2957 (time 1779700156.16 total 50.06 last 56.44) - open/close 3562 (time 1779700166.17 total 60.07 last 60.44) - open/close 4193 (time 1779700176.18 total 70.08 last 63.04) - open/close 4797 (time 1779700186.20 total 80.09 last 60.32) - open/close 5303 (time 1779700196.23 total 90.13 last 50.44) - open/close 5904 (time 1779700206.23 total 100.13 last 60.07) - open/close 6528 (time 1779700216.24 total 110.14 last 62.34) - open/close 7203 (time 1779700226.25 total 120.15 last 67.43) - open/close 7861 (time 1779700236.26 total 130.16 last 65.73) - open/close 8523 (time 1779700246.27 total 140.17 last 66.15) - open/close 9153 (time 1779700256.27 total 150.17 last 62.99) - open/close 9781 (time 1779700266.27 total 160.17 last 62.78) total: 10000 open/close in 163.63 seconds: 61.11 ops/second llite.lustre-ffff9370e266c000.statahead_batch_max=0 llite.lustre-ffff9370e266c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.738s user 0m0.367s sys 0m17.126s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9370e266c000.statahead_batch_max=256 llite.lustre-ffff9370e266c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9370e266c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.994s user 0m0.305s sys 0m17.237s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9370e266c000.batch_stats= snapshot_time: 1779700409.916141118 secs.nsecs start_time: 1779700340.124335499 secs.nsecs elapsed_time: 69.791805619 secs.nsecs subreqs per batch batches % cum % 1: 174 48 48 2: 43 12 60 4: 38 10 71 8: 28 7 79 16: 21 5 85 32: 14 3 89 64: 2 0 89 128: 2 0 90 256: 34 9 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-ffff9370e266c000.statahead_batch_max=64 llite.lustre-ffff9370e266c000.statahead_max=128