== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:20:34 (1788528034) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=0 llite.lustre-ffff9e0dd1532000.statahead_max=32 llite.lustre-ffff9e0dd1532000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.94 seconds: 51.56 ops/second llite.lustre-ffff9e0dd1532000.statahead_max=0 101 real 0m1.863s user 0m0.004s sys 0m0.306s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9e0dd1532000.statahead_max=32 llite.lustre-ffff9e0dd1532000.statahead_max=32 101 real 0m1.064s user 0m0.005s sys 0m0.165s 'ls -l' 100 files with statahead: 1 sec statahead total: 127 statahead wrong: 1 agl total: 121 list_total: 31 fname_total: 75 hit_total: 3743 miss_total: 254 swrong=1 ewrong=1 - open/close 873 (time 1788528061.38 total 10.00 last 87.29) total: 900 open/close in 10.23 seconds: 87.94 ops/second llite.lustre-ffff9e0dd1532000.statahead_max=0 1001 real 0m21.359s user 0m0.030s sys 0m2.855s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9e0dd1532000.statahead_max=32 llite.lustre-ffff9e0dd1532000.statahead_max=32 1001 real 0m8.933s user 0m0.028s sys 0m1.350s 'ls -l' 1000 files with statahead: 9 sec statahead total: 128 statahead wrong: 1 agl total: 122 list_total: 32 fname_total: 75 hit_total: 4741 miss_total: 256 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9e0dd1532000.statahead_stats= statahead total: 128 statahead wrong: 1 agl total: 122 list_total: 32 fname_total: 75 hit_total: 4741 miss_total: 256 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528128.362054849 secs.nsecs start_time: 1788528038.737967308 secs.nsecs elapsed_time: 89.624087541 secs.nsecs subreqs per batch batches %% cum %% 1: 3 8 8 2: 3 8 16 4: 0 0 16 8: 1 2 18 16: 22 59 78 32: 8 21 100 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528128.362132455 secs.nsecs start_time: 1788528038.738112028 secs.nsecs elapsed_time: 89.624020427 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 4 4: 1 2 7 8: 4 9 17 16: 10 24 41 32: 24 58 100 - open/close 845 (time 1788528140.99 total 10.01 last 84.45) - open/close 1738 (time 1788528150.99 total 20.01 last 89.29) - open/close 2589 (time 1788528161.00 total 30.01 last 85.05) - open/close 3392 (time 1788528171.00 total 40.02 last 80.27) - open/close 4352 (time 1788528181.00 total 50.02 last 95.98) - open/close 5272 (time 1788528191.02 total 60.03 last 91.87) - open/close 5967 (time 1788528201.02 total 70.04 last 69.44) - open/close 6859 (time 1788528211.03 total 80.05 last 89.16) - open/close 7668 (time 1788528221.03 total 90.05 last 80.89) - open/close 8458 (time 1788528231.03 total 100.05 last 78.99) - open/close 9238 (time 1788528241.04 total 110.05 last 77.97) - open/close 9923 (time 1788528251.04 total 120.05 last 68.49) total: 10000 open/close in 121.07 seconds: 82.59 ops/second llite.lustre-ffff9e0dd1532000.statahead_batch_max=0 llite.lustre-ffff9e0dd1532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.326s user 0m0.343s sys 0m14.236s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e0dd1532000.statahead_batch_max=32 llite.lustre-ffff9e0dd1532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.953s user 0m0.332s sys 0m13.404s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528453.963211585 secs.nsecs start_time: 1788528329.368176448 secs.nsecs elapsed_time: 124.595035137 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-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528453.963305691 secs.nsecs start_time: 1788528329.368378634 secs.nsecs elapsed_time: 124.594927057 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=0 llite.lustre-ffff9e0dd1532000.statahead_max=2048 llite.lustre-ffff9e0dd1532000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.37 seconds: 42.17 ops/second llite.lustre-ffff9e0dd1532000.statahead_max=0 101 real 0m2.021s user 0m0.001s sys 0m0.306s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9e0dd1532000.statahead_max=2048 llite.lustre-ffff9e0dd1532000.statahead_max=2048 101 real 0m0.937s user 0m0.005s sys 0m0.179s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 835 (time 1788528728.96 total 10.00 last 83.47) total: 900 open/close in 10.76 seconds: 83.61 ops/second llite.lustre-ffff9e0dd1532000.statahead_max=0 1001 real 0m18.816s user 0m0.033s sys 0m2.766s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9e0dd1532000.statahead_max=2048 llite.lustre-ffff9e0dd1532000.statahead_max=2048 1001 real 0m7.692s user 0m0.027s sys 0m1.351s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9e0dd1532000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528791.625617458 secs.nsecs start_time: 1788528457.322855913 secs.nsecs elapsed_time: 334.302761545 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 3 42 71 4: 0 0 71 8: 0 0 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788528791.625698758 secs.nsecs start_time: 1788528457.322997803 secs.nsecs elapsed_time: 334.302700955 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 30 30 16: 2 20 50 32: 3 30 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 744 (time 1788528804.71 total 10.00 last 74.38) - open/close 1720 (time 1788528814.71 total 20.00 last 97.60) - open/close 2494 (time 1788528824.72 total 30.01 last 77.34) - open/close 3123 (time 1788528834.72 total 40.01 last 62.89) - open/close 3666 (time 1788528844.74 total 50.03 last 54.21) - open/close 4281 (time 1788528854.76 total 60.05 last 61.36) - open/close 5058 (time 1788528864.80 total 70.09 last 77.42) - open/close 5668 (time 1788528874.80 total 80.09 last 60.97) - open/close 6636 (time 1788528884.80 total 90.10 last 96.76) - open/close 7536 (time 1788528894.82 total 100.11 last 89.85) - open/close 8521 (time 1788528904.83 total 110.12 last 98.42) - open/close 9624 (time 1788528914.83 total 120.12 last 110.29) total: 10000 open/close in 123.51 seconds: 80.96 ops/second llite.lustre-ffff9e0dd1532000.statahead_batch_max=0 llite.lustre-ffff9e0dd1532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.867s user 0m0.305s sys 0m13.676s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e0dd1532000.statahead_batch_max=256 llite.lustre-ffff9e0dd1532000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.stats=clear mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.014s user 0m0.282s sys 0m13.890s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788529055.512114250 secs.nsecs start_time: 1788528987.186988252 secs.nsecs elapsed_time: 68.325125998 secs.nsecs subreqs per batch batches %% cum %% 1: 146 47 47 2: 48 15 62 4: 31 10 72 8: 16 5 77 16: 12 3 81 32: 16 5 87 64: 4 1 88 128: 2 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff9e0dd1532000.batch_stats= snapshot_time: 1788529055.512198518 secs.nsecs start_time: 1788528987.187136354 secs.nsecs elapsed_time: 68.325062164 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-ffff9e0dd1532000.statahead_batch_max=64 llite.lustre-ffff9e0dd1532000.statahead_max=128