== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:31:48 (1787038308) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=0 llite.lustre-ffff8d8ac69c9800.statahead_max=32 llite.lustre-ffff8d8ac69c9800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.28 seconds: 43.78 ops/second llite.lustre-ffff8d8ac69c9800.statahead_max=0 101 real 0m2.661s user 0m0.006s sys 0m0.381s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d8ac69c9800.statahead_max=32 llite.lustre-ffff8d8ac69c9800.statahead_max=32 101 real 0m1.089s user 0m0.006s sys 0m0.187s 'ls -l' 100 files with statahead: 1 sec statahead total: 145 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 95 hit_total: 3586 miss_total: 1509 swrong=2 ewrong=2 - open/close 709 (time 1787038336.49 total 10.00 last 70.89) total: 900 open/close in 12.70 seconds: 70.87 ops/second llite.lustre-ffff8d8ac69c9800.statahead_max=0 1001 real 0m24.475s user 0m0.038s sys 0m3.694s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8d8ac69c9800.statahead_max=32 llite.lustre-ffff8d8ac69c9800.statahead_max=32 1001 real 0m10.895s user 0m0.036s sys 0m1.718s 'ls -l' 1000 files with statahead: 11 sec statahead total: 146 statahead wrong: 2 agl total: 139 list_total: 33 fname_total: 95 hit_total: 4585 miss_total: 1510 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8d8ac69c9800.statahead_stats= statahead total: 146 statahead wrong: 2 agl total: 139 list_total: 33 fname_total: 95 hit_total: 4585 miss_total: 1510 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787038407.228756129 secs.nsecs start_time: 1787038313.279787094 secs.nsecs elapsed_time: 93.948969035 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 2 5 15 4: 0 0 15 8: 4 10 26 16: 23 60 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787038407.228828195 secs.nsecs start_time: 1787038313.279978698 secs.nsecs elapsed_time: 93.948849497 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 4 7 4: 1 2 9 8: 3 7 17 16: 9 21 39 32: 25 60 100 - open/close 658 (time 1787038419.79 total 10.01 last 65.76) - open/close 1380 (time 1787038429.80 total 20.01 last 72.17) - open/close 2019 (time 1787038439.81 total 30.02 last 63.84) - open/close 2736 (time 1787038449.81 total 40.02 last 71.67) - open/close 3414 (time 1787038459.82 total 50.03 last 67.76) - open/close 4120 (time 1787038469.82 total 60.04 last 70.54) - open/close 4836 (time 1787038479.83 total 70.04 last 71.56) - open/close 5524 (time 1787038489.83 total 80.04 last 68.79) - open/close 6244 (time 1787038499.84 total 90.05 last 71.95) - open/close 6970 (time 1787038509.85 total 100.06 last 72.54) - open/close 7641 (time 1787038519.88 total 110.09 last 66.88) - open/close 8319 (time 1787038529.90 total 120.11 last 67.66) - open/close 9000 (time 1787038539.90 total 130.12 last 68.08) - open/close 9697 (time 1787038549.90 total 140.12 last 69.68) total: 10000 open/close in 145.16 seconds: 68.89 ops/second llite.lustre-ffff8d8ac69c9800.statahead_batch_max=0 llite.lustre-ffff8d8ac69c9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.516s user 0m0.373s sys 0m19.681s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d8ac69c9800.statahead_batch_max=32 llite.lustre-ffff8d8ac69c9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.922s user 0m0.385s sys 0m18.103s batched statahead RPC= hit count=9992 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787038750.651047683 secs.nsecs start_time: 1787038628.884103291 secs.nsecs elapsed_time: 121.766944392 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-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787038750.651118010 secs.nsecs start_time: 1787038628.884184698 secs.nsecs elapsed_time: 121.766933312 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=0 llite.lustre-ffff8d8ac69c9800.statahead_max=2048 llite.lustre-ffff8d8ac69c9800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.39 seconds: 41.84 ops/second llite.lustre-ffff8d8ac69c9800.statahead_max=0 101 real 0m2.056s user 0m0.004s sys 0m0.342s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d8ac69c9800.statahead_max=2048 llite.lustre-ffff8d8ac69c9800.statahead_max=2048 101 real 0m0.782s user 0m0.004s sys 0m0.224s 'ls -l' 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10091 miss_total: 9 swrong=0 ewrong=0 - open/close 694 (time 1787039069.27 total 10.01 last 69.36) total: 900 open/close in 13.11 seconds: 68.66 ops/second llite.lustre-ffff8d8ac69c9800.statahead_max=0 1001 real 0m22.898s user 0m0.038s sys 0m3.392s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8d8ac69c9800.statahead_max=2048 llite.lustre-ffff8d8ac69c9800.statahead_max=2048 1001 real 0m5.675s user 0m0.029s sys 0m1.675s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8d8ac69c9800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787039129.122990255 secs.nsecs start_time: 1787038753.006359172 secs.nsecs elapsed_time: 376.116631083 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 1 14 28 4: 1 14 42 8: 1 14 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787039129.123048305 secs.nsecs start_time: 1787038753.006793629 secs.nsecs elapsed_time: 376.116254676 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 743 (time 1787039141.31 total 10.01 last 74.24) - open/close 1543 (time 1787039151.32 total 20.02 last 79.90) - open/close 2320 (time 1787039161.33 total 30.02 last 77.67) - open/close 3051 (time 1787039171.34 total 40.03 last 73.04) - open/close 3858 (time 1787039181.35 total 50.05 last 80.60) - open/close 4680 (time 1787039191.35 total 60.05 last 82.16) - open/close 5471 (time 1787039201.37 total 70.06 last 78.98) - open/close 6273 (time 1787039211.37 total 80.07 last 80.18) - open/close 7117 (time 1787039221.38 total 90.07 last 84.34) - open/close 8013 (time 1787039231.38 total 100.08 last 89.55) - open/close 8866 (time 1787039241.40 total 110.09 last 85.18) - open/close 9729 (time 1787039251.40 total 120.10 last 86.29) total: 10000 open/close in 123.35 seconds: 81.07 ops/second llite.lustre-ffff8d8ac69c9800.statahead_batch_max=0 llite.lustre-ffff8d8ac69c9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.693s user 0m0.320s sys 0m22.615s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d8ac69c9800.statahead_batch_max=256 llite.lustre-ffff8d8ac69c9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.stats=clear mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.288s user 0m0.286s sys 0m21.003s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787039356.038408581 secs.nsecs start_time: 1787039307.079818544 secs.nsecs elapsed_time: 48.958590037 secs.nsecs subreqs per batch batches %% cum %% 1: 232 59 59 2: 48 12 71 4: 33 8 80 8: 14 3 83 16: 5 1 85 32: 15 3 88 64: 8 2 91 128: 1 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff8d8ac69c9800.batch_stats= snapshot_time: 1787039356.038483996 secs.nsecs start_time: 1787039307.079960053 secs.nsecs elapsed_time: 48.958523943 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-ffff8d8ac69c9800.statahead_batch_max=64 llite.lustre-ffff8d8ac69c9800.statahead_max=128