== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:52:45 (1781823165) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats=0 llite.lustre-ffff8d4190c1a000.statahead_max=32 llite.lustre-ffff8d4190c1a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats=0 total: 100 open/close in 2.16 seconds: 46.35 ops/second llite.lustre-ffff8d4190c1a000.statahead_max=0 101 real 0m1.934s user 0m0.005s sys 0m0.301s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8d4190c1a000.statahead_max=32 llite.lustre-ffff8d4190c1a000.statahead_max=32 101 real 0m0.720s user 0m0.005s sys 0m0.181s 'ls -l' 100 files with statahead: 1 sec statahead total: 107 statahead wrong: 1 agl total: 102 list_total: 29 fname_total: 62 hit_total: 3606 miss_total: 249 swrong=1 ewrong=1 total: 900 open/close in 9.55 seconds: 94.29 ops/second llite.lustre-ffff8d4190c1a000.statahead_max=0 1001 real 0m14.197s user 0m0.027s sys 0m2.824s 'ls -l' 1000 files without statahead: 14 sec llite.lustre-ffff8d4190c1a000.statahead_max=32 llite.lustre-ffff8d4190c1a000.statahead_max=32 1001 real 0m6.992s user 0m0.030s sys 0m1.455s 'ls -l' 1000 files with statahead: 7 sec statahead total: 108 statahead wrong: 1 agl total: 103 list_total: 30 fname_total: 62 hit_total: 4604 miss_total: 251 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 9 seconds llite.lustre-ffff8d4190c1a000.statahead_stats= statahead total: 108 statahead wrong: 1 agl total: 103 list_total: 30 fname_total: 62 hit_total: 4604 miss_total: 251 mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats= snapshot_time: 1781823227.571116699 secs.nsecs start_time: 1781823169.056611561 secs.nsecs elapsed_time: 58.514505138 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 1659 (time 1781823238.87 total 10.00 last 165.89) - open/close 2691 (time 1781823248.88 total 20.01 last 103.10) - open/close 3498 (time 1781823258.90 total 30.03 last 80.58) - open/close 4311 (time 1781823268.90 total 40.03 last 81.26) - open/close 5141 (time 1781823278.91 total 50.04 last 82.95) - open/close 5973 (time 1781823288.91 total 60.04 last 83.15) - open/close 6736 (time 1781823298.92 total 70.05 last 76.27) - open/close 7547 (time 1781823308.93 total 80.05 last 81.04) - open/close 8359 (time 1781823318.93 total 90.06 last 81.14) - open/close 9294 (time 1781823328.94 total 100.07 last 93.42) total: 10000 open/close in 106.63 seconds: 93.78 ops/second llite.lustre-ffff8d4190c1a000.statahead_batch_max=0 llite.lustre-ffff8d4190c1a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.383s user 0m0.306s sys 0m17.167s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d4190c1a000.statahead_batch_max=32 llite.lustre-ffff8d4190c1a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m30.725s user 0m0.271s sys 0m14.777s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats= snapshot_time: 1781823496.760141452 secs.nsecs start_time: 1781823391.533005049 secs.nsecs elapsed_time: 105.227136403 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-ffff8d4190c1a000.batch_stats=0 llite.lustre-ffff8d4190c1a000.statahead_max=2048 llite.lustre-ffff8d4190c1a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats=0 total: 100 open/close in 2.71 seconds: 36.88 ops/second llite.lustre-ffff8d4190c1a000.statahead_max=0 101 real 0m3.136s user 0m0.008s sys 0m0.351s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8d4190c1a000.statahead_max=2048 llite.lustre-ffff8d4190c1a000.statahead_max=2048 101 real 0m1.168s user 0m0.006s sys 0m0.150s '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 672 (time 1781823810.18 total 10.05 last 66.89) total: 900 open/close in 13.58 seconds: 66.26 ops/second llite.lustre-ffff8d4190c1a000.statahead_max=0 1001 real 0m19.962s user 0m0.027s sys 0m3.078s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8d4190c1a000.statahead_max=2048 llite.lustre-ffff8d4190c1a000.statahead_max=2048 1001 real 0m6.386s user 0m0.036s sys 0m1.618s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff8d4190c1a000.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-ffff8d4190c1a000.batch_stats= snapshot_time: 1781823875.388417117 secs.nsecs start_time: 1781823498.495043226 secs.nsecs elapsed_time: 376.893373891 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 835 (time 1781823888.14 total 10.00 last 83.46) - open/close 1499 (time 1781823898.15 total 20.01 last 66.34) - open/close 2330 (time 1781823908.16 total 30.02 last 83.04) - open/close 3138 (time 1781823918.16 total 40.02 last 80.79) - open/close 4021 (time 1781823928.16 total 50.02 last 88.28) - open/close 4849 (time 1781823938.21 total 60.07 last 82.42) - open/close 5432 (time 1781823948.22 total 70.08 last 58.23) - open/close 6059 (time 1781823958.22 total 80.08 last 62.69) - open/close 6903 (time 1781823968.23 total 90.09 last 84.34) - open/close 7708 (time 1781823978.25 total 100.11 last 80.33) - open/close 8603 (time 1781823988.27 total 110.13 last 89.36) - open/close 9459 (time 1781823998.27 total 120.13 last 85.57) total: 10000 open/close in 128.64 seconds: 77.74 ops/second llite.lustre-ffff8d4190c1a000.statahead_batch_max=0 llite.lustre-ffff8d4190c1a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.571s user 0m0.314s sys 0m15.557s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8d4190c1a000.statahead_batch_max=256 llite.lustre-ffff8d4190c1a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.698s user 0m0.309s sys 0m15.818s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8d4190c1a000.batch_stats= snapshot_time: 1781824137.054989463 secs.nsecs start_time: 1781824074.314605185 secs.nsecs elapsed_time: 62.740384278 secs.nsecs subreqs per batch batches %% cum %% 1: 195 54 54 2: 51 14 68 4: 29 8 76 8: 16 4 81 16: 19 5 86 32: 12 3 89 64: 2 0 90 128: 0 0 90 256: 35 9 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-ffff8d4190c1a000.statahead_batch_max=64 llite.lustre-ffff8d4190c1a000.statahead_max=128