== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:28:47 (1789136927) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=0 llite.lustre-ffff88f7c9ab0000.statahead_max=32 llite.lustre-ffff88f7c9ab0000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.27 seconds: 44.01 ops/second llite.lustre-ffff88f7c9ab0000.statahead_max=0 101 real 0m2.342s user 0m0.005s sys 0m0.318s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff88f7c9ab0000.statahead_max=32 llite.lustre-ffff88f7c9ab0000.statahead_max=32 101 real 0m1.185s user 0m0.008s sys 0m0.187s 'ls -l' 100 files with statahead: 2 sec statahead total: 161 statahead wrong: 2 agl total: 154 list_total: 30 fname_total: 111 hit_total: 3820 miss_total: 1418 swrong=2 ewrong=2 - open/close 675 (time 1789136957.26 total 10.01 last 67.42) total: 900 open/close in 13.56 seconds: 66.36 ops/second llite.lustre-ffff88f7c9ab0000.statahead_max=0 1001 real 0m24.184s user 0m0.035s sys 0m3.099s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff88f7c9ab0000.statahead_max=32 llite.lustre-ffff88f7c9ab0000.statahead_max=32 1001 real 0m9.515s user 0m0.020s sys 0m1.336s 'ls -l' 1000 files with statahead: 10 sec statahead total: 162 statahead wrong: 2 agl total: 155 list_total: 31 fname_total: 111 hit_total: 4818 miss_total: 1420 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff88f7c9ab0000.statahead_stats= statahead total: 162 statahead wrong: 2 agl total: 155 list_total: 31 fname_total: 111 hit_total: 4818 miss_total: 1420 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137028.616106683 secs.nsecs start_time: 1789136933.450018942 secs.nsecs elapsed_time: 95.166087741 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 2 5 7 8: 2 5 12 16: 19 48 61 32: 15 38 100 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137028.616167433 secs.nsecs start_time: 1789136933.450159685 secs.nsecs elapsed_time: 95.166007748 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 4 10 17 16: 18 46 64 32: 14 35 100 - open/close 801 (time 1789137041.06 total 10.01 last 80.00) - open/close 1490 (time 1789137051.07 total 20.02 last 68.87) - open/close 2291 (time 1789137061.07 total 30.02 last 80.08) - open/close 3074 (time 1789137071.08 total 40.03 last 78.23) - open/close 3829 (time 1789137081.09 total 50.04 last 75.44) - open/close 4689 (time 1789137091.10 total 60.05 last 85.92) - open/close 5506 (time 1789137101.11 total 70.06 last 81.63) - open/close 6201 (time 1789137111.12 total 80.07 last 69.39) - open/close 6925 (time 1789137121.13 total 90.08 last 72.36) - open/close 7730 (time 1789137131.13 total 100.08 last 80.46) - open/close 8522 (time 1789137141.13 total 110.08 last 79.19) - open/close 9258 (time 1789137151.14 total 120.09 last 73.58) - open/close 9973 (time 1789137161.15 total 130.10 last 71.41) total: 10000 open/close in 130.47 seconds: 76.64 ops/second llite.lustre-ffff88f7c9ab0000.statahead_batch_max=0 llite.lustre-ffff88f7c9ab0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.841s user 0m0.325s sys 0m14.110s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88f7c9ab0000.statahead_batch_max=32 llite.lustre-ffff88f7c9ab0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m42.415s user 0m0.312s sys 0m13.345s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137349.505119661 secs.nsecs start_time: 1789137235.480322212 secs.nsecs elapsed_time: 114.024797449 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-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137349.505187736 secs.nsecs start_time: 1789137235.480423504 secs.nsecs elapsed_time: 114.024764232 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=0 llite.lustre-ffff88f7c9ab0000.statahead_max=2048 llite.lustre-ffff88f7c9ab0000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.22 seconds: 31.09 ops/second llite.lustre-ffff88f7c9ab0000.statahead_max=0 101 real 0m3.188s user 0m0.006s sys 0m0.329s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff88f7c9ab0000.statahead_max=2048 llite.lustre-ffff88f7c9ab0000.statahead_max=2048 101 real 0m1.337s user 0m0.007s sys 0m0.175s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 820 (time 1789137657.92 total 10.01 last 81.91) total: 900 open/close in 11.29 seconds: 79.72 ops/second llite.lustre-ffff88f7c9ab0000.statahead_max=0 1001 real 0m21.085s user 0m0.037s sys 0m2.914s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff88f7c9ab0000.statahead_max=2048 llite.lustre-ffff88f7c9ab0000.statahead_max=2048 1001 real 0m6.447s user 0m0.031s sys 0m1.349s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff88f7c9ab0000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137719.291922481 secs.nsecs start_time: 1789137352.256046330 secs.nsecs elapsed_time: 367.035876151 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 60 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137719.291988126 secs.nsecs start_time: 1789137352.256177215 secs.nsecs elapsed_time: 367.035810911 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 1 12 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 705 (time 1789137731.81 total 10.01 last 70.45) - open/close 1371 (time 1789137741.82 total 20.01 last 66.58) - open/close 2211 (time 1789137751.84 total 30.03 last 83.84) - open/close 3119 (time 1789137761.84 total 40.03 last 90.78) - open/close 3961 (time 1789137771.84 total 50.03 last 84.19) - open/close 5045 (time 1789137781.84 total 60.03 last 108.39) - open/close 5955 (time 1789137791.85 total 70.04 last 90.94) - open/close 6945 (time 1789137801.86 total 80.05 last 98.91) - open/close 7878 (time 1789137811.87 total 90.06 last 93.20) - open/close 8824 (time 1789137821.87 total 100.07 last 94.52) - open/close 9824 (time 1789137831.88 total 110.07 last 99.96) total: 10000 open/close in 111.69 seconds: 89.54 ops/second llite.lustre-ffff88f7c9ab0000.statahead_batch_max=0 llite.lustre-ffff88f7c9ab0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.483s user 0m0.290s sys 0m14.024s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88f7c9ab0000.statahead_batch_max=256 llite.lustre-ffff88f7c9ab0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.stats=clear mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.984s user 0m0.316s sys 0m14.483s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137979.764361781 secs.nsecs start_time: 1789137904.077531869 secs.nsecs elapsed_time: 75.686829912 secs.nsecs subreqs per batch batches %% cum %% 1: 65 36 36 2: 20 11 48 4: 18 10 58 8: 10 5 63 16: 4 2 66 32: 14 7 74 64: 11 6 80 128: 0 0 80 256: 35 19 100 mdc.lustre-MDT0001-mdc-ffff88f7c9ab0000.batch_stats= snapshot_time: 1789137979.765349931 secs.nsecs start_time: 1789137904.077663413 secs.nsecs elapsed_time: 75.687686518 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-ffff88f7c9ab0000.statahead_batch_max=64 llite.lustre-ffff88f7c9ab0000.statahead_max=128