== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:02:33 (1781240553) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=0 llite.lustre-ffff8b9d90a5d800.statahead_max=32 llite.lustre-ffff8b9d90a5d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.34 seconds: 42.79 ops/second llite.lustre-ffff8b9d90a5d800.statahead_max=0 101 real 0m2.522s user 0m0.005s sys 0m0.348s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8b9d90a5d800.statahead_max=32 llite.lustre-ffff8b9d90a5d800.statahead_max=32 101 real 0m1.113s user 0m0.004s sys 0m0.168s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 91 hit_total: 4648 miss_total: 1292 swrong=2 ewrong=2 - open/close 810 (time 1781240580.95 total 10.01 last 80.94) total: 900 open/close in 11.02 seconds: 81.68 ops/second llite.lustre-ffff8b9d90a5d800.statahead_max=0 1001 real 0m23.383s user 0m0.035s sys 0m3.183s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8b9d90a5d800.statahead_max=32 llite.lustre-ffff8b9d90a5d800.statahead_max=32 1001 real 0m11.002s user 0m0.041s sys 0m1.619s 'ls -l' 1000 files with statahead: 11 sec statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 91 hit_total: 5645 miss_total: 1295 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff8b9d90a5d800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 91 hit_total: 5645 miss_total: 1295 mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781240651.976601637 secs.nsecs start_time: 1781240557.911519511 secs.nsecs elapsed_time: 94.065082126 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 2 4 7 4: 3 7 14 8: 2 4 19 16: 22 53 73 32: 11 26 100 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781240651.976675907 secs.nsecs start_time: 1781240557.911594072 secs.nsecs elapsed_time: 94.065081835 secs.nsecs subreqs per batch batches % cum % 1: 3 7 7 2: 1 2 9 4: 0 0 9 8: 4 9 19 16: 16 39 58 32: 17 41 100 - open/close 664 (time 1781240664.82 total 10.02 last 66.30) - open/close 1337 (time 1781240674.82 total 20.02 last 67.25) - open/close 2125 (time 1781240684.83 total 30.02 last 78.79) - open/close 2933 (time 1781240694.84 total 40.04 last 80.71) - open/close 3765 (time 1781240704.84 total 50.04 last 83.14) - open/close 4606 (time 1781240714.85 total 60.05 last 84.03) - open/close 5352 (time 1781240724.86 total 70.06 last 74.56) - open/close 6189 (time 1781240734.86 total 80.06 last 83.65) - open/close 6978 (time 1781240744.87 total 90.07 last 78.87) - open/close 7805 (time 1781240754.88 total 100.08 last 82.60) - open/close 8554 (time 1781240764.88 total 110.08 last 74.87) - open/close 9397 (time 1781240774.89 total 120.09 last 84.27) total: 10000 open/close in 127.23 seconds: 78.60 ops/second llite.lustre-ffff8b9d90a5d800.statahead_batch_max=0 llite.lustre-ffff8b9d90a5d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.200s user 0m0.293s sys 0m16.593s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b9d90a5d800.statahead_batch_max=32 llite.lustre-ffff8b9d90a5d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.495s user 0m0.311s sys 0m15.077s batched statahead RPC= hit count=9975 mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781240982.433113610 secs.nsecs start_time: 1781240857.212783432 secs.nsecs elapsed_time: 125.220330178 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-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781240982.433179812 secs.nsecs start_time: 1781240857.213070539 secs.nsecs elapsed_time: 125.220109273 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=0 llite.lustre-ffff8b9d90a5d800.statahead_max=2048 llite.lustre-ffff8b9d90a5d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.42 seconds: 41.33 ops/second llite.lustre-ffff8b9d90a5d800.statahead_max=0 101 real 0m2.198s user 0m0.006s sys 0m0.320s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8b9d90a5d800.statahead_max=2048 llite.lustre-ffff8b9d90a5d800.statahead_max=2048 101 real 0m1.012s user 0m0.007s sys 0m0.170s '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: 10074 miss_total: 26 swrong=0 ewrong=0 - open/close 885 (time 1781241297.73 total 10.00 last 88.47) total: 900 open/close in 10.15 seconds: 88.71 ops/second llite.lustre-ffff8b9d90a5d800.statahead_max=0 1001 real 0m20.569s user 0m0.030s sys 0m3.083s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8b9d90a5d800.statahead_max=2048 llite.lustre-ffff8b9d90a5d800.statahead_max=2048 1001 real 0m8.289s user 0m0.027s sys 0m1.517s '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: 11073 miss_total: 27 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8b9d90a5d800.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-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781241358.695515140 secs.nsecs start_time: 1781240984.957462441 secs.nsecs elapsed_time: 373.738052699 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 2 25 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781241358.695587938 secs.nsecs start_time: 1781240984.957616281 secs.nsecs elapsed_time: 373.737971657 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 12 12 4: 0 0 12 8: 3 37 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 782 (time 1781241371.37 total 10.01 last 78.15) - open/close 1576 (time 1781241381.38 total 20.01 last 79.37) - open/close 2255 (time 1781241391.40 total 30.03 last 67.76) - open/close 2913 (time 1781241401.42 total 40.05 last 65.67) - open/close 3739 (time 1781241411.42 total 50.06 last 82.54) - open/close 4580 (time 1781241421.43 total 60.07 last 84.04) - open/close 5416 (time 1781241431.44 total 70.08 last 83.52) - open/close 6306 (time 1781241441.45 total 80.08 last 88.96) - open/close 7170 (time 1781241451.45 total 90.09 last 86.35) - open/close 8041 (time 1781241461.46 total 100.10 last 87.02) - open/close 8895 (time 1781241471.47 total 110.10 last 85.36) - open/close 9627 (time 1781241481.48 total 120.11 last 73.10) total: 10000 open/close in 124.57 seconds: 80.28 ops/second llite.lustre-ffff8b9d90a5d800.statahead_batch_max=0 llite.lustre-ffff8b9d90a5d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.321s user 0m0.306s sys 0m17.684s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8b9d90a5d800.statahead_batch_max=256 llite.lustre-ffff8b9d90a5d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.stats=clear mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.520s user 0m0.280s sys 0m16.799s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781241628.577066851 secs.nsecs start_time: 1781241555.607110910 secs.nsecs elapsed_time: 72.969955941 secs.nsecs subreqs per batch batches % cum % 1: 170 44 44 2: 68 17 62 4: 48 12 75 8: 24 6 81 16: 13 3 85 32: 21 5 90 64: 2 0 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff8b9d90a5d800.batch_stats= snapshot_time: 1781241628.577449368 secs.nsecs start_time: 1781241555.607426011 secs.nsecs elapsed_time: 72.970023357 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-ffff8b9d90a5d800.statahead_batch_max=64 llite.lustre-ffff8b9d90a5d800.statahead_max=128