== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:26:19 (1783952779) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats=0 llite.lustre-ffff9b2d11528800.statahead_max=32 llite.lustre-ffff9b2d11528800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats=0 total: 100 open/close in 2.95 seconds: 33.88 ops/second llite.lustre-ffff9b2d11528800.statahead_max=0 101 real 0m3.265s user 0m0.005s sys 0m0.377s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9b2d11528800.statahead_max=32 llite.lustre-ffff9b2d11528800.statahead_max=32 101 real 0m1.237s user 0m0.004s sys 0m0.184s 'ls -l' 100 files with statahead: 1 sec statahead total: 129 statahead wrong: 2 agl total: 124 list_total: 31 fname_total: 98 hit_total: 3992 miss_total: 1582 swrong=2 ewrong=2 - open/close 660 (time 1783952808.58 total 10.00 last 65.99) total: 900 open/close in 14.00 seconds: 64.30 ops/second llite.lustre-ffff9b2d11528800.statahead_max=0 1001 real 0m25.744s user 0m0.045s sys 0m3.500s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9b2d11528800.statahead_max=32 llite.lustre-ffff9b2d11528800.statahead_max=32 1001 real 0m12.056s user 0m0.040s sys 0m1.786s 'ls -l' 1000 files with statahead: 12 sec statahead total: 130 statahead wrong: 2 agl total: 125 list_total: 32 fname_total: 98 hit_total: 4989 miss_total: 1585 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9b2d11528800.statahead_stats= statahead total: 130 statahead wrong: 2 agl total: 125 list_total: 32 fname_total: 98 hit_total: 4989 miss_total: 1585 mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats= snapshot_time: 1783952889.725163918 secs.nsecs start_time: 1783952784.010818501 secs.nsecs elapsed_time: 105.714345417 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 601 (time 1783952902.15 total 10.00 last 60.07) - open/close 1294 (time 1783952912.16 total 20.02 last 69.21) - open/close 1957 (time 1783952922.16 total 30.02 last 66.30) - open/close 2615 (time 1783952932.16 total 40.02 last 65.78) - open/close 3280 (time 1783952942.17 total 50.03 last 66.46) - open/close 3904 (time 1783952952.18 total 60.04 last 62.34) - open/close 4530 (time 1783952962.18 total 70.04 last 62.59) - open/close 5167 (time 1783952972.19 total 80.04 last 63.68) - open/close 5855 (time 1783952982.19 total 90.05 last 68.76) - open/close 6545 (time 1783952992.21 total 100.07 last 68.85) - open/close 7219 (time 1783953002.23 total 110.08 last 67.32) - open/close 7879 (time 1783953012.24 total 120.09 last 65.93) - open/close 8539 (time 1783953022.25 total 130.11 last 65.91) - open/close 9239 (time 1783953032.26 total 140.12 last 69.90) - open/close 9947 (time 1783953042.27 total 150.13 last 70.75) total: 10000 open/close in 151.08 seconds: 66.19 ops/second llite.lustre-ffff9b2d11528800.statahead_batch_max=0 llite.lustre-ffff9b2d11528800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m21.854s user 0m0.386s sys 0m18.246s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b2d11528800.statahead_batch_max=32 llite.lustre-ffff9b2d11528800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m7.963s user 0m0.402s sys 0m17.199s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats= snapshot_time: 1783953280.357892311 secs.nsecs start_time: 1783953137.382843711 secs.nsecs elapsed_time: 142.975048600 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-ffff9b2d11528800.batch_stats=0 llite.lustre-ffff9b2d11528800.statahead_max=2048 llite.lustre-ffff9b2d11528800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats=0 total: 100 open/close in 3.74 seconds: 26.73 ops/second llite.lustre-ffff9b2d11528800.statahead_max=0 101 real 0m3.211s user 0m0.005s sys 0m0.382s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9b2d11528800.statahead_max=2048 llite.lustre-ffff9b2d11528800.statahead_max=2048 101 real 0m1.259s user 0m0.004s sys 0m0.204s 'ls -l' 100 files with statahead: 2 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 581 (time 1783953648.25 total 10.01 last 58.06) total: 900 open/close in 14.74 seconds: 61.08 ops/second llite.lustre-ffff9b2d11528800.statahead_max=0 1001 real 0m28.651s user 0m0.045s sys 0m3.551s 'ls -l' 1000 files without statahead: 29 sec llite.lustre-ffff9b2d11528800.statahead_max=2048 llite.lustre-ffff9b2d11528800.statahead_max=2048 1001 real 0m8.237s user 0m0.038s sys 0m1.724s 'ls -l' 1000 files with statahead: 9 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: 24 seconds llite.lustre-ffff9b2d11528800.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-ffff9b2d11528800.batch_stats= snapshot_time: 1783953729.055365597 secs.nsecs start_time: 1783953283.296878152 secs.nsecs elapsed_time: 445.758487445 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 594 (time 1783953742.49 total 10.01 last 59.35) - open/close 1156 (time 1783953752.50 total 20.02 last 56.13) - open/close 1808 (time 1783953762.51 total 30.02 last 65.17) - open/close 2494 (time 1783953772.51 total 40.03 last 68.55) - open/close 3071 (time 1783953782.53 total 50.05 last 57.58) - open/close 3686 (time 1783953792.55 total 60.07 last 61.40) - open/close 4225 (time 1783953802.55 total 70.07 last 53.89) - open/close 4856 (time 1783953812.55 total 80.07 last 63.10) - open/close 5489 (time 1783953822.56 total 90.08 last 63.26) - open/close 6099 (time 1783953832.57 total 100.09 last 60.91) - open/close 6737 (time 1783953842.58 total 110.10 last 63.77) - open/close 7369 (time 1783953852.60 total 120.12 last 63.07) - open/close 7941 (time 1783953862.63 total 130.14 last 57.05) - open/close 8570 (time 1783953872.63 total 140.15 last 62.90) - open/close 9098 (time 1783953882.65 total 150.17 last 52.66) - open/close 9705 (time 1783953892.68 total 160.19 last 60.56) total: 10000 open/close in 165.99 seconds: 60.24 ops/second llite.lustre-ffff9b2d11528800.statahead_batch_max=0 llite.lustre-ffff9b2d11528800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.637s user 0m0.395s sys 0m18.051s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b2d11528800.statahead_batch_max=256 llite.lustre-ffff9b2d11528800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b2d11528800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.045s user 0m0.397s sys 0m17.834s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b2d11528800.batch_stats= snapshot_time: 1783954084.579385690 secs.nsecs start_time: 1783953990.185102542 secs.nsecs elapsed_time: 94.394283148 secs.nsecs subreqs per batch batches %% cum %% 1: 276 54 54 2: 72 14 68 4: 54 10 79 8: 28 5 85 16: 28 5 90 32: 12 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-ffff9b2d11528800.statahead_batch_max=64 llite.lustre-ffff9b2d11528800.statahead_max=128