== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:54:25 (1787702065) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=0 llite.lustre-ffff90b09123a000.statahead_max=32 llite.lustre-ffff90b09123a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.84 seconds: 54.44 ops/second llite.lustre-ffff90b09123a000.statahead_max=0 101 real 0m1.431s user 0m0.004s sys 0m0.282s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff90b09123a000.statahead_max=32 llite.lustre-ffff90b09123a000.statahead_max=32 101 real 0m0.758s user 0m0.004s sys 0m0.159s 'ls -l' 100 files with statahead: 1 sec statahead total: 71 statahead wrong: 1 agl total: 65 list_total: 27 fname_total: 44 hit_total: 14060 miss_total: 214 swrong=1 ewrong=1 total: 900 open/close in 9.18 seconds: 98.02 ops/second llite.lustre-ffff90b09123a000.statahead_max=0 1001 real 0m18.166s user 0m0.042s sys 0m2.717s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff90b09123a000.statahead_max=32 llite.lustre-ffff90b09123a000.statahead_max=32 1001 real 0m7.867s user 0m0.023s sys 0m1.285s 'ls -l' 1000 files with statahead: 7 sec statahead total: 72 statahead wrong: 1 agl total: 66 list_total: 28 fname_total: 44 hit_total: 15057 miss_total: 217 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff90b09123a000.statahead_stats= statahead total: 72 statahead wrong: 1 agl total: 66 list_total: 28 fname_total: 44 hit_total: 15057 miss_total: 217 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702143.313691800 secs.nsecs start_time: 1787702069.705046347 secs.nsecs elapsed_time: 73.608645453 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 5 12 15 8: 1 2 17 16: 21 52 70 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702143.313787966 secs.nsecs start_time: 1787702069.705129883 secs.nsecs elapsed_time: 73.608658083 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 3 7 12 16: 20 51 64 32: 14 35 100 - open/close 932 (time 1787702156.65 total 10.01 last 93.12) - open/close 1885 (time 1787702166.65 total 20.01 last 95.27) - open/close 2806 (time 1787702176.66 total 30.02 last 92.02) - open/close 3757 (time 1787702186.66 total 40.02 last 95.09) - open/close 4785 (time 1787702196.66 total 50.02 last 102.79) - open/close 5812 (time 1787702206.67 total 60.03 last 102.64) - open/close 6932 (time 1787702216.67 total 70.03 last 111.98) - open/close 7817 (time 1787702226.68 total 80.04 last 88.42) - open/close 8757 (time 1787702236.69 total 90.05 last 93.94) - open/close 9864 (time 1787702246.69 total 100.05 last 110.69) total: 10000 open/close in 101.23 seconds: 98.78 ops/second llite.lustre-ffff90b09123a000.statahead_batch_max=0 llite.lustre-ffff90b09123a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.658s user 0m0.315s sys 0m13.981s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff90b09123a000.statahead_batch_max=32 llite.lustre-ffff90b09123a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.450s user 0m0.318s sys 0m13.223s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702421.083614350 secs.nsecs start_time: 1787702310.251554850 secs.nsecs elapsed_time: 110.832059500 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702421.083686940 secs.nsecs start_time: 1787702310.255381238 secs.nsecs elapsed_time: 110.828305702 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=0 llite.lustre-ffff90b09123a000.statahead_max=2048 llite.lustre-ffff90b09123a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.61 seconds: 38.27 ops/second llite.lustre-ffff90b09123a000.statahead_max=0 101 real 0m2.028s user 0m0.005s sys 0m0.294s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff90b09123a000.statahead_max=2048 llite.lustre-ffff90b09123a000.statahead_max=2048 101 real 0m0.862s user 0m0.001s sys 0m0.166s '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: 10075 miss_total: 25 swrong=0 ewrong=0 total: 900 open/close in 9.22 seconds: 97.57 ops/second llite.lustre-ffff90b09123a000.statahead_max=0 1001 real 0m21.087s user 0m0.038s sys 0m2.857s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff90b09123a000.statahead_max=2048 llite.lustre-ffff90b09123a000.statahead_max=2048 1001 real 0m5.773s user 0m0.031s sys 0m1.315s '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: 11074 miss_total: 26 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff90b09123a000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702761.349214186 secs.nsecs start_time: 1787702423.904211987 secs.nsecs elapsed_time: 337.445002199 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 28 4: 2 28 57 8: 1 14 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-ffff90b09123a000.batch_stats= snapshot_time: 1787702761.349426609 secs.nsecs start_time: 1787702423.904362199 secs.nsecs elapsed_time: 337.445064410 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 4 44 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 1001 (time 1787702774.43 total 10.00 last 100.08) - open/close 1987 (time 1787702784.43 total 20.01 last 98.54) - open/close 2983 (time 1787702794.44 total 30.01 last 99.56) - open/close 3944 (time 1787702804.45 total 40.02 last 96.02) - open/close 4896 (time 1787702814.45 total 50.03 last 95.14) - open/close 6090 (time 1787702824.45 total 60.03 last 119.36) - open/close 7248 (time 1787702834.46 total 70.03 last 115.73) - open/close 8293 (time 1787702844.46 total 80.04 last 104.46) - open/close 9385 (time 1787702854.47 total 90.04 last 109.14) total: 10000 open/close in 96.03 seconds: 104.13 ops/second llite.lustre-ffff90b09123a000.statahead_batch_max=0 llite.lustre-ffff90b09123a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.062s user 0m0.305s sys 0m13.929s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff90b09123a000.statahead_batch_max=256 llite.lustre-ffff90b09123a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff90b09123a000.stats=clear mdc.lustre-MDT0001-mdc-ffff90b09123a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.297s user 0m0.291s sys 0m13.974s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702985.969024212 secs.nsecs start_time: 1787702925.952724688 secs.nsecs elapsed_time: 60.016299524 secs.nsecs subreqs per batch batches %% cum %% 1: 86 37 37 2: 30 13 50 4: 25 10 61 8: 18 7 69 16: 9 3 73 32: 18 7 81 64: 7 3 84 128: 2 0 85 256: 34 14 100 mdc.lustre-MDT0001-mdc-ffff90b09123a000.batch_stats= snapshot_time: 1787702985.975318974 secs.nsecs start_time: 1787702925.953400984 secs.nsecs elapsed_time: 60.021917990 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-ffff90b09123a000.statahead_batch_max=64 llite.lustre-ffff90b09123a000.statahead_max=128