== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:45:33 (1785969933) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=0 llite.lustre-ffff9d1844fb2000.statahead_max=32 llite.lustre-ffff9d1844fb2000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=0 total: 100 open/close in 3.02 seconds: 33.14 ops/second llite.lustre-ffff9d1844fb2000.statahead_max=0 101 real 0m2.044s user 0m0.005s sys 0m0.333s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9d1844fb2000.statahead_max=32 llite.lustre-ffff9d1844fb2000.statahead_max=32 101 real 0m1.183s user 0m0.007s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 122 statahead wrong: 2 agl total: 116 list_total: 29 fname_total: 87 hit_total: 4042 miss_total: 1732 swrong=2 ewrong=2 - open/close 776 (time 1785969962.10 total 10.02 last 77.41) total: 900 open/close in 11.86 seconds: 75.89 ops/second llite.lustre-ffff9d1844fb2000.statahead_max=0 1001 real 0m24.103s user 0m0.027s sys 0m3.219s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9d1844fb2000.statahead_max=32 llite.lustre-ffff9d1844fb2000.statahead_max=32 1001 real 0m11.164s user 0m0.034s sys 0m1.569s 'ls -l' 1000 files with statahead: 11 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 30 fname_total: 87 hit_total: 5040 miss_total: 1734 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9d1844fb2000.statahead_stats= statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 30 fname_total: 87 hit_total: 5040 miss_total: 1734 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats= snapshot_time: 1785970034.628772430 secs.nsecs start_time: 1785969938.056519099 secs.nsecs elapsed_time: 96.572253331 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 711 (time 1785970047.50 total 10.01 last 71.03) - open/close 1612 (time 1785970057.50 total 20.01 last 90.08) - open/close 2402 (time 1785970067.54 total 30.05 last 78.70) - open/close 3193 (time 1785970077.55 total 40.06 last 79.02) - open/close 4032 (time 1785970087.55 total 50.07 last 83.83) - open/close 4931 (time 1785970097.56 total 60.08 last 89.81) - open/close 5606 (time 1785970107.56 total 70.08 last 67.50) - open/close 6323 (time 1785970117.57 total 80.08 last 71.66) - open/close 7067 (time 1785970127.58 total 90.09 last 74.36) - open/close 7759 (time 1785970137.58 total 100.10 last 69.16) - open/close 8482 (time 1785970147.61 total 110.12 last 72.09) - open/close 9272 (time 1785970157.62 total 120.13 last 78.94) total: 10000 open/close in 129.03 seconds: 77.50 ops/second llite.lustre-ffff9d1844fb2000.statahead_batch_max=0 llite.lustre-ffff9d1844fb2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.862s user 0m0.339s sys 0m16.278s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d1844fb2000.statahead_batch_max=32 llite.lustre-ffff9d1844fb2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m7.473s user 0m0.393s sys 0m15.669s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats= snapshot_time: 1785970401.663565216 secs.nsecs start_time: 1785970255.705022268 secs.nsecs elapsed_time: 145.958542948 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=0 llite.lustre-ffff9d1844fb2000.statahead_max=2048 llite.lustre-ffff9d1844fb2000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=0 total: 100 open/close in 3.08 seconds: 32.51 ops/second llite.lustre-ffff9d1844fb2000.statahead_max=0 101 real 0m2.885s user 0m0.007s sys 0m0.375s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9d1844fb2000.statahead_max=2048 llite.lustre-ffff9d1844fb2000.statahead_max=2048 101 real 0m0.965s user 0m0.007s sys 0m0.177s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 648 (time 1785970742.20 total 10.01 last 64.76) total: 900 open/close in 13.49 seconds: 66.70 ops/second llite.lustre-ffff9d1844fb2000.statahead_max=0 1001 real 0m25.342s user 0m0.040s sys 0m3.302s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9d1844fb2000.statahead_max=2048 llite.lustre-ffff9d1844fb2000.statahead_max=2048 1001 real 0m9.189s user 0m0.029s sys 0m1.471s 'ls -l' 1000 files with statahead: 10 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9d1844fb2000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats= snapshot_time: 1785970821.131168823 secs.nsecs start_time: 1785970405.651637288 secs.nsecs elapsed_time: 415.479531535 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 1 9 45 64: 1 9 54 128: 1 9 63 256: 4 36 100 - open/close 625 (time 1785970835.13 total 10.01 last 62.44) - open/close 1355 (time 1785970845.14 total 20.02 last 72.89) - open/close 2057 (time 1785970855.15 total 30.04 last 70.11) - open/close 2622 (time 1785970865.16 total 40.05 last 56.45) - open/close 3345 (time 1785970875.17 total 50.06 last 72.23) - open/close 4009 (time 1785970885.19 total 60.07 last 66.28) - open/close 4667 (time 1785970895.19 total 70.08 last 65.77) - open/close 5323 (time 1785970905.19 total 80.08 last 65.60) - open/close 6088 (time 1785970915.22 total 90.10 last 76.31) - open/close 6792 (time 1785970925.23 total 100.12 last 70.31) - open/close 7486 (time 1785970935.24 total 110.12 last 69.35) - open/close 8277 (time 1785970945.26 total 120.14 last 78.96) - open/close 8948 (time 1785970955.26 total 130.15 last 67.06) - open/close 9716 (time 1785970965.27 total 140.15 last 76.77) total: 10000 open/close in 144.51 seconds: 69.20 ops/second llite.lustre-ffff9d1844fb2000.statahead_batch_max=0 llite.lustre-ffff9d1844fb2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.986s user 0m0.318s sys 0m15.704s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9d1844fb2000.statahead_batch_max=256 llite.lustre-ffff9d1844fb2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.737s user 0m0.296s sys 0m16.406s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9d1844fb2000.batch_stats= snapshot_time: 1785971155.785532113 secs.nsecs start_time: 1785971061.947283498 secs.nsecs elapsed_time: 93.838248615 secs.nsecs subreqs per batch batches %% cum %% 1: 144 45 45 2: 49 15 60 4: 32 10 70 8: 18 5 76 16: 24 7 83 32: 14 4 88 64: 2 0 88 128: 2 0 89 256: 34 10 100 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-ffff9d1844fb2000.statahead_batch_max=64 llite.lustre-ffff9d1844fb2000.statahead_max=128