== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:56:33 (1787860593) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=0 llite.lustre-ffff94f748f9e800.statahead_max=32 llite.lustre-ffff94f748f9e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.81 seconds: 35.64 ops/second llite.lustre-ffff94f748f9e800.statahead_max=0 101 real 0m2.116s user 0m0.001s sys 0m0.297s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff94f748f9e800.statahead_max=32 llite.lustre-ffff94f748f9e800.statahead_max=32 101 real 0m0.985s user 0m0.009s sys 0m0.168s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 88 hit_total: 4184 miss_total: 1262 swrong=2 ewrong=2 - open/close 744 (time 1787860621.48 total 10.02 last 74.28) total: 900 open/close in 12.16 seconds: 74.00 ops/second llite.lustre-ffff94f748f9e800.statahead_max=0 1001 real 0m21.703s user 0m0.040s sys 0m2.995s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff94f748f9e800.statahead_max=32 llite.lustre-ffff94f748f9e800.statahead_max=32 1001 real 0m8.829s user 0m0.026s sys 0m1.339s 'ls -l' 1000 files with statahead: 8 sec statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 88 hit_total: 5181 miss_total: 1265 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff94f748f9e800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 88 hit_total: 5181 miss_total: 1265 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787860689.934468334 secs.nsecs start_time: 1787860599.147688232 secs.nsecs elapsed_time: 90.786780102 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 1 2 13 8: 4 10 23 16: 22 57 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787860689.934532311 secs.nsecs start_time: 1787860599.147764740 secs.nsecs elapsed_time: 90.786767571 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 1 2 12 16: 11 27 40 32: 24 60 100 - open/close 695 (time 1787860702.66 total 10.01 last 69.42) - open/close 1334 (time 1787860712.66 total 20.02 last 63.85) - open/close 2065 (time 1787860722.67 total 30.02 last 73.08) - open/close 2826 (time 1787860732.67 total 40.02 last 76.09) - open/close 3520 (time 1787860742.68 total 50.03 last 69.32) - open/close 4290 (time 1787860752.68 total 60.04 last 76.95) - open/close 4958 (time 1787860762.70 total 70.05 last 66.72) - open/close 5712 (time 1787860772.70 total 80.06 last 75.38) - open/close 6387 (time 1787860782.70 total 90.06 last 67.48) - open/close 7196 (time 1787860792.72 total 100.07 last 80.79) - open/close 7951 (time 1787860802.73 total 110.08 last 75.44) - open/close 8582 (time 1787860812.73 total 120.08 last 63.10) - open/close 9160 (time 1787860822.74 total 130.10 last 57.71) - open/close 9787 (time 1787860832.75 total 140.11 last 62.63) total: 10000 open/close in 143.09 seconds: 69.89 ops/second llite.lustre-ffff94f748f9e800.statahead_batch_max=0 llite.lustre-ffff94f748f9e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.211s user 0m0.313s sys 0m14.690s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94f748f9e800.statahead_batch_max=32 llite.lustre-ffff94f748f9e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.819s user 0m0.317s sys 0m14.592s batched statahead RPC= hit count=9991 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787861023.772831283 secs.nsecs start_time: 1787860915.368921772 secs.nsecs elapsed_time: 108.403909511 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-ffff94f748f9e800.batch_stats= snapshot_time: 1787861023.772899521 secs.nsecs start_time: 1787860915.369656103 secs.nsecs elapsed_time: 108.403243418 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=0 llite.lustre-ffff94f748f9e800.statahead_max=2048 llite.lustre-ffff94f748f9e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.79 seconds: 35.86 ops/second llite.lustre-ffff94f748f9e800.statahead_max=0 101 real 0m2.722s user 0m0.005s sys 0m0.361s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff94f748f9e800.statahead_max=2048 llite.lustre-ffff94f748f9e800.statahead_max=2048 101 real 0m1.134s user 0m0.005s sys 0m0.195s '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: 10090 miss_total: 10 swrong=0 ewrong=0 - open/close 813 (time 1787861333.19 total 10.01 last 81.25) total: 900 open/close in 11.17 seconds: 80.54 ops/second llite.lustre-ffff94f748f9e800.statahead_max=0 1001 real 0m20.476s user 0m0.032s sys 0m2.907s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff94f748f9e800.statahead_max=2048 llite.lustre-ffff94f748f9e800.statahead_max=2048 1001 real 0m6.735s user 0m0.029s sys 0m1.479s '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: 11089 miss_total: 11 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff94f748f9e800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11089 miss_total: 11 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787861395.281174147 secs.nsecs start_time: 1787861026.546908248 secs.nsecs elapsed_time: 368.734265899 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 14 14 4: 1 14 28 8: 3 42 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-ffff94f748f9e800.batch_stats= snapshot_time: 1787861395.281264292 secs.nsecs start_time: 1787861026.547316097 secs.nsecs elapsed_time: 368.733948195 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 1 11 33 16: 2 22 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 831 (time 1787861408.16 total 10.00 last 83.10) - open/close 1565 (time 1787861418.16 total 20.00 last 73.39) - open/close 2295 (time 1787861428.17 total 30.01 last 72.95) - open/close 3095 (time 1787861438.17 total 40.01 last 79.98) - open/close 3828 (time 1787861448.18 total 50.02 last 73.21) - open/close 4493 (time 1787861458.20 total 60.05 last 66.35) - open/close 5268 (time 1787861468.21 total 70.06 last 77.42) - open/close 6028 (time 1787861478.22 total 80.06 last 75.98) - open/close 6755 (time 1787861488.23 total 90.07 last 72.63) - open/close 7416 (time 1787861498.23 total 100.08 last 66.05) - open/close 8275 (time 1787861508.24 total 110.08 last 85.84) - open/close 9001 (time 1787861518.24 total 120.09 last 72.57) - open/close 9809 (time 1787861528.25 total 130.09 last 80.78) total: 10000 open/close in 132.76 seconds: 75.33 ops/second llite.lustre-ffff94f748f9e800.statahead_batch_max=0 llite.lustre-ffff94f748f9e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.707s user 0m0.304s sys 0m14.776s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94f748f9e800.statahead_batch_max=256 llite.lustre-ffff94f748f9e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94f748f9e800.stats=clear mdc.lustre-MDT0001-mdc-ffff94f748f9e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.340s user 0m0.273s sys 0m15.516s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787861654.430744334 secs.nsecs start_time: 1787861598.691733003 secs.nsecs elapsed_time: 55.739011331 secs.nsecs subreqs per batch batches %% cum %% 1: 137 53 53 2: 18 7 60 4: 27 10 71 8: 11 4 75 16: 5 1 77 32: 18 7 84 64: 3 1 85 128: 3 1 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff94f748f9e800.batch_stats= snapshot_time: 1787861654.430826225 secs.nsecs start_time: 1787861598.691952945 secs.nsecs elapsed_time: 55.738873280 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-ffff94f748f9e800.statahead_batch_max=64 llite.lustre-ffff94f748f9e800.statahead_max=128