== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:24:03 (1788751443) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=0 llite.lustre-ffff9993bd45e000.statahead_max=32 llite.lustre-ffff9993bd45e000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.20 seconds: 45.41 ops/second llite.lustre-ffff9993bd45e000.statahead_max=0 101 real 0m1.722s user 0m0.005s sys 0m0.298s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9993bd45e000.statahead_max=32 llite.lustre-ffff9993bd45e000.statahead_max=32 101 real 0m0.907s user 0m0.003s sys 0m0.179s 'ls -l' 100 files with statahead: 1 sec statahead total: 113 statahead wrong: 2 agl total: 108 list_total: 30 fname_total: 80 hit_total: 3893 miss_total: 1482 swrong=2 ewrong=2 total: 900 open/close in 8.71 seconds: 103.37 ops/second llite.lustre-ffff9993bd45e000.statahead_max=0 1001 real 0m16.735s user 0m0.029s sys 0m2.817s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff9993bd45e000.statahead_max=32 llite.lustre-ffff9993bd45e000.statahead_max=32 1001 real 0m8.002s user 0m0.022s sys 0m1.329s 'ls -l' 1000 files with statahead: 8 sec statahead total: 114 statahead wrong: 2 agl total: 109 list_total: 31 fname_total: 80 hit_total: 4891 miss_total: 1484 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff9993bd45e000.statahead_stats= statahead total: 114 statahead wrong: 2 agl total: 109 list_total: 31 fname_total: 80 hit_total: 4891 miss_total: 1484 mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788751515.709959453 secs.nsecs start_time: 1788751447.290252108 secs.nsecs elapsed_time: 68.419707345 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 3 8 13 8: 2 5 19 16: 23 63 83 32: 6 16 100 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788751515.710046794 secs.nsecs start_time: 1788751447.290383045 secs.nsecs elapsed_time: 68.419663749 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 4 10 12 16: 11 27 40 32: 24 60 100 - open/close 1064 (time 1788751527.55 total 10.01 last 106.33) - open/close 2027 (time 1788751537.55 total 20.01 last 96.28) - open/close 2845 (time 1788751547.56 total 30.02 last 81.75) - open/close 3916 (time 1788751557.56 total 40.02 last 107.08) - open/close 4960 (time 1788751567.57 total 50.02 last 104.33) - open/close 6061 (time 1788751577.58 total 60.03 last 110.05) - open/close 7069 (time 1788751587.59 total 70.04 last 100.70) - open/close 8060 (time 1788751597.59 total 80.05 last 99.04) - open/close 9064 (time 1788751607.59 total 90.05 last 100.39) total: 10000 open/close in 99.63 seconds: 100.38 ops/second llite.lustre-ffff9993bd45e000.statahead_batch_max=0 llite.lustre-ffff9993bd45e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.319s user 0m0.276s sys 0m14.640s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9993bd45e000.statahead_batch_max=32 llite.lustre-ffff9993bd45e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.644s user 0m0.263s sys 0m13.163s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788751760.522826842 secs.nsecs start_time: 1788751673.930022817 secs.nsecs elapsed_time: 86.592804025 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-ffff9993bd45e000.batch_stats= snapshot_time: 1788751760.522894544 secs.nsecs start_time: 1788751673.930254675 secs.nsecs elapsed_time: 86.592639869 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=0 llite.lustre-ffff9993bd45e000.statahead_max=2048 llite.lustre-ffff9993bd45e000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.89 seconds: 52.92 ops/second llite.lustre-ffff9993bd45e000.statahead_max=0 101 real 0m1.556s user 0m0.005s sys 0m0.283s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9993bd45e000.statahead_max=2048 llite.lustre-ffff9993bd45e000.statahead_max=2048 101 real 0m0.638s user 0m0.005s sys 0m0.192s 'ls -l' 100 files with statahead: 0 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 total: 900 open/close in 7.48 seconds: 120.33 ops/second llite.lustre-ffff9993bd45e000.statahead_max=0 1001 real 0m16.010s user 0m0.042s sys 0m2.694s 'ls -l' 1000 files without statahead: 16 sec llite.lustre-ffff9993bd45e000.statahead_max=2048 llite.lustre-ffff9993bd45e000.statahead_max=2048 1001 real 0m5.407s user 0m0.023s sys 0m1.316s '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: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 14 seconds llite.lustre-ffff9993bd45e000.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-ffff9993bd45e000.batch_stats= snapshot_time: 1788752033.533994898 secs.nsecs start_time: 1788751762.789956054 secs.nsecs elapsed_time: 270.744038844 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 28 4: 3 42 71 8: 0 0 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788752033.534037653 secs.nsecs start_time: 1788751762.790365599 secs.nsecs elapsed_time: 270.743672054 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 30 30 16: 2 20 50 32: 1 10 60 64: 2 20 80 128: 0 0 80 256: 2 20 100 - open/close 1139 (time 1788752045.66 total 10.01 last 113.80) - open/close 2366 (time 1788752055.67 total 20.02 last 122.58) - open/close 3455 (time 1788752065.67 total 30.02 last 108.89) - open/close 4590 (time 1788752075.68 total 40.03 last 113.37) - open/close 5725 (time 1788752085.69 total 50.04 last 113.42) - open/close 6827 (time 1788752095.69 total 60.04 last 110.13) - open/close 8066 (time 1788752105.69 total 70.05 last 123.87) - open/close 9271 (time 1788752115.70 total 80.05 last 120.43) total: 10000 open/close in 86.40 seconds: 115.74 ops/second llite.lustre-ffff9993bd45e000.statahead_batch_max=0 llite.lustre-ffff9993bd45e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.235s user 0m0.273s sys 0m15.943s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9993bd45e000.statahead_batch_max=256 llite.lustre-ffff9993bd45e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9993bd45e000.stats=clear mdc.lustre-MDT0001-mdc-ffff9993bd45e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.009s user 0m0.274s sys 0m15.477s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788752215.020863815 secs.nsecs start_time: 1788752171.201376765 secs.nsecs elapsed_time: 43.819487050 secs.nsecs subreqs per batch batches %% cum %% 1: 192 59 59 2: 32 9 68 4: 19 5 74 8: 14 4 79 16: 8 2 81 32: 19 5 87 64: 6 1 89 128: 1 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff9993bd45e000.batch_stats= snapshot_time: 1788752215.020934737 secs.nsecs start_time: 1788752171.201485052 secs.nsecs elapsed_time: 43.819449685 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-ffff9993bd45e000.statahead_batch_max=64 llite.lustre-ffff9993bd45e000.statahead_max=128