== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:30:23 (1784590223) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats=0 llite.lustre-ffff9c97a79ce000.statahead_max=32 llite.lustre-ffff9c97a79ce000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats=0 total: 100 open/close in 3.67 seconds: 27.24 ops/second llite.lustre-ffff9c97a79ce000.statahead_max=0 101 real 0m4.014s user 0m0.006s sys 0m0.407s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9c97a79ce000.statahead_max=32 llite.lustre-ffff9c97a79ce000.statahead_max=32 101 real 0m1.191s user 0m0.007s sys 0m0.201s 'ls -l' 100 files with statahead: 1 sec statahead total: 112 statahead wrong: 2 agl total: 106 list_total: 31 fname_total: 68 hit_total: 3649 miss_total: 1517 swrong=2 ewrong=2 - open/close 615 (time 1784590259.16 total 10.03 last 61.34) total: 900 open/close in 14.89 seconds: 60.44 ops/second llite.lustre-ffff9c97a79ce000.statahead_max=0 1001 real 0m25.493s user 0m0.044s sys 0m3.397s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9c97a79ce000.statahead_max=32 llite.lustre-ffff9c97a79ce000.statahead_max=32 1001 real 0m11.812s user 0m0.031s sys 0m1.687s 'ls -l' 1000 files with statahead: 12 sec statahead total: 113 statahead wrong: 2 agl total: 107 list_total: 32 fname_total: 68 hit_total: 4645 miss_total: 1521 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff9c97a79ce000.statahead_stats= statahead total: 113 statahead wrong: 2 agl total: 107 list_total: 32 fname_total: 68 hit_total: 4645 miss_total: 1521 mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats= snapshot_time: 1784590346.679572816 secs.nsecs start_time: 1784590230.536306173 secs.nsecs elapsed_time: 116.143266643 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 566 (time 1784590360.02 total 10.01 last 56.55) - open/close 1081 (time 1784590370.02 total 20.01 last 51.48) - open/close 1687 (time 1784590380.04 total 30.03 last 60.52) - open/close 2325 (time 1784590390.05 total 40.04 last 63.74) - open/close 3001 (time 1784590400.08 total 50.07 last 67.38) - open/close 3710 (time 1784590410.09 total 60.08 last 70.83) - open/close 4372 (time 1784590420.09 total 70.08 last 66.19) - open/close 4978 (time 1784590430.11 total 80.10 last 60.47) - open/close 5592 (time 1784590440.14 total 90.13 last 61.25) - open/close 6242 (time 1784590450.14 total 100.13 last 64.95) - open/close 6925 (time 1784590460.15 total 110.14 last 68.26) - open/close 7591 (time 1784590470.15 total 120.14 last 66.58) - open/close 8224 (time 1784590480.15 total 130.15 last 63.29) - open/close 8863 (time 1784590490.17 total 140.16 last 63.77) - open/close 9488 (time 1784590500.18 total 150.17 last 62.46) total: 10000 open/close in 159.30 seconds: 62.77 ops/second llite.lustre-ffff9c97a79ce000.statahead_batch_max=0 llite.lustre-ffff9c97a79ce000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.861s user 0m0.376s sys 0m18.364s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c97a79ce000.statahead_batch_max=32 llite.lustre-ffff9c97a79ce000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.374s user 0m0.345s sys 0m16.748s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats= snapshot_time: 1784590717.624650502 secs.nsecs start_time: 1784590589.656554566 secs.nsecs elapsed_time: 127.968095936 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-ffff9c97a79ce000.batch_stats=0 llite.lustre-ffff9c97a79ce000.statahead_max=2048 llite.lustre-ffff9c97a79ce000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats=0 total: 100 open/close in 2.65 seconds: 37.76 ops/second llite.lustre-ffff9c97a79ce000.statahead_max=0 101 real 0m2.797s user 0m0.002s sys 0m0.324s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9c97a79ce000.statahead_max=2048 llite.lustre-ffff9c97a79ce000.statahead_max=2048 101 real 0m0.845s user 0m0.004s sys 0m0.148s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 649 (time 1784591065.37 total 10.02 last 64.78) total: 900 open/close in 14.09 seconds: 63.86 ops/second llite.lustre-ffff9c97a79ce000.statahead_max=0 1001 real 0m23.951s user 0m0.043s sys 0m3.677s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9c97a79ce000.statahead_max=2048 llite.lustre-ffff9c97a79ce000.statahead_max=2048 1001 real 0m7.822s user 0m0.037s sys 0m1.837s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9c97a79ce000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats= snapshot_time: 1784591137.565362190 secs.nsecs start_time: 1784590720.176226207 secs.nsecs elapsed_time: 417.389135983 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 1 10 30 32: 2 20 50 64: 1 10 60 128: 0 0 60 256: 4 40 100 - open/close 628 (time 1784591150.31 total 10.01 last 62.73) - open/close 1274 (time 1784591160.32 total 20.02 last 64.56) - open/close 1896 (time 1784591170.32 total 30.02 last 62.18) - open/close 2564 (time 1784591180.33 total 40.03 last 66.76) - open/close 3234 (time 1784591190.34 total 50.03 last 66.95) - open/close 3918 (time 1784591200.34 total 60.04 last 68.39) - open/close 4616 (time 1784591210.34 total 70.04 last 69.77) - open/close 5311 (time 1784591220.36 total 80.06 last 69.36) - open/close 6010 (time 1784591230.37 total 90.07 last 69.83) - open/close 6710 (time 1784591240.38 total 100.08 last 69.94) - open/close 7428 (time 1784591250.40 total 110.10 last 71.64) - open/close 8163 (time 1784591260.41 total 120.11 last 73.44) - open/close 8964 (time 1784591270.41 total 130.11 last 80.09) - open/close 9758 (time 1784591280.43 total 140.13 last 79.26) total: 10000 open/close in 143.54 seconds: 69.67 ops/second llite.lustre-ffff9c97a79ce000.statahead_batch_max=0 llite.lustre-ffff9c97a79ce000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.199s user 0m0.317s sys 0m21.318s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c97a79ce000.statahead_batch_max=256 llite.lustre-ffff9c97a79ce000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.446s user 0m0.274s sys 0m19.161s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c97a79ce000.batch_stats= snapshot_time: 1784591397.667477806 secs.nsecs start_time: 1784591342.014328260 secs.nsecs elapsed_time: 55.653149546 secs.nsecs subreqs per batch batches %% cum %% 1: 309 60 60 2: 71 13 74 4: 48 9 83 8: 19 3 87 16: 18 3 90 32: 13 2 93 64: 1 0 93 128: 0 0 93 256: 34 6 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-ffff9c97a79ce000.statahead_batch_max=64 llite.lustre-ffff9c97a79ce000.statahead_max=128