== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:43:29 (1787384609) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=0 llite.lustre-ffff92ad05f02000.statahead_max=32 llite.lustre-ffff92ad05f02000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.14 seconds: 31.82 ops/second llite.lustre-ffff92ad05f02000.statahead_max=0 101 real 0m2.556s user 0m0.003s sys 0m0.364s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff92ad05f02000.statahead_max=32 llite.lustre-ffff92ad05f02000.statahead_max=32 101 real 0m1.782s user 0m0.008s sys 0m0.199s 'ls -l' 100 files with statahead: 1 sec statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 32 fname_total: 81 hit_total: 3921 miss_total: 1319 swrong=2 ewrong=2 - open/close 863 (time 1787384640.56 total 10.01 last 86.21) total: 900 open/close in 10.45 seconds: 86.10 ops/second llite.lustre-ffff92ad05f02000.statahead_max=0 1001 real 0m24.950s user 0m0.035s sys 0m3.183s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff92ad05f02000.statahead_max=32 llite.lustre-ffff92ad05f02000.statahead_max=32 1001 real 0m10.274s user 0m0.023s sys 0m1.611s 'ls -l' 1000 files with statahead: 10 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 33 fname_total: 81 hit_total: 4917 miss_total: 1323 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff92ad05f02000.statahead_stats= statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 33 fname_total: 81 hit_total: 4917 miss_total: 1323 mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787384710.167925539 secs.nsecs start_time: 1787384615.378747811 secs.nsecs elapsed_time: 94.789177728 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 2 5 10 8: 3 8 18 16: 22 59 78 32: 8 21 100 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787384710.168004849 secs.nsecs start_time: 1787384615.378827541 secs.nsecs elapsed_time: 94.789177308 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 1 2 12 16: 16 40 52 32: 19 47 100 - open/close 784 (time 1787384723.12 total 10.00 last 78.38) - open/close 1539 (time 1787384733.12 total 20.01 last 75.47) - open/close 2327 (time 1787384743.13 total 30.02 last 78.72) - open/close 3159 (time 1787384753.14 total 40.02 last 83.17) - open/close 4042 (time 1787384763.14 total 50.03 last 88.24) - open/close 4886 (time 1787384773.15 total 60.03 last 84.35) - open/close 5740 (time 1787384783.15 total 70.04 last 85.37) - open/close 6607 (time 1787384793.15 total 80.04 last 86.68) - open/close 7429 (time 1787384803.16 total 90.04 last 82.15) - open/close 8249 (time 1787384813.16 total 100.05 last 81.95) - open/close 9107 (time 1787384823.17 total 110.05 last 85.77) - open/close 9995 (time 1787384833.20 total 120.08 last 88.57) total: 10000 open/close in 120.16 seconds: 83.22 ops/second llite.lustre-ffff92ad05f02000.statahead_batch_max=0 llite.lustre-ffff92ad05f02000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.125s user 0m0.337s sys 0m16.871s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92ad05f02000.statahead_batch_max=32 llite.lustre-ffff92ad05f02000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.768s user 0m0.301s sys 0m15.841s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787385042.728550049 secs.nsecs start_time: 1787384912.891145996 secs.nsecs elapsed_time: 129.837404053 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-ffff92ad05f02000.batch_stats= snapshot_time: 1787385042.728621071 secs.nsecs start_time: 1787384912.891291648 secs.nsecs elapsed_time: 129.837329423 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=0 llite.lustre-ffff92ad05f02000.statahead_max=2048 llite.lustre-ffff92ad05f02000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.51 seconds: 39.87 ops/second llite.lustre-ffff92ad05f02000.statahead_max=0 101 real 0m2.549s user 0m0.008s sys 0m0.370s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff92ad05f02000.statahead_max=2048 llite.lustre-ffff92ad05f02000.statahead_max=2048 101 real 0m0.957s user 0m0.004s sys 0m0.175s '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 840 (time 1787385351.73 total 10.01 last 83.94) total: 900 open/close in 10.80 seconds: 83.35 ops/second llite.lustre-ffff92ad05f02000.statahead_max=0 1001 real 0m20.606s user 0m0.029s sys 0m3.200s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff92ad05f02000.statahead_max=2048 llite.lustre-ffff92ad05f02000.statahead_max=2048 1001 real 0m6.636s user 0m0.035s sys 0m1.701s '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: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff92ad05f02000.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-ffff92ad05f02000.batch_stats= snapshot_time: 1787385410.688203983 secs.nsecs start_time: 1787385045.275468053 secs.nsecs elapsed_time: 365.412735930 secs.nsecs subreqs per batch batches %% cum %% 1: 2 22 22 2: 0 0 22 4: 1 11 33 8: 3 33 66 16: 0 0 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787385410.688269831 secs.nsecs start_time: 1787385045.275619186 secs.nsecs elapsed_time: 365.412650645 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 8 8 4: 1 8 16 8: 1 8 25 16: 5 41 66 32: 2 16 83 64: 0 0 83 128: 0 0 83 256: 2 16 100 - open/close 787 (time 1787385422.72 total 10.00 last 78.69) - open/close 1573 (time 1787385432.73 total 20.01 last 78.54) - open/close 2357 (time 1787385442.74 total 30.01 last 78.37) - open/close 3191 (time 1787385452.74 total 40.01 last 83.39) - open/close 3980 (time 1787385462.74 total 50.02 last 78.86) - open/close 4759 (time 1787385472.76 total 60.03 last 77.78) - open/close 5541 (time 1787385482.76 total 70.04 last 78.17) - open/close 6391 (time 1787385492.77 total 80.04 last 84.96) - open/close 7232 (time 1787385502.78 total 90.06 last 83.99) - open/close 8089 (time 1787385512.78 total 100.06 last 85.68) - open/close 8896 (time 1787385522.79 total 110.07 last 80.64) - open/close 9758 (time 1787385532.80 total 120.07 last 86.13) total: 10000 open/close in 122.92 seconds: 81.35 ops/second llite.lustre-ffff92ad05f02000.statahead_batch_max=0 llite.lustre-ffff92ad05f02000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.091s user 0m0.332s sys 0m18.317s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92ad05f02000.statahead_batch_max=256 llite.lustre-ffff92ad05f02000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f02000.stats=clear mdc.lustre-MDT0001-mdc-ffff92ad05f02000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.720s user 0m0.301s sys 0m18.183s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787385668.028549963 secs.nsecs start_time: 1787385603.285804885 secs.nsecs elapsed_time: 64.742745078 secs.nsecs subreqs per batch batches %% cum %% 1: 286 58 58 2: 62 12 71 4: 54 11 82 8: 17 3 86 16: 14 2 89 32: 12 2 91 64: 6 1 92 128: 1 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff92ad05f02000.batch_stats= snapshot_time: 1787385668.028760125 secs.nsecs start_time: 1787385603.285905134 secs.nsecs elapsed_time: 64.742854991 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-ffff92ad05f02000.statahead_batch_max=64 llite.lustre-ffff92ad05f02000.statahead_max=128