== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:55:59 (1780455359) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=0 llite.lustre-ffff9439c5a0d800.statahead_max=32 llite.lustre-ffff9439c5a0d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.09 seconds: 32.34 ops/second llite.lustre-ffff9439c5a0d800.statahead_max=0 101 real 0m2.902s user 0m0.008s sys 0m0.398s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9439c5a0d800.statahead_max=32 llite.lustre-ffff9439c5a0d800.statahead_max=32 101 real 0m1.190s user 0m0.005s sys 0m0.230s 'ls -l' 100 files with statahead: 2 sec statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 32 fname_total: 80 hit_total: 3811 miss_total: 1600 swrong=2 ewrong=2 - open/close 747 (time 1780455389.39 total 10.01 last 74.64) total: 900 open/close in 12.26 seconds: 73.44 ops/second llite.lustre-ffff9439c5a0d800.statahead_max=0 1001 real 0m22.811s user 0m0.036s sys 0m3.447s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9439c5a0d800.statahead_max=32 llite.lustre-ffff9439c5a0d800.statahead_max=32 1001 real 0m9.892s user 0m0.044s sys 0m1.855s 'ls -l' 1000 files with statahead: 10 sec statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 33 fname_total: 80 hit_total: 4808 miss_total: 1603 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9439c5a0d800.statahead_stats= statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 33 fname_total: 80 hit_total: 4808 miss_total: 1603 mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats= snapshot_time: 1780455457.708188433 secs.nsecs start_time: 1780455364.968760739 secs.nsecs elapsed_time: 92.739427694 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 2 5 8 4: 1 2 11 8: 1 2 13 16: 26 72 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats= snapshot_time: 1780455457.708269506 secs.nsecs start_time: 1780455364.968933778 secs.nsecs elapsed_time: 92.739335728 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 1 2 10 16: 11 28 38 32: 24 61 100 - open/close 795 (time 1780455470.35 total 10.00 last 79.50) - open/close 1450 (time 1780455480.35 total 20.01 last 65.46) - open/close 2236 (time 1780455490.35 total 30.01 last 78.59) - open/close 2857 (time 1780455500.36 total 40.01 last 62.09) - open/close 3567 (time 1780455510.36 total 50.02 last 70.95) - open/close 4295 (time 1780455520.37 total 60.03 last 72.74) - open/close 5033 (time 1780455530.38 total 70.03 last 73.73) - open/close 5754 (time 1780455540.38 total 80.04 last 72.09) - open/close 6425 (time 1780455550.40 total 90.05 last 66.99) - open/close 7050 (time 1780455560.41 total 100.06 last 62.42) - open/close 7613 (time 1780455570.42 total 110.07 last 56.25) - open/close 8337 (time 1780455580.43 total 120.08 last 72.37) - open/close 9025 (time 1780455590.43 total 130.08 last 68.78) - open/close 9768 (time 1780455600.45 total 140.10 last 74.14) total: 10000 open/close in 143.95 seconds: 69.47 ops/second llite.lustre-ffff9439c5a0d800.statahead_batch_max=0 llite.lustre-ffff9439c5a0d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.976s user 0m0.307s sys 0m16.610s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9439c5a0d800.statahead_batch_max=32 llite.lustre-ffff9439c5a0d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m51.789s user 0m0.359s sys 0m15.846s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats= snapshot_time: 1780455809.691521916 secs.nsecs start_time: 1780455683.619266648 secs.nsecs elapsed_time: 126.072255268 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-ffff9439c5a0d800.batch_stats= snapshot_time: 1780455809.691622082 secs.nsecs start_time: 1780455683.619346612 secs.nsecs elapsed_time: 126.072275470 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=0 llite.lustre-ffff9439c5a0d800.statahead_max=2048 llite.lustre-ffff9439c5a0d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.50 seconds: 28.58 ops/second llite.lustre-ffff9439c5a0d800.statahead_max=0 101 real 0m2.744s user 0m0.006s sys 0m0.377s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9439c5a0d800.statahead_max=2048 llite.lustre-ffff9439c5a0d800.statahead_max=2048 101 real 0m1.304s user 0m0.005s sys 0m0.209s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 614 (time 1780456152.45 total 10.03 last 61.21) total: 900 open/close in 14.73 seconds: 61.11 ops/second llite.lustre-ffff9439c5a0d800.statahead_max=0 1001 real 0m26.855s user 0m0.037s sys 0m3.570s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9439c5a0d800.statahead_max=2048 llite.lustre-ffff9439c5a0d800.statahead_max=2048 1001 real 0m7.911s user 0m0.047s sys 0m1.715s '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: 19 seconds llite.lustre-ffff9439c5a0d800.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-ffff9439c5a0d800.batch_stats= snapshot_time: 1780456226.083699959 secs.nsecs start_time: 1780455812.748614186 secs.nsecs elapsed_time: 413.335085773 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 3 37 37 8: 1 12 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-ffff9439c5a0d800.batch_stats= snapshot_time: 1780456226.083763407 secs.nsecs start_time: 1780455812.748786464 secs.nsecs elapsed_time: 413.334976943 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 2 25 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 547 (time 1780456238.56 total 10.01 last 54.63) - open/close 1210 (time 1780456248.56 total 20.02 last 66.28) - open/close 1940 (time 1780456258.58 total 30.03 last 72.88) - open/close 2675 (time 1780456268.60 total 40.05 last 73.36) - open/close 3336 (time 1780456278.64 total 50.09 last 65.84) - open/close 4013 (time 1780456288.65 total 60.11 last 67.60) - open/close 4631 (time 1780456298.66 total 70.12 last 61.74) - open/close 5346 (time 1780456308.67 total 80.13 last 71.44) - open/close 6095 (time 1780456318.69 total 90.14 last 74.78) - open/close 6823 (time 1780456328.70 total 100.15 last 72.74) - open/close 7563 (time 1780456338.70 total 110.15 last 73.97) - open/close 8190 (time 1780456348.70 total 120.15 last 62.69) - open/close 8806 (time 1780456358.70 total 130.16 last 61.58) - open/close 9525 (time 1780456368.71 total 140.17 last 71.83) total: 10000 open/close in 146.99 seconds: 68.03 ops/second llite.lustre-ffff9439c5a0d800.statahead_batch_max=0 llite.lustre-ffff9439c5a0d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m15.233s user 0m0.366s sys 0m17.403s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9439c5a0d800.statahead_batch_max=256 llite.lustre-ffff9439c5a0d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.662s user 0m0.355s sys 0m18.572s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9439c5a0d800.batch_stats= snapshot_time: 1780456542.677401870 secs.nsecs start_time: 1780456462.370943518 secs.nsecs elapsed_time: 80.306458352 secs.nsecs subreqs per batch batches % cum % 1: 229 52 52 2: 56 12 65 4: 48 11 76 8: 35 8 84 16: 16 3 88 32: 11 2 90 64: 8 1 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff9439c5a0d800.batch_stats= snapshot_time: 1780456542.677475744 secs.nsecs start_time: 1780456462.371020866 secs.nsecs elapsed_time: 80.306454878 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-ffff9439c5a0d800.statahead_batch_max=64 llite.lustre-ffff9439c5a0d800.statahead_max=128