== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:21:49 (1787703709) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=0 llite.lustre-ffff8bf810622800.statahead_max=32 llite.lustre-ffff8bf810622800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.97 seconds: 33.67 ops/second llite.lustre-ffff8bf810622800.statahead_max=0 101 real 0m2.458s user 0m0.008s sys 0m0.316s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8bf810622800.statahead_max=32 llite.lustre-ffff8bf810622800.statahead_max=32 101 real 0m1.066s user 0m0.006s sys 0m0.171s 'ls -l' 100 files with statahead: 1 sec statahead total: 139 statahead wrong: 2 agl total: 132 list_total: 31 fname_total: 105 hit_total: 3744 miss_total: 1699 swrong=2 ewrong=2 - open/close 612 (time 1787703737.02 total 10.00 last 61.18) total: 900 open/close in 14.82 seconds: 60.72 ops/second llite.lustre-ffff8bf810622800.statahead_max=0 1001 real 0m23.005s user 0m0.045s sys 0m2.985s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8bf810622800.statahead_max=32 llite.lustre-ffff8bf810622800.statahead_max=32 1001 real 0m9.922s user 0m0.030s sys 0m1.455s 'ls -l' 1000 files with statahead: 10 sec statahead total: 140 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 105 hit_total: 4741 miss_total: 1702 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff8bf810622800.statahead_stats= statahead total: 140 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 105 hit_total: 4741 miss_total: 1702 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787703816.564184960 secs.nsecs start_time: 1787703714.075297282 secs.nsecs elapsed_time: 102.488887678 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 3 7 23 16: 20 52 76 32: 9 23 100 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787703816.564286109 secs.nsecs start_time: 1787703714.075382632 secs.nsecs elapsed_time: 102.488903477 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 1 2 10 16: 13 33 43 32: 22 56 100 - open/close 515 (time 1787703830.43 total 10.00 last 51.49) - open/close 1070 (time 1787703840.43 total 20.00 last 55.48) - open/close 1665 (time 1787703850.43 total 30.01 last 59.50) - open/close 2233 (time 1787703860.44 total 40.01 last 56.75) - open/close 2799 (time 1787703870.46 total 50.03 last 56.49) - open/close 3356 (time 1787703880.46 total 60.04 last 55.69) - open/close 3972 (time 1787703890.48 total 70.05 last 61.50) - open/close 4603 (time 1787703900.49 total 80.06 last 63.03) - open/close 5266 (time 1787703910.49 total 90.07 last 66.28) - open/close 5892 (time 1787703920.50 total 100.07 last 62.57) - open/close 6475 (time 1787703930.51 total 110.09 last 58.19) - open/close 7147 (time 1787703940.52 total 120.10 last 67.14) - open/close 7798 (time 1787703950.55 total 130.12 last 64.95) - open/close 8456 (time 1787703960.55 total 140.13 last 65.75) - open/close 9128 (time 1787703970.56 total 150.13 last 67.17) - open/close 9802 (time 1787703980.57 total 160.14 last 67.35) total: 10000 open/close in 163.73 seconds: 61.08 ops/second llite.lustre-ffff8bf810622800.statahead_batch_max=0 llite.lustre-ffff8bf810622800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.454s user 0m0.345s sys 0m15.688s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8bf810622800.statahead_batch_max=32 llite.lustre-ffff8bf810622800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.205s user 0m0.333s sys 0m14.431s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787704172.388306491 secs.nsecs start_time: 1787704054.816447874 secs.nsecs elapsed_time: 117.571858617 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-ffff8bf810622800.batch_stats= snapshot_time: 1787704172.388425257 secs.nsecs start_time: 1787704054.816527207 secs.nsecs elapsed_time: 117.571898050 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=0 llite.lustre-ffff8bf810622800.statahead_max=2048 llite.lustre-ffff8bf810622800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.46 seconds: 40.68 ops/second llite.lustre-ffff8bf810622800.statahead_max=0 101 real 0m2.536s user 0m0.004s sys 0m0.317s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8bf810622800.statahead_max=2048 llite.lustre-ffff8bf810622800.statahead_max=2048 101 real 0m1.151s user 0m0.007s sys 0m0.171s '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: 10086 miss_total: 14 swrong=0 ewrong=0 - open/close 709 (time 1787704517.30 total 10.01 last 70.85) total: 900 open/close in 12.51 seconds: 71.92 ops/second llite.lustre-ffff8bf810622800.statahead_max=0 1001 real 0m23.172s user 0m0.033s sys 0m2.964s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8bf810622800.statahead_max=2048 llite.lustre-ffff8bf810622800.statahead_max=2048 1001 real 0m6.476s user 0m0.027s sys 0m1.407s '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: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8bf810622800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787704582.623707045 secs.nsecs start_time: 1787704175.507925972 secs.nsecs elapsed_time: 407.115781073 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 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 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787704582.624245250 secs.nsecs start_time: 1787704175.508081784 secs.nsecs elapsed_time: 407.116163466 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 - open/close 656 (time 1787704594.96 total 10.01 last 65.57) - open/close 1402 (time 1787704604.97 total 20.01 last 74.53) - open/close 2096 (time 1787704614.98 total 30.03 last 69.32) - open/close 2808 (time 1787704624.98 total 40.03 last 71.20) - open/close 3537 (time 1787704634.99 total 50.03 last 72.84) - open/close 4257 (time 1787704644.99 total 60.04 last 71.99) - open/close 5006 (time 1787704655.00 total 70.04 last 74.87) - open/close 5682 (time 1787704665.01 total 80.05 last 67.53) - open/close 6343 (time 1787704675.01 total 90.05 last 66.09) - open/close 6961 (time 1787704685.01 total 100.06 last 61.78) - open/close 7514 (time 1787704695.03 total 110.07 last 55.23) - open/close 8040 (time 1787704705.05 total 120.10 last 52.45) - open/close 8561 (time 1787704715.06 total 130.11 last 52.06) - open/close 9297 (time 1787704725.08 total 140.12 last 73.49) total: 10000 open/close in 149.35 seconds: 66.96 ops/second llite.lustre-ffff8bf810622800.statahead_batch_max=0 llite.lustre-ffff8bf810622800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.336s user 0m0.338s sys 0m14.986s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8bf810622800.statahead_batch_max=256 llite.lustre-ffff8bf810622800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8bf810622800.stats=clear mdc.lustre-MDT0001-mdc-ffff8bf810622800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.460s user 0m0.330s sys 0m15.095s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787704880.629679398 secs.nsecs start_time: 1787704809.858731707 secs.nsecs elapsed_time: 70.770947691 secs.nsecs subreqs per batch batches %% cum %% 1: 167 43 43 2: 69 18 61 4: 40 10 72 8: 29 7 79 16: 20 5 84 32: 21 5 90 64: 3 0 91 128: 1 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffff8bf810622800.batch_stats= snapshot_time: 1787704880.629764368 secs.nsecs start_time: 1787704809.858878286 secs.nsecs elapsed_time: 70.770886082 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-ffff8bf810622800.statahead_batch_max=64 llite.lustre-ffff8bf810622800.statahead_max=128