== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:49:56 (1789606196) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=0 llite.lustre-ffff95f23ba8b000.statahead_max=32 llite.lustre-ffff95f23ba8b000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.25 seconds: 44.38 ops/second llite.lustre-ffff95f23ba8b000.statahead_max=0 101 real 0m2.464s user 0m0.005s sys 0m0.304s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff95f23ba8b000.statahead_max=32 llite.lustre-ffff95f23ba8b000.statahead_max=32 101 real 0m1.016s user 0m0.003s sys 0m0.149s 'ls -l' 100 files with statahead: 1 sec statahead total: 125 statahead wrong: 2 agl total: 120 list_total: 30 fname_total: 95 hit_total: 4134 miss_total: 1284 swrong=2 ewrong=2 - open/close 844 (time 1789606223.04 total 10.00 last 84.37) total: 900 open/close in 10.84 seconds: 83.00 ops/second llite.lustre-ffff95f23ba8b000.statahead_max=0 1001 real 0m21.550s user 0m0.032s sys 0m2.745s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff95f23ba8b000.statahead_max=32 llite.lustre-ffff95f23ba8b000.statahead_max=32 1001 real 0m8.831s user 0m0.025s sys 0m1.371s 'ls -l' 1000 files with statahead: 9 sec statahead total: 126 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 95 hit_total: 5132 miss_total: 1286 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff95f23ba8b000.statahead_stats= statahead total: 126 statahead wrong: 2 agl total: 121 list_total: 31 fname_total: 95 hit_total: 5132 miss_total: 1286 mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606287.001166270 secs.nsecs start_time: 1789606201.040402679 secs.nsecs elapsed_time: 85.960763591 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 3 8 14 16: 25 71 85 32: 5 14 100 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606287.001259600 secs.nsecs start_time: 1789606201.040550819 secs.nsecs elapsed_time: 85.960708781 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 1 2 12 16: 10 25 37 32: 25 62 100 - open/close 870 (time 1789606299.76 total 10.01 last 86.95) - open/close 1660 (time 1789606309.77 total 20.01 last 78.97) - open/close 2494 (time 1789606319.77 total 30.01 last 83.38) - open/close 3319 (time 1789606329.77 total 40.01 last 82.50) - open/close 4089 (time 1789606339.78 total 50.03 last 76.88) - open/close 4936 (time 1789606349.79 total 60.03 last 84.68) - open/close 5783 (time 1789606359.80 total 70.04 last 84.61) - open/close 6684 (time 1789606369.80 total 80.04 last 90.09) - open/close 7569 (time 1789606379.81 total 90.05 last 88.43) - open/close 8440 (time 1789606389.82 total 100.06 last 86.99) - open/close 9287 (time 1789606399.82 total 110.06 last 84.70) total: 10000 open/close in 118.41 seconds: 84.45 ops/second llite.lustre-ffff95f23ba8b000.statahead_batch_max=0 llite.lustre-ffff95f23ba8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.526s user 0m0.274s sys 0m14.765s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95f23ba8b000.statahead_batch_max=32 llite.lustre-ffff95f23ba8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.601s user 0m0.283s sys 0m13.664s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606584.907379970 secs.nsecs start_time: 1789606477.294645780 secs.nsecs elapsed_time: 107.612734190 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-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606584.907447986 secs.nsecs start_time: 1789606477.295104940 secs.nsecs elapsed_time: 107.612343046 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=0 llite.lustre-ffff95f23ba8b000.statahead_max=2048 llite.lustre-ffff95f23ba8b000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.31 seconds: 43.26 ops/second llite.lustre-ffff95f23ba8b000.statahead_max=0 101 real 0m2.647s user 0m0.003s sys 0m0.308s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff95f23ba8b000.statahead_max=2048 llite.lustre-ffff95f23ba8b000.statahead_max=2048 101 real 0m0.732s user 0m0.004s 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 791 (time 1789606880.32 total 10.00 last 79.08) total: 900 open/close in 11.30 seconds: 79.64 ops/second llite.lustre-ffff95f23ba8b000.statahead_max=0 1001 real 0m26.617s user 0m0.037s sys 0m2.833s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff95f23ba8b000.statahead_max=2048 llite.lustre-ffff95f23ba8b000.statahead_max=2048 1001 real 0m5.467s user 0m0.031s sys 0m1.310s 'ls -l' 1000 files with statahead: 5 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: 18 seconds llite.lustre-ffff95f23ba8b000.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-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606943.226921032 secs.nsecs start_time: 1789606588.094495716 secs.nsecs elapsed_time: 355.132425316 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 2 22 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789606943.226990054 secs.nsecs start_time: 1789606588.094632009 secs.nsecs elapsed_time: 355.132358045 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 33 8: 2 22 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 - open/close 784 (time 1789606956.07 total 10.01 last 78.32) - open/close 1670 (time 1789606966.08 total 20.01 last 88.56) - open/close 2588 (time 1789606976.08 total 30.02 last 91.78) - open/close 3382 (time 1789606986.11 total 40.04 last 79.19) - open/close 4171 (time 1789606996.11 total 50.05 last 78.88) - open/close 5026 (time 1789607006.11 total 60.05 last 85.48) - open/close 5886 (time 1789607016.11 total 70.05 last 86.00) - open/close 6733 (time 1789607026.12 total 80.06 last 84.63) - open/close 7587 (time 1789607036.13 total 90.07 last 85.32) - open/close 8343 (time 1789607046.14 total 100.08 last 75.52) - open/close 9154 (time 1789607056.15 total 110.08 last 81.03) - open/close 9896 (time 1789607066.15 total 120.09 last 74.17) total: 10000 open/close in 121.60 seconds: 82.24 ops/second llite.lustre-ffff95f23ba8b000.statahead_batch_max=0 llite.lustre-ffff95f23ba8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.195s user 0m0.324s sys 0m15.174s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff95f23ba8b000.statahead_batch_max=256 llite.lustre-ffff95f23ba8b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.stats=clear mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.082s user 0m0.304s sys 0m15.734s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789607205.088005827 secs.nsecs start_time: 1789607147.262614151 secs.nsecs elapsed_time: 57.825391676 secs.nsecs subreqs per batch batches %% cum %% 1: 164 53 53 2: 28 9 62 4: 32 10 73 8: 11 3 77 16: 9 2 80 32: 20 6 86 64: 7 2 88 128: 0 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff95f23ba8b000.batch_stats= snapshot_time: 1789607205.088074129 secs.nsecs start_time: 1789607147.262759110 secs.nsecs elapsed_time: 57.825315019 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-ffff95f23ba8b000.statahead_batch_max=64 llite.lustre-ffff95f23ba8b000.statahead_max=128