== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:43:25 (1788529405) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=0 llite.lustre-ffffa0d525c7c000.statahead_max=32 llite.lustre-ffffa0d525c7c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.96 seconds: 33.84 ops/second llite.lustre-ffffa0d525c7c000.statahead_max=0 101 real 0m2.127s user 0m0.008s sys 0m0.345s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0d525c7c000.statahead_max=32 llite.lustre-ffffa0d525c7c000.statahead_max=32 101 real 0m1.338s user 0m0.006s sys 0m0.229s 'ls -l' 100 files with statahead: 1 sec statahead total: 149 statahead wrong: 2 agl total: 143 list_total: 30 fname_total: 118 hit_total: 3938 miss_total: 1736 swrong=2 ewrong=2 - open/close 708 (time 1788529435.77 total 10.00 last 70.79) total: 900 open/close in 13.22 seconds: 68.09 ops/second llite.lustre-ffffa0d525c7c000.statahead_max=0 1001 real 0m23.218s user 0m0.048s sys 0m3.671s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffffa0d525c7c000.statahead_max=32 llite.lustre-ffffa0d525c7c000.statahead_max=32 1001 real 0m9.848s user 0m0.038s sys 0m1.723s 'ls -l' 1000 files with statahead: 10 sec statahead total: 150 statahead wrong: 2 agl total: 144 list_total: 31 fname_total: 118 hit_total: 4936 miss_total: 1738 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 32 seconds llite.lustre-ffffa0d525c7c000.statahead_stats= statahead total: 150 statahead wrong: 2 agl total: 144 list_total: 31 fname_total: 118 hit_total: 4936 miss_total: 1738 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788529521.134909683 secs.nsecs start_time: 1788529412.471491966 secs.nsecs elapsed_time: 108.663417717 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 4 10 13 4: 1 2 16 8: 1 2 18 16: 24 64 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788529521.134957476 secs.nsecs start_time: 1788529412.471630626 secs.nsecs elapsed_time: 108.663326850 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 0 0 5 8: 2 5 10 16: 11 28 38 32: 24 61 100 - open/close 590 (time 1788529534.58 total 10.01 last 58.97) - open/close 1165 (time 1788529544.58 total 20.01 last 57.48) - open/close 1737 (time 1788529554.60 total 30.02 last 57.12) - open/close 2197 (time 1788529564.63 total 40.05 last 45.87) - open/close 2801 (time 1788529574.63 total 50.06 last 60.39) - open/close 3420 (time 1788529584.63 total 60.06 last 61.88) - open/close 4151 (time 1788529594.64 total 70.07 last 73.04) - open/close 4850 (time 1788529604.65 total 80.07 last 69.85) - open/close 5594 (time 1788529614.65 total 90.08 last 74.35) - open/close 6203 (time 1788529624.66 total 100.09 last 60.84) - open/close 6960 (time 1788529634.68 total 110.10 last 75.61) - open/close 7638 (time 1788529644.68 total 120.11 last 67.76) - open/close 8336 (time 1788529654.69 total 130.11 last 69.78) - open/close 9123 (time 1788529664.70 total 140.12 last 78.63) - open/close 9831 (time 1788529674.70 total 150.13 last 70.75) total: 10000 open/close in 152.78 seconds: 65.45 ops/second llite.lustre-ffffa0d525c7c000.statahead_batch_max=0 llite.lustre-ffffa0d525c7c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m20.568s user 0m0.431s sys 0m18.978s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0d525c7c000.statahead_batch_max=32 llite.lustre-ffffa0d525c7c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m18.646s user 0m0.353s sys 0m16.942s batched statahead RPC= hit count=9973 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788529927.106702595 secs.nsecs start_time: 1788529773.053223549 secs.nsecs elapsed_time: 154.053479046 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788529927.110401050 secs.nsecs start_time: 1788529773.053376363 secs.nsecs elapsed_time: 154.057024687 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=0 llite.lustre-ffffa0d525c7c000.statahead_max=2048 llite.lustre-ffffa0d525c7c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.03 seconds: 33.02 ops/second llite.lustre-ffffa0d525c7c000.statahead_max=0 101 real 0m2.733s user 0m0.012s sys 0m0.408s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0d525c7c000.statahead_max=2048 llite.lustre-ffffa0d525c7c000.statahead_max=2048 101 real 0m1.251s user 0m0.003s sys 0m0.227s '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: 10072 miss_total: 28 swrong=0 ewrong=0 - open/close 681 (time 1788530297.32 total 10.00 last 68.07) total: 900 open/close in 13.27 seconds: 67.83 ops/second llite.lustre-ffffa0d525c7c000.statahead_max=0 1001 real 0m24.641s user 0m0.051s sys 0m3.537s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffffa0d525c7c000.statahead_max=2048 llite.lustre-ffffa0d525c7c000.statahead_max=2048 1001 real 0m8.532s user 0m0.035s sys 0m1.623s '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: 11071 miss_total: 29 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffffa0d525c7c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11071 miss_total: 29 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788530372.372037495 secs.nsecs start_time: 1788529930.685301448 secs.nsecs elapsed_time: 441.686736047 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 0 0 14 4: 2 28 42 8: 2 28 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788530372.373524435 secs.nsecs start_time: 1788529930.685449830 secs.nsecs elapsed_time: 441.688074605 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 0 0 11 8: 2 22 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 689 (time 1788530385.63 total 10.02 last 68.76) - open/close 1323 (time 1788530395.63 total 20.03 last 63.36) - open/close 2188 (time 1788530405.64 total 30.03 last 86.47) - open/close 2972 (time 1788530415.65 total 40.04 last 78.34) - open/close 3834 (time 1788530425.65 total 50.05 last 86.12) - open/close 4546 (time 1788530435.65 total 60.05 last 71.20) - open/close 5398 (time 1788530445.66 total 70.06 last 85.13) - open/close 6284 (time 1788530455.67 total 80.07 last 88.51) - open/close 6883 (time 1788530465.68 total 90.07 last 59.89) - open/close 7539 (time 1788530475.68 total 100.07 last 65.59) - open/close 8203 (time 1788530485.69 total 110.09 last 66.29) - open/close 8908 (time 1788530495.71 total 120.10 last 70.42) - open/close 9705 (time 1788530505.71 total 130.10 last 79.67) total: 10000 open/close in 134.31 seconds: 74.46 ops/second llite.lustre-ffffa0d525c7c000.statahead_batch_max=0 llite.lustre-ffffa0d525c7c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.770s user 0m0.404s sys 0m17.517s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0d525c7c000.statahead_batch_max=256 llite.lustre-ffffa0d525c7c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.712s user 0m0.356s sys 0m17.429s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788530676.408025565 secs.nsecs start_time: 1788530596.250431648 secs.nsecs elapsed_time: 80.157593917 secs.nsecs subreqs per batch batches %% cum %% 1: 270 53 53 2: 94 18 72 4: 48 9 81 8: 25 4 86 16: 5 0 87 32: 23 4 92 64: 5 0 93 128: 0 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffffa0d525c7c000.batch_stats= snapshot_time: 1788530676.408106547 secs.nsecs start_time: 1788530596.250609980 secs.nsecs elapsed_time: 80.157496567 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-ffffa0d525c7c000.statahead_batch_max=64 llite.lustre-ffffa0d525c7c000.statahead_max=128