== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:01:52 (1788753712) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=0 llite.lustre-ffff88b28352c000.statahead_max=32 llite.lustre-ffff88b28352c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.46 seconds: 40.62 ops/second llite.lustre-ffff88b28352c000.statahead_max=0 101 real 0m2.605s user 0m0.005s sys 0m0.322s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88b28352c000.statahead_max=32 llite.lustre-ffff88b28352c000.statahead_max=32 101 real 0m1.192s user 0m0.004s sys 0m0.171s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 30 fname_total: 88 hit_total: 4052 miss_total: 1481 swrong=2 ewrong=2 total: 900 open/close in 9.95 seconds: 90.42 ops/second llite.lustre-ffff88b28352c000.statahead_max=0 1001 real 0m23.116s user 0m0.038s sys 0m2.957s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff88b28352c000.statahead_max=32 llite.lustre-ffff88b28352c000.statahead_max=32 1001 real 0m8.636s user 0m0.026s sys 0m1.455s 'ls -l' 1000 files with statahead: 9 sec statahead total: 125 statahead wrong: 2 agl total: 120 list_total: 31 fname_total: 88 hit_total: 5050 miss_total: 1483 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff88b28352c000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 120 list_total: 31 fname_total: 88 hit_total: 5050 miss_total: 1483 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788753810.001916750 secs.nsecs start_time: 1788753717.867369410 secs.nsecs elapsed_time: 92.134547340 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 8 11 8: 2 5 16 16: 27 75 91 32: 3 8 100 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788753810.001997008 secs.nsecs start_time: 1788753717.868962996 secs.nsecs elapsed_time: 92.133034012 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 1 2 12 16: 8 20 32 32: 27 67 100 - open/close 679 (time 1788753823.04 total 10.00 last 67.90) - open/close 1484 (time 1788753833.04 total 20.01 last 80.46) - open/close 2278 (time 1788753843.04 total 30.01 last 79.39) - open/close 3029 (time 1788753853.05 total 40.01 last 75.06) - open/close 3918 (time 1788753863.05 total 50.01 last 88.89) - open/close 4765 (time 1788753873.06 total 60.02 last 84.62) - open/close 5593 (time 1788753883.07 total 70.03 last 82.75) - open/close 6393 (time 1788753893.07 total 80.03 last 79.95) - open/close 7141 (time 1788753903.07 total 90.04 last 74.79) - open/close 7958 (time 1788753913.08 total 100.04 last 81.63) - open/close 8791 (time 1788753923.09 total 110.05 last 83.23) - open/close 9593 (time 1788753933.09 total 120.06 last 80.16) total: 10000 open/close in 125.40 seconds: 79.74 ops/second llite.lustre-ffff88b28352c000.statahead_batch_max=0 llite.lustre-ffff88b28352c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.744s user 0m0.318s sys 0m15.464s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88b28352c000.statahead_batch_max=32 llite.lustre-ffff88b28352c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.321s user 0m0.306s sys 0m14.388s batched statahead RPC= hit count=9988 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788754136.154096271 secs.nsecs start_time: 1788754013.354228224 secs.nsecs elapsed_time: 122.799868047 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-ffff88b28352c000.batch_stats= snapshot_time: 1788754136.154173071 secs.nsecs start_time: 1788754013.354315355 secs.nsecs elapsed_time: 122.799857716 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=0 llite.lustre-ffff88b28352c000.statahead_max=2048 llite.lustre-ffff88b28352c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.81 seconds: 35.61 ops/second llite.lustre-ffff88b28352c000.statahead_max=0 101 real 0m2.517s user 0m0.005s sys 0m0.329s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88b28352c000.statahead_max=2048 llite.lustre-ffff88b28352c000.statahead_max=2048 101 real 0m0.989s user 0m0.006s sys 0m0.186s '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: 10087 miss_total: 13 swrong=0 ewrong=0 - open/close 858 (time 1788754436.58 total 10.01 last 85.73) total: 900 open/close in 10.64 seconds: 84.59 ops/second llite.lustre-ffff88b28352c000.statahead_max=0 1001 real 0m23.953s user 0m0.035s sys 0m2.966s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff88b28352c000.statahead_max=2048 llite.lustre-ffff88b28352c000.statahead_max=2048 1001 real 0m4.762s user 0m0.026s sys 0m1.546s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff88b28352c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788754495.865338163 secs.nsecs start_time: 1788754139.016865171 secs.nsecs elapsed_time: 356.848472992 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 14 14 8: 3 42 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788754495.865421027 secs.nsecs start_time: 1788754139.020402779 secs.nsecs elapsed_time: 356.845018248 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 28 28 4: 1 14 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 931 (time 1788754508.46 total 10.01 last 93.02) - open/close 1739 (time 1788754518.46 total 20.01 last 80.79) - open/close 2637 (time 1788754528.47 total 30.02 last 89.71) - open/close 3503 (time 1788754538.48 total 40.03 last 86.53) - open/close 4318 (time 1788754548.48 total 50.03 last 81.48) - open/close 5229 (time 1788754558.49 total 60.04 last 91.04) - open/close 6213 (time 1788754568.49 total 70.04 last 98.35) - open/close 7051 (time 1788754578.50 total 80.05 last 83.76) - open/close 7888 (time 1788754588.51 total 90.06 last 83.61) - open/close 8790 (time 1788754598.51 total 100.06 last 90.16) - open/close 9647 (time 1788754608.52 total 110.06 last 85.68) total: 10000 open/close in 113.96 seconds: 87.75 ops/second llite.lustre-ffff88b28352c000.statahead_batch_max=0 llite.lustre-ffff88b28352c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.792s user 0m0.335s sys 0m16.215s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88b28352c000.statahead_batch_max=256 llite.lustre-ffff88b28352c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88b28352c000.stats=clear mdc.lustre-MDT0001-mdc-ffff88b28352c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.891s user 0m0.323s sys 0m15.572s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788754744.342229407 secs.nsecs start_time: 1788754679.697431817 secs.nsecs elapsed_time: 64.644797590 secs.nsecs subreqs per batch batches %% cum %% 1: 116 45 45 2: 38 15 60 4: 23 9 69 8: 10 3 73 16: 7 2 76 32: 13 5 81 64: 11 4 86 128: 1 0 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff88b28352c000.batch_stats= snapshot_time: 1788754744.342297887 secs.nsecs start_time: 1788754679.697696886 secs.nsecs elapsed_time: 64.644601001 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-ffff88b28352c000.statahead_batch_max=64 llite.lustre-ffff88b28352c000.statahead_max=128