== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:21:39 (1790662899) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats=0 llite.lustre-ffff982d7ab0f800.statahead_max=32 llite.lustre-ffff982d7ab0f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats=0 total: 100 open/close in 2.75 seconds: 36.40 ops/second llite.lustre-ffff982d7ab0f800.statahead_max=0 101 real 0m2.702s user 0m0.006s sys 0m0.319s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff982d7ab0f800.statahead_max=32 llite.lustre-ffff982d7ab0f800.statahead_max=32 101 real 0m1.217s user 0m0.006s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 116 statahead wrong: 2 agl total: 110 list_total: 30 fname_total: 77 hit_total: 4030 miss_total: 1337 swrong=2 ewrong=2 - open/close 646 (time 1790662927.62 total 10.02 last 64.47) total: 900 open/close in 14.32 seconds: 62.86 ops/second llite.lustre-ffff982d7ab0f800.statahead_max=0 1001 real 0m28.282s user 0m0.031s sys 0m2.895s 'ls -l' 1000 files without statahead: 28 sec llite.lustre-ffff982d7ab0f800.statahead_max=32 llite.lustre-ffff982d7ab0f800.statahead_max=32 1001 real 0m10.871s user 0m0.029s sys 0m1.398s 'ls -l' 1000 files with statahead: 11 sec statahead total: 117 statahead wrong: 2 agl total: 111 list_total: 31 fname_total: 77 hit_total: 5025 miss_total: 1342 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff982d7ab0f800.statahead_stats= statahead total: 117 statahead wrong: 2 agl total: 111 list_total: 31 fname_total: 77 hit_total: 5025 miss_total: 1342 mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats= snapshot_time: 1790663006.165137952 secs.nsecs start_time: 1790662904.441279790 secs.nsecs elapsed_time: 101.723858162 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 648 (time 1790663018.81 total 10.00 last 64.77) - open/close 1296 (time 1790663028.82 total 20.01 last 64.75) - open/close 1921 (time 1790663038.83 total 30.02 last 62.44) - open/close 2572 (time 1790663048.84 total 40.03 last 65.02) - open/close 3230 (time 1790663058.84 total 50.04 last 65.78) - open/close 3871 (time 1790663068.88 total 60.07 last 63.87) - open/close 4469 (time 1790663078.88 total 70.07 last 59.80) - open/close 5039 (time 1790663088.89 total 80.08 last 56.96) - open/close 5645 (time 1790663098.92 total 90.12 last 60.38) - open/close 6301 (time 1790663108.92 total 100.12 last 65.59) - open/close 6937 (time 1790663118.92 total 110.12 last 63.60) - open/close 7558 (time 1790663128.94 total 120.13 last 62.02) - open/close 8241 (time 1790663138.94 total 130.14 last 68.26) - open/close 8911 (time 1790663148.95 total 140.14 last 66.98) - open/close 9517 (time 1790663158.95 total 150.14 last 60.57) total: 10000 open/close in 158.54 seconds: 63.07 ops/second llite.lustre-ffff982d7ab0f800.statahead_batch_max=0 llite.lustre-ffff982d7ab0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.095s user 0m0.341s sys 0m15.051s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff982d7ab0f800.statahead_batch_max=32 llite.lustre-ffff982d7ab0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.681s user 0m0.322s sys 0m13.967s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats= snapshot_time: 1790663352.058767131 secs.nsecs start_time: 1790663237.718266613 secs.nsecs elapsed_time: 114.340500518 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-ffff982d7ab0f800.batch_stats=0 llite.lustre-ffff982d7ab0f800.statahead_max=2048 llite.lustre-ffff982d7ab0f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats=0 total: 100 open/close in 2.60 seconds: 38.41 ops/second llite.lustre-ffff982d7ab0f800.statahead_max=0 101 real 0m2.135s user 0m0.001s sys 0m0.294s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff982d7ab0f800.statahead_max=2048 llite.lustre-ffff982d7ab0f800.statahead_max=2048 101 real 0m0.841s user 0m0.004s 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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 627 (time 1790663698.97 total 10.03 last 62.53) total: 900 open/close in 14.26 seconds: 63.10 ops/second llite.lustre-ffff982d7ab0f800.statahead_max=0 1001 real 0m23.064s user 0m0.037s sys 0m2.992s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff982d7ab0f800.statahead_max=2048 llite.lustre-ffff982d7ab0f800.statahead_max=2048 1001 real 0m7.832s user 0m0.025s sys 0m1.390s '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: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff982d7ab0f800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats= snapshot_time: 1790663771.862571724 secs.nsecs start_time: 1790663354.673323400 secs.nsecs elapsed_time: 417.189248324 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 2 16 66 128: 0 0 66 256: 4 33 100 - open/close 626 (time 1790663784.70 total 10.00 last 62.59) - open/close 1215 (time 1790663794.70 total 20.00 last 58.89) - open/close 1900 (time 1790663804.71 total 30.01 last 68.42) - open/close 2490 (time 1790663814.72 total 40.02 last 58.95) - open/close 3091 (time 1790663824.72 total 50.03 last 60.05) - open/close 3698 (time 1790663834.73 total 60.04 last 60.66) - open/close 4355 (time 1790663844.74 total 70.05 last 65.65) - open/close 4938 (time 1790663854.75 total 80.06 last 58.24) - open/close 5548 (time 1790663864.76 total 90.06 last 60.95) - open/close 6137 (time 1790663874.76 total 100.07 last 58.89) - open/close 6794 (time 1790663884.77 total 110.07 last 65.65) - open/close 7448 (time 1790663894.77 total 120.08 last 65.36) - open/close 8024 (time 1790663904.79 total 130.09 last 57.53) - open/close 8606 (time 1790663914.80 total 140.10 last 58.15) - open/close 9043 (time 1790663924.81 total 150.12 last 43.63) - open/close 9577 (time 1790663934.85 total 160.15 last 53.22) total: 10000 open/close in 169.52 seconds: 58.99 ops/second llite.lustre-ffff982d7ab0f800.statahead_batch_max=0 llite.lustre-ffff982d7ab0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.851s user 0m0.301s sys 0m14.050s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff982d7ab0f800.statahead_batch_max=256 llite.lustre-ffff982d7ab0f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.533s user 0m0.262s sys 0m14.180s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff982d7ab0f800.batch_stats= snapshot_time: 1790664075.958084435 secs.nsecs start_time: 1790664016.070776378 secs.nsecs elapsed_time: 59.887308057 secs.nsecs subreqs per batch batches %% cum %% 1: 96 41 41 2: 30 12 54 4: 21 9 63 8: 16 6 70 16: 12 5 75 32: 18 7 83 64: 4 1 84 128: 0 0 84 256: 35 15 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-ffff982d7ab0f800.statahead_batch_max=64 llite.lustre-ffff982d7ab0f800.statahead_max=128