== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:29:52 (1788838192) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=0 llite.lustre-ffff8eeb11889000.statahead_max=32 llite.lustre-ffff8eeb11889000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.37 seconds: 42.21 ops/second llite.lustre-ffff8eeb11889000.statahead_max=0 101 real 0m1.827s user 0m0.005s sys 0m0.300s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8eeb11889000.statahead_max=32 llite.lustre-ffff8eeb11889000.statahead_max=32 101 real 0m0.837s user 0m0.003s sys 0m0.164s 'ls -l' 100 files with statahead: 1 sec statahead total: 102 statahead wrong: 2 agl total: 97 list_total: 31 fname_total: 67 hit_total: 4459 miss_total: 1255 swrong=2 ewrong=2 total: 900 open/close in 9.49 seconds: 94.80 ops/second llite.lustre-ffff8eeb11889000.statahead_max=0 1001 real 0m19.184s user 0m0.031s sys 0m2.853s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8eeb11889000.statahead_max=32 llite.lustre-ffff8eeb11889000.statahead_max=32 1001 real 0m7.824s user 0m0.027s sys 0m1.314s 'ls -l' 1000 files with statahead: 8 sec statahead total: 103 statahead wrong: 2 agl total: 98 list_total: 32 fname_total: 67 hit_total: 5458 miss_total: 1256 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8eeb11889000.statahead_stats= statahead total: 103 statahead wrong: 2 agl total: 98 list_total: 32 fname_total: 67 hit_total: 5458 miss_total: 1256 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788838270.177748762 secs.nsecs start_time: 1788838196.413494447 secs.nsecs elapsed_time: 73.764254315 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 3 7 15 16: 20 50 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788838270.177822243 secs.nsecs start_time: 1788838196.413633202 secs.nsecs elapsed_time: 73.764189041 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 5 12 12 8: 2 5 17 16: 20 50 67 32: 13 32 100 - open/close 906 (time 1788838282.46 total 10.01 last 90.55) - open/close 1853 (time 1788838292.47 total 20.01 last 94.62) - open/close 2819 (time 1788838302.48 total 30.03 last 96.49) - open/close 3600 (time 1788838312.48 total 40.03 last 78.09) - open/close 4466 (time 1788838322.48 total 50.03 last 86.57) - open/close 5334 (time 1788838332.49 total 60.03 last 86.79) - open/close 6308 (time 1788838342.50 total 70.04 last 97.30) - open/close 7214 (time 1788838352.50 total 80.04 last 90.60) - open/close 8112 (time 1788838362.50 total 90.05 last 89.76) - open/close 9021 (time 1788838372.51 total 100.05 last 90.85) - open/close 9982 (time 1788838382.51 total 110.06 last 96.04) total: 10000 open/close in 110.29 seconds: 90.67 ops/second llite.lustre-ffff8eeb11889000.statahead_batch_max=0 llite.lustre-ffff8eeb11889000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.305s user 0m0.323s sys 0m14.099s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8eeb11889000.statahead_batch_max=32 llite.lustre-ffff8eeb11889000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m38.574s user 0m0.289s sys 0m13.781s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788838560.259636359 secs.nsecs start_time: 1788838451.026641782 secs.nsecs elapsed_time: 109.232994577 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-ffff8eeb11889000.batch_stats= snapshot_time: 1788838560.259702664 secs.nsecs start_time: 1788838451.026710882 secs.nsecs elapsed_time: 109.232991782 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=0 llite.lustre-ffff8eeb11889000.statahead_max=2048 llite.lustre-ffff8eeb11889000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.40 seconds: 41.58 ops/second llite.lustre-ffff8eeb11889000.statahead_max=0 101 real 0m1.880s user 0m0.007s sys 0m0.296s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8eeb11889000.statahead_max=2048 llite.lustre-ffff8eeb11889000.statahead_max=2048 101 real 0m0.709s user 0m0.004s sys 0m0.151s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 896 (time 1788838835.19 total 10.01 last 89.55) total: 900 open/close in 10.04 seconds: 89.63 ops/second llite.lustre-ffff8eeb11889000.statahead_max=0 1001 real 0m22.316s user 0m0.035s sys 0m2.728s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8eeb11889000.statahead_max=2048 llite.lustre-ffff8eeb11889000.statahead_max=2048 1001 real 0m6.500s user 0m0.042s sys 0m1.550s '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: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff8eeb11889000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788838890.855340339 secs.nsecs start_time: 1788838563.785992370 secs.nsecs elapsed_time: 327.069347969 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 4 40 50 16: 2 20 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788838890.855406745 secs.nsecs start_time: 1788838563.786124495 secs.nsecs elapsed_time: 327.069282250 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 30 30 8: 2 20 50 16: 2 20 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 954 (time 1788838903.06 total 10.03 last 95.12) - open/close 1865 (time 1788838913.07 total 20.04 last 91.02) - open/close 2765 (time 1788838923.09 total 30.06 last 89.84) - open/close 3590 (time 1788838933.10 total 40.06 last 82.45) - open/close 4509 (time 1788838943.10 total 50.06 last 91.89) - open/close 5442 (time 1788838953.10 total 60.07 last 93.25) - open/close 6397 (time 1788838963.11 total 70.07 last 95.47) - open/close 7403 (time 1788838973.11 total 80.08 last 100.54) - open/close 8224 (time 1788838983.11 total 90.08 last 82.08) - open/close 9191 (time 1788838993.13 total 100.10 last 96.57) total: 10000 open/close in 108.83 seconds: 91.89 ops/second llite.lustre-ffff8eeb11889000.statahead_batch_max=0 llite.lustre-ffff8eeb11889000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.051s user 0m0.307s sys 0m16.696s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8eeb11889000.statahead_batch_max=256 llite.lustre-ffff8eeb11889000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8eeb11889000.stats=clear mdc.lustre-MDT0001-mdc-ffff8eeb11889000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.941s user 0m0.306s sys 0m15.737s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788839109.843455686 secs.nsecs start_time: 1788839055.780671160 secs.nsecs elapsed_time: 54.062784526 secs.nsecs subreqs per batch batches %% cum %% 1: 113 42 42 2: 33 12 54 4: 28 10 65 8: 22 8 73 16: 13 4 78 32: 14 5 83 64: 8 3 86 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff8eeb11889000.batch_stats= snapshot_time: 1788839109.843517032 secs.nsecs start_time: 1788839055.780807960 secs.nsecs elapsed_time: 54.062709072 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-ffff8eeb11889000.statahead_batch_max=64 llite.lustre-ffff8eeb11889000.statahead_max=128