== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:04:35 (1790946275) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=0 llite.lustre-ffff96b44da6f000.statahead_max=32 llite.lustre-ffff96b44da6f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.72 ops/second llite.lustre-ffff96b44da6f000.statahead_max=0 101 real 0m2.237s user 0m0.007s sys 0m0.312s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff96b44da6f000.statahead_max=32 llite.lustre-ffff96b44da6f000.statahead_max=32 101 real 0m1.174s user 0m0.006s sys 0m0.166s 'ls -l' 100 files with statahead: 2 sec statahead total: 117 statahead wrong: 2 agl total: 111 list_total: 30 fname_total: 87 hit_total: 3941 miss_total: 1351 swrong=2 ewrong=2 - open/close 726 (time 1790946303.93 total 10.01 last 72.54) total: 900 open/close in 12.20 seconds: 73.76 ops/second llite.lustre-ffff96b44da6f000.statahead_max=0 1001 real 0m18.291s user 0m0.038s sys 0m2.876s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff96b44da6f000.statahead_max=32 llite.lustre-ffff96b44da6f000.statahead_max=32 1001 real 0m9.300s user 0m0.029s sys 0m1.339s 'ls -l' 1000 files with statahead: 9 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 87 hit_total: 4939 miss_total: 1353 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff96b44da6f000.statahead_stats= statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 87 hit_total: 4939 miss_total: 1353 mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790946371.713214157 secs.nsecs start_time: 1790946280.465943710 secs.nsecs elapsed_time: 91.247270447 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 0 0 7 4: 4 10 18 8: 0 0 18 16: 26 68 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790946371.714485388 secs.nsecs start_time: 1790946280.466032849 secs.nsecs elapsed_time: 91.248452539 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 0 0 5 8: 4 10 15 16: 9 23 38 32: 24 61 100 - open/close 711 (time 1790946384.15 total 10.00 last 71.08) - open/close 1474 (time 1790946394.16 total 20.01 last 76.25) - open/close 2248 (time 1790946404.16 total 30.01 last 77.39) - open/close 3082 (time 1790946414.17 total 40.02 last 83.36) - open/close 3942 (time 1790946424.17 total 50.02 last 85.96) - open/close 4816 (time 1790946434.18 total 60.03 last 87.35) - open/close 5619 (time 1790946444.19 total 70.04 last 80.22) - open/close 6403 (time 1790946454.19 total 80.04 last 78.34) - open/close 7133 (time 1790946464.21 total 90.06 last 72.90) - open/close 7952 (time 1790946474.22 total 100.07 last 81.81) - open/close 8773 (time 1790946484.23 total 110.08 last 82.03) - open/close 9582 (time 1790946494.23 total 120.08 last 80.88) total: 10000 open/close in 126.05 seconds: 79.33 ops/second llite.lustre-ffff96b44da6f000.statahead_batch_max=0 llite.lustre-ffff96b44da6f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.913s user 0m0.324s sys 0m15.771s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96b44da6f000.statahead_batch_max=32 llite.lustre-ffff96b44da6f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.954s user 0m0.321s sys 0m14.053s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790946689.577319677 secs.nsecs start_time: 1790946570.264583709 secs.nsecs elapsed_time: 119.312735968 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-ffff96b44da6f000.batch_stats= snapshot_time: 1790946689.577423347 secs.nsecs start_time: 1790946570.265018852 secs.nsecs elapsed_time: 119.312404495 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=0 llite.lustre-ffff96b44da6f000.statahead_max=2048 llite.lustre-ffff96b44da6f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.16 seconds: 46.25 ops/second llite.lustre-ffff96b44da6f000.statahead_max=0 101 real 0m2.105s user 0m0.004s sys 0m0.308s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff96b44da6f000.statahead_max=2048 llite.lustre-ffff96b44da6f000.statahead_max=2048 101 real 0m1.120s user 0m0.003s sys 0m0.187s '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 814 (time 1790946998.11 total 10.00 last 81.40) total: 900 open/close in 11.19 seconds: 80.42 ops/second llite.lustre-ffff96b44da6f000.statahead_max=0 1001 real 0m21.863s user 0m0.035s sys 0m2.946s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff96b44da6f000.statahead_max=2048 llite.lustre-ffff96b44da6f000.statahead_max=2048 1001 real 0m6.166s user 0m0.033s sys 0m1.461s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff96b44da6f000.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-ffff96b44da6f000.batch_stats= snapshot_time: 1790947059.751373990 secs.nsecs start_time: 1790946692.181843786 secs.nsecs elapsed_time: 367.569530204 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 1 12 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790947059.752050805 secs.nsecs start_time: 1790946692.182019147 secs.nsecs elapsed_time: 367.570031658 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 4 50 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 769 (time 1790947072.29 total 10.01 last 76.82) - open/close 1612 (time 1790947082.29 total 20.01 last 84.29) - open/close 2461 (time 1790947092.30 total 30.02 last 84.80) - open/close 3270 (time 1790947102.31 total 40.03 last 80.84) - open/close 4086 (time 1790947112.34 total 50.06 last 81.34) - open/close 4920 (time 1790947122.35 total 60.07 last 83.37) - open/close 5669 (time 1790947132.35 total 70.07 last 74.84) - open/close 6476 (time 1790947142.36 total 80.08 last 80.68) - open/close 7276 (time 1790947152.36 total 90.08 last 80.00) - open/close 8004 (time 1790947162.36 total 100.08 last 72.78) - open/close 8791 (time 1790947172.37 total 110.09 last 78.64) - open/close 9494 (time 1790947182.39 total 120.10 last 70.17) total: 10000 open/close in 127.10 seconds: 78.68 ops/second llite.lustre-ffff96b44da6f000.statahead_batch_max=0 llite.lustre-ffff96b44da6f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.436s user 0m0.316s sys 0m14.235s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96b44da6f000.statahead_batch_max=256 llite.lustre-ffff96b44da6f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96b44da6f000.stats=clear mdc.lustre-MDT0001-mdc-ffff96b44da6f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.282s user 0m0.289s sys 0m15.381s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790947335.221531489 secs.nsecs start_time: 1790947269.961525956 secs.nsecs elapsed_time: 65.260005533 secs.nsecs subreqs per batch batches %% cum %% 1: 161 55 55 2: 35 12 67 4: 18 6 73 8: 11 3 77 16: 10 3 81 32: 12 4 85 64: 8 2 87 128: 0 0 87 256: 35 12 100 mdc.lustre-MDT0001-mdc-ffff96b44da6f000.batch_stats= snapshot_time: 1790947335.221826144 secs.nsecs start_time: 1790947269.961812797 secs.nsecs elapsed_time: 65.260013347 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-ffff96b44da6f000.statahead_batch_max=64 llite.lustre-ffff96b44da6f000.statahead_max=128