== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:46:37 (1785969997) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=0 llite.lustre-ffff9458b1146000.statahead_max=32 llite.lustre-ffff9458b1146000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.53 seconds: 39.52 ops/second llite.lustre-ffff9458b1146000.statahead_max=0 101 real 0m1.803s user 0m0.007s sys 0m0.302s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9458b1146000.statahead_max=32 llite.lustre-ffff9458b1146000.statahead_max=32 101 real 0m1.303s user 0m0.003s sys 0m0.153s 'ls -l' 100 files with statahead: 1 sec statahead total: 132 statahead wrong: 2 agl total: 126 list_total: 32 fname_total: 94 hit_total: 4058 miss_total: 1431 swrong=2 ewrong=2 - open/close 712 (time 1785970024.38 total 10.01 last 71.13) total: 900 open/close in 12.23 seconds: 73.58 ops/second llite.lustre-ffff9458b1146000.statahead_max=0 1001 real 0m21.880s user 0m0.032s sys 0m3.013s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9458b1146000.statahead_max=32 llite.lustre-ffff9458b1146000.statahead_max=32 1001 real 0m8.089s user 0m0.028s sys 0m1.285s 'ls -l' 1000 files with statahead: 8 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 33 fname_total: 94 hit_total: 5055 miss_total: 1434 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9458b1146000.statahead_stats= statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 33 fname_total: 94 hit_total: 5055 miss_total: 1434 mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785970088.397020591 secs.nsecs start_time: 1785970002.162062092 secs.nsecs elapsed_time: 86.234958499 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 1 2 10 8: 2 5 16 16: 24 64 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785970088.397080117 secs.nsecs start_time: 1785970002.162150417 secs.nsecs elapsed_time: 86.234929700 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 11 27 42 32: 23 57 100 - open/close 797 (time 1785970100.72 total 10.01 last 79.64) - open/close 1585 (time 1785970110.73 total 20.01 last 78.76) - open/close 2408 (time 1785970120.73 total 30.02 last 82.26) - open/close 3206 (time 1785970130.74 total 40.02 last 79.75) - open/close 4058 (time 1785970140.74 total 50.03 last 85.14) - open/close 4696 (time 1785970150.75 total 60.04 last 63.75) - open/close 5465 (time 1785970160.76 total 70.04 last 76.86) - open/close 6227 (time 1785970170.76 total 80.05 last 76.16) - open/close 7109 (time 1785970180.76 total 90.05 last 88.20) - open/close 7949 (time 1785970190.77 total 100.06 last 83.90) - open/close 8755 (time 1785970200.78 total 110.06 last 80.58) - open/close 9514 (time 1785970210.79 total 120.07 last 75.83) total: 10000 open/close in 126.90 seconds: 78.80 ops/second llite.lustre-ffff9458b1146000.statahead_batch_max=0 llite.lustre-ffff9458b1146000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.638s user 0m0.316s sys 0m14.161s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9458b1146000.statahead_batch_max=32 llite.lustre-ffff9458b1146000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.134s user 0m0.297s sys 0m13.350s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785970415.012637736 secs.nsecs start_time: 1785970296.964515638 secs.nsecs elapsed_time: 118.048122098 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-ffff9458b1146000.batch_stats= snapshot_time: 1785970415.012706717 secs.nsecs start_time: 1785970296.964703956 secs.nsecs elapsed_time: 118.048002761 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=0 llite.lustre-ffff9458b1146000.statahead_max=2048 llite.lustre-ffff9458b1146000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.52 seconds: 28.42 ops/second llite.lustre-ffff9458b1146000.statahead_max=0 101 real 0m3.920s user 0m0.004s sys 0m0.353s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9458b1146000.statahead_max=2048 llite.lustre-ffff9458b1146000.statahead_max=2048 101 real 0m0.814s user 0m0.003s sys 0m0.179s '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 649 (time 1785970739.31 total 10.02 last 64.76) total: 900 open/close in 13.45 seconds: 66.91 ops/second llite.lustre-ffff9458b1146000.statahead_max=0 1001 real 0m23.341s user 0m0.036s sys 0m2.864s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9458b1146000.statahead_max=2048 llite.lustre-ffff9458b1146000.statahead_max=2048 1001 real 0m7.056s user 0m0.027s sys 0m1.443s 'ls -l' 1000 files with statahead: 7 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: 21 seconds llite.lustre-ffff9458b1146000.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-ffff9458b1146000.batch_stats= snapshot_time: 1785970807.126507292 secs.nsecs start_time: 1785970417.480345087 secs.nsecs elapsed_time: 389.646162205 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785970807.126608047 secs.nsecs start_time: 1785970417.480509141 secs.nsecs elapsed_time: 389.646098906 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 768 (time 1785970820.42 total 10.01 last 76.73) - open/close 1547 (time 1785970830.43 total 20.01 last 77.87) - open/close 2279 (time 1785970840.46 total 30.04 last 72.99) - open/close 3006 (time 1785970850.47 total 40.05 last 72.64) - open/close 3725 (time 1785970860.47 total 50.06 last 71.85) - open/close 4550 (time 1785970870.48 total 60.06 last 82.47) - open/close 5207 (time 1785970880.49 total 70.07 last 65.61) - open/close 5723 (time 1785970890.50 total 80.09 last 51.54) - open/close 6411 (time 1785970900.51 total 90.09 last 68.77) - open/close 7046 (time 1785970910.52 total 100.10 last 63.44) - open/close 7750 (time 1785970920.52 total 110.10 last 70.38) - open/close 8496 (time 1785970930.53 total 120.11 last 74.53) - open/close 9353 (time 1785970940.54 total 130.12 last 85.64) total: 10000 open/close in 137.16 seconds: 72.91 ops/second llite.lustre-ffff9458b1146000.statahead_batch_max=0 llite.lustre-ffff9458b1146000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.753s user 0m0.329s sys 0m14.429s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9458b1146000.statahead_batch_max=256 llite.lustre-ffff9458b1146000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9458b1146000.stats=clear mdc.lustre-MDT0001-mdc-ffff9458b1146000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.275s user 0m0.313s sys 0m14.691s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785971099.262859453 secs.nsecs start_time: 1785971028.233539726 secs.nsecs elapsed_time: 71.029319727 secs.nsecs subreqs per batch batches %% cum %% 1: 68 37 37 2: 20 10 48 4: 17 9 57 8: 9 4 62 16: 7 3 66 32: 21 11 77 64: 5 2 80 128: 1 0 80 256: 35 19 100 mdc.lustre-MDT0001-mdc-ffff9458b1146000.batch_stats= snapshot_time: 1785971099.262953638 secs.nsecs start_time: 1785971028.233650768 secs.nsecs elapsed_time: 71.029302870 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-ffff9458b1146000.statahead_batch_max=64 llite.lustre-ffff9458b1146000.statahead_max=128