== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:02:46 (1789063366) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=0 llite.lustre-ffff9fcec6e3b000.statahead_max=32 llite.lustre-ffff9fcec6e3b000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.34 seconds: 29.93 ops/second llite.lustre-ffff9fcec6e3b000.statahead_max=0 101 real 0m3.181s user 0m0.006s sys 0m0.344s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9fcec6e3b000.statahead_max=32 llite.lustre-ffff9fcec6e3b000.statahead_max=32 101 real 0m2.206s user 0m0.005s sys 0m0.252s 'ls -l' 100 files with statahead: 2 sec statahead total: 156 statahead wrong: 2 agl total: 150 list_total: 31 fname_total: 121 hit_total: 4523 miss_total: 1271 swrong=2 ewrong=2 - open/close 671 (time 1789063399.46 total 10.01 last 67.06) total: 900 open/close in 12.89 seconds: 69.84 ops/second llite.lustre-ffff9fcec6e3b000.statahead_max=0 1001 real 0m29.696s user 0m0.039s sys 0m3.391s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff9fcec6e3b000.statahead_max=32 llite.lustre-ffff9fcec6e3b000.statahead_max=32 1001 real 0m12.061s user 0m0.027s sys 0m1.615s 'ls -l' 1000 files with statahead: 12 sec statahead total: 157 statahead wrong: 2 agl total: 151 list_total: 32 fname_total: 121 hit_total: 5518 miss_total: 1276 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff9fcec6e3b000.statahead_stats= statahead total: 157 statahead wrong: 2 agl total: 151 list_total: 32 fname_total: 121 hit_total: 5518 miss_total: 1276 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789063489.770979461 secs.nsecs start_time: 1789063371.699645935 secs.nsecs elapsed_time: 118.071333526 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 2 5 8 4: 1 2 10 8: 4 10 21 16: 25 67 89 32: 4 10 100 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789063489.771051694 secs.nsecs start_time: 1789063371.699745584 secs.nsecs elapsed_time: 118.071306110 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 2 5 15 16: 11 27 42 32: 23 57 100 - open/close 653 (time 1789063502.90 total 10.01 last 65.26) - open/close 1219 (time 1789063512.93 total 20.03 last 56.46) - open/close 1858 (time 1789063522.93 total 30.03 last 63.89) - open/close 2666 (time 1789063532.95 total 40.05 last 80.62) - open/close 3277 (time 1789063542.95 total 50.06 last 61.10) - open/close 4000 (time 1789063552.96 total 60.06 last 72.27) - open/close 4738 (time 1789063562.96 total 70.07 last 73.75) - open/close 5499 (time 1789063572.98 total 80.08 last 76.00) - open/close 6174 (time 1789063582.99 total 90.10 last 67.39) - open/close 6872 (time 1789063593.00 total 100.10 last 69.77) - open/close 7381 (time 1789063603.00 total 110.11 last 50.87) - open/close 8078 (time 1789063613.01 total 120.11 last 69.65) - open/close 8747 (time 1789063623.01 total 130.11 last 66.90) - open/close 9268 (time 1789063633.01 total 140.12 last 52.09) - open/close 9683 (time 1789063643.03 total 150.13 last 41.43) total: 10000 open/close in 156.74 seconds: 63.80 ops/second llite.lustre-ffff9fcec6e3b000.statahead_batch_max=0 llite.lustre-ffff9fcec6e3b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.809s user 0m0.375s sys 0m16.625s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fcec6e3b000.statahead_batch_max=32 llite.lustre-ffff9fcec6e3b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m1.117s user 0m0.307s sys 0m15.799s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789063882.914071210 secs.nsecs start_time: 1789063743.445694497 secs.nsecs elapsed_time: 139.468376713 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-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789063882.914176516 secs.nsecs start_time: 1789063743.445842099 secs.nsecs elapsed_time: 139.468334417 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=0 llite.lustre-ffff9fcec6e3b000.statahead_max=2048 llite.lustre-ffff9fcec6e3b000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.16 seconds: 31.60 ops/second llite.lustre-ffff9fcec6e3b000.statahead_max=0 101 real 0m2.487s user 0m0.003s sys 0m0.368s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9fcec6e3b000.statahead_max=2048 llite.lustre-ffff9fcec6e3b000.statahead_max=2048 101 real 0m1.058s user 0m0.004s sys 0m0.185s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 809 (time 1789064215.16 total 10.01 last 80.78) total: 900 open/close in 11.26 seconds: 79.92 ops/second llite.lustre-ffff9fcec6e3b000.statahead_max=0 1001 real 0m24.264s user 0m0.035s sys 0m3.284s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9fcec6e3b000.statahead_max=2048 llite.lustre-ffff9fcec6e3b000.statahead_max=2048 1001 real 0m6.644s user 0m0.036s sys 0m1.812s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff9fcec6e3b000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789064287.178593399 secs.nsecs start_time: 1789063886.051655659 secs.nsecs elapsed_time: 401.126937740 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789064287.178664706 secs.nsecs start_time: 1789063886.051860009 secs.nsecs elapsed_time: 401.126804697 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 2 22 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 819 (time 1789064300.06 total 10.00 last 81.86) - open/close 1562 (time 1789064310.07 total 20.01 last 74.27) - open/close 2207 (time 1789064320.07 total 30.02 last 64.45) - open/close 2924 (time 1789064330.07 total 40.02 last 71.70) - open/close 3695 (time 1789064340.08 total 50.02 last 77.08) - open/close 4500 (time 1789064350.08 total 60.03 last 80.44) - open/close 5235 (time 1789064360.09 total 70.03 last 73.47) - open/close 5896 (time 1789064370.09 total 80.03 last 66.07) - open/close 6644 (time 1789064380.10 total 90.04 last 74.75) - open/close 7288 (time 1789064390.10 total 100.04 last 64.40) - open/close 8131 (time 1789064400.10 total 110.05 last 84.27) - open/close 8996 (time 1789064410.11 total 120.05 last 86.46) - open/close 9810 (time 1789064420.12 total 130.06 last 81.31) total: 10000 open/close in 132.33 seconds: 75.57 ops/second llite.lustre-ffff9fcec6e3b000.statahead_batch_max=0 llite.lustre-ffff9fcec6e3b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.323s user 0m0.349s sys 0m16.642s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fcec6e3b000.statahead_batch_max=256 llite.lustre-ffff9fcec6e3b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.stats=clear mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.229s user 0m0.339s sys 0m15.739s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789064581.223195027 secs.nsecs start_time: 1789064501.016217565 secs.nsecs elapsed_time: 80.206977462 secs.nsecs subreqs per batch batches % cum % 1: 211 52 52 2: 56 14 66 4: 38 9 76 8: 28 7 83 16: 10 2 85 32: 22 5 91 64: 1 0 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff9fcec6e3b000.batch_stats= snapshot_time: 1789064581.223262750 secs.nsecs start_time: 1789064501.016370307 secs.nsecs elapsed_time: 80.206892443 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-ffff9fcec6e3b000.statahead_batch_max=64 llite.lustre-ffff9fcec6e3b000.statahead_max=128