== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:32:23 (1790951543) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=0 llite.lustre-ffff8d612cb2d000.statahead_max=32 llite.lustre-ffff8d612cb2d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.54 seconds: 39.36 ops/second llite.lustre-ffff8d612cb2d000.statahead_max=0 101 real 0m2.364s user 0m0.002s sys 0m0.286s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d612cb2d000.statahead_max=32 llite.lustre-ffff8d612cb2d000.statahead_max=32 101 real 0m0.957s user 0m0.007s sys 0m0.184s 'ls -l' 100 files with statahead: 1 sec statahead total: 116 statahead wrong: 2 agl total: 111 list_total: 32 fname_total: 72 hit_total: 4447 miss_total: 1290 swrong=2 ewrong=2 - open/close 664 (time 1790951570.60 total 10.02 last 66.29) total: 900 open/close in 13.43 seconds: 67.02 ops/second llite.lustre-ffff8d612cb2d000.statahead_max=0 1001 real 0m23.401s user 0m0.043s sys 0m3.185s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8d612cb2d000.statahead_max=32 llite.lustre-ffff8d612cb2d000.statahead_max=32 1001 real 0m8.824s user 0m0.025s sys 0m1.527s 'ls -l' 1000 files with statahead: 9 sec statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 33 fname_total: 72 hit_total: 5445 miss_total: 1292 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8d612cb2d000.statahead_stats= statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 33 fname_total: 72 hit_total: 5445 miss_total: 1292 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790951637.107317834 secs.nsecs start_time: 1790951548.096716873 secs.nsecs elapsed_time: 89.010600961 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 0 0 5 8: 3 7 13 16: 19 50 63 32: 14 36 100 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790951637.107384153 secs.nsecs start_time: 1790951548.096791563 secs.nsecs elapsed_time: 89.010592590 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 22 56 71 32: 11 28 100 - open/close 741 (time 1790951649.50 total 10.02 last 73.95) - open/close 1598 (time 1790951659.50 total 20.03 last 85.66) - open/close 2378 (time 1790951669.50 total 30.03 last 77.98) - open/close 3100 (time 1790951679.51 total 40.04 last 72.13) - open/close 3773 (time 1790951689.51 total 50.04 last 67.29) - open/close 4265 (time 1790951699.54 total 60.07 last 49.06) - open/close 4727 (time 1790951709.56 total 70.08 last 46.13) - open/close 5167 (time 1790951719.59 total 80.11 last 43.87) - open/close 5682 (time 1790951729.60 total 90.12 last 51.44) - open/close 6173 (time 1790951739.61 total 100.14 last 49.04) - open/close 6837 (time 1790951749.62 total 110.14 last 66.35) - open/close 7537 (time 1790951759.63 total 120.15 last 69.93) - open/close 8220 (time 1790951769.63 total 130.16 last 68.27) - open/close 8899 (time 1790951779.66 total 140.18 last 67.74) - open/close 9599 (time 1790951789.66 total 150.19 last 69.95) total: 10000 open/close in 156.55 seconds: 63.88 ops/second llite.lustre-ffff8d612cb2d000.statahead_batch_max=0 llite.lustre-ffff8d612cb2d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.184s user 0m0.307s sys 0m15.966s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d612cb2d000.statahead_batch_max=32 llite.lustre-ffff8d612cb2d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m44.290s user 0m0.304s sys 0m14.274s batched statahead RPC= hit count=9966 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790951985.914019582 secs.nsecs start_time: 1790951871.598611302 secs.nsecs elapsed_time: 114.315408280 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 313 98 100 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790951985.914083090 secs.nsecs start_time: 1790951871.598690265 secs.nsecs elapsed_time: 114.315392825 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=0 llite.lustre-ffff8d612cb2d000.statahead_max=2048 llite.lustre-ffff8d612cb2d000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.54 seconds: 39.37 ops/second llite.lustre-ffff8d612cb2d000.statahead_max=0 101 real 0m2.131s user 0m0.004s sys 0m0.304s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d612cb2d000.statahead_max=2048 llite.lustre-ffff8d612cb2d000.statahead_max=2048 101 real 0m0.930s user 0m0.005s sys 0m0.164s '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: 10065 miss_total: 35 swrong=0 ewrong=0 - open/close 704 (time 1790952315.52 total 10.03 last 70.20) total: 900 open/close in 13.01 seconds: 69.18 ops/second llite.lustre-ffff8d612cb2d000.statahead_max=0 1001 real 0m23.088s user 0m0.031s sys 0m2.937s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8d612cb2d000.statahead_max=2048 llite.lustre-ffff8d612cb2d000.statahead_max=2048 1001 real 0m6.541s user 0m0.028s sys 0m1.588s '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: 11064 miss_total: 36 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8d612cb2d000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11064 miss_total: 36 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790952383.446192747 secs.nsecs start_time: 1790951988.381763620 secs.nsecs elapsed_time: 395.064429127 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-ffff8d612cb2d000.batch_stats= snapshot_time: 1790952383.446748455 secs.nsecs start_time: 1790951988.383304516 secs.nsecs elapsed_time: 395.063443939 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 672 (time 1790952396.28 total 10.01 last 67.16) - open/close 1362 (time 1790952406.29 total 20.01 last 69.00) - open/close 2115 (time 1790952416.29 total 30.01 last 75.27) - open/close 2869 (time 1790952426.29 total 40.01 last 75.37) - open/close 3699 (time 1790952436.30 total 50.02 last 82.96) - open/close 4476 (time 1790952446.31 total 60.03 last 77.62) - open/close 5234 (time 1790952456.33 total 70.05 last 75.62) - open/close 6018 (time 1790952466.34 total 80.06 last 78.31) - open/close 6763 (time 1790952476.35 total 90.07 last 74.47) - open/close 7429 (time 1790952486.37 total 100.09 last 66.48) - open/close 8011 (time 1790952496.37 total 110.09 last 58.20) - open/close 8543 (time 1790952506.38 total 120.10 last 53.13) - open/close 9005 (time 1790952516.39 total 130.11 last 46.17) - open/close 9569 (time 1790952526.41 total 140.13 last 56.29) total: 10000 open/close in 145.69 seconds: 68.64 ops/second llite.lustre-ffff8d612cb2d000.statahead_batch_max=0 llite.lustre-ffff8d612cb2d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.940s user 0m0.296s sys 0m15.091s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d612cb2d000.statahead_batch_max=256 llite.lustre-ffff8d612cb2d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.stats=clear mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.540s user 0m0.294s sys 0m14.415s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790952688.349018419 secs.nsecs start_time: 1790952609.045251001 secs.nsecs elapsed_time: 79.303767418 secs.nsecs subreqs per batch batches %% cum %% 1: 79 38 38 2: 28 13 51 4: 21 10 61 8: 8 3 65 16: 16 7 73 32: 12 5 79 64: 4 1 81 128: 5 2 83 256: 34 16 100 mdc.lustre-MDT0001-mdc-ffff8d612cb2d000.batch_stats= snapshot_time: 1790952688.349080346 secs.nsecs start_time: 1790952609.045344122 secs.nsecs elapsed_time: 79.303736224 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-ffff8d612cb2d000.statahead_batch_max=64 llite.lustre-ffff8d612cb2d000.statahead_max=128