== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:39:55 (1789612795) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=0 llite.lustre-ffff9a8a07b2e800.statahead_max=32 llite.lustre-ffff9a8a07b2e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.02 seconds: 49.52 ops/second llite.lustre-ffff9a8a07b2e800.statahead_max=0 101 real 0m1.583s user 0m0.005s sys 0m0.299s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a8a07b2e800.statahead_max=32 llite.lustre-ffff9a8a07b2e800.statahead_max=32 101 real 0m0.906s user 0m0.002s sys 0m0.161s 'ls -l' 100 files with statahead: 0 sec statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 30 fname_total: 80 hit_total: 3861 miss_total: 1130 swrong=2 ewrong=2 total: 900 open/close in 9.76 seconds: 92.18 ops/second llite.lustre-ffff9a8a07b2e800.statahead_max=0 1001 real 0m17.873s user 0m0.035s sys 0m2.786s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9a8a07b2e800.statahead_max=32 llite.lustre-ffff9a8a07b2e800.statahead_max=32 1001 real 0m8.861s user 0m0.025s sys 0m1.361s 'ls -l' 1000 files with statahead: 9 sec statahead total: 116 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 80 hit_total: 4856 miss_total: 1135 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9a8a07b2e800.statahead_stats= statahead total: 116 statahead wrong: 2 agl total: 110 list_total: 31 fname_total: 80 hit_total: 4856 miss_total: 1135 mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789612881.463789690 secs.nsecs start_time: 1789612801.006165975 secs.nsecs elapsed_time: 80.457623715 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 8 8: 4 10 18 16: 26 70 89 32: 4 10 100 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789612881.463971428 secs.nsecs start_time: 1789612801.006245335 secs.nsecs elapsed_time: 80.457726093 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 10 26 36 32: 24 63 100 - open/close 865 (time 1789612893.94 total 10.01 last 86.41) - open/close 1695 (time 1789612903.94 total 20.01 last 82.97) - open/close 2534 (time 1789612913.95 total 30.02 last 83.88) - open/close 3455 (time 1789612923.95 total 40.02 last 92.08) - open/close 4397 (time 1789612933.95 total 50.02 last 94.17) - open/close 5275 (time 1789612943.96 total 60.03 last 87.75) - open/close 6193 (time 1789612953.97 total 70.04 last 91.71) - open/close 7020 (time 1789612963.98 total 80.05 last 82.59) - open/close 7871 (time 1789612973.99 total 90.06 last 85.02) - open/close 8885 (time 1789612983.99 total 100.06 last 101.40) - open/close 9853 (time 1789612994.00 total 110.07 last 96.71) total: 10000 open/close in 111.57 seconds: 89.63 ops/second llite.lustre-ffff9a8a07b2e800.statahead_batch_max=0 llite.lustre-ffff9a8a07b2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.989s user 0m0.289s sys 0m14.018s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a8a07b2e800.statahead_batch_max=32 llite.lustre-ffff9a8a07b2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.414s user 0m0.282s sys 0m13.308s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613165.695824793 secs.nsecs start_time: 1789613061.389427324 secs.nsecs elapsed_time: 104.306397469 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-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613165.696134406 secs.nsecs start_time: 1789613061.389493181 secs.nsecs elapsed_time: 104.306641225 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=0 llite.lustre-ffff9a8a07b2e800.statahead_max=2048 llite.lustre-ffff9a8a07b2e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.94 seconds: 51.43 ops/second llite.lustre-ffff9a8a07b2e800.statahead_max=0 101 real 0m2.116s user 0m0.004s sys 0m0.312s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a8a07b2e800.statahead_max=2048 llite.lustre-ffff9a8a07b2e800.statahead_max=2048 101 real 0m0.828s user 0m0.004s sys 0m0.154s '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 760 (time 1789613454.83 total 10.00 last 75.99) total: 900 open/close in 12.62 seconds: 71.34 ops/second llite.lustre-ffff9a8a07b2e800.statahead_max=0 1001 real 0m21.055s user 0m0.033s sys 0m2.758s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9a8a07b2e800.statahead_max=2048 llite.lustre-ffff9a8a07b2e800.statahead_max=2048 1001 real 0m7.785s user 0m0.030s sys 0m1.405s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9a8a07b2e800.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-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613517.782166566 secs.nsecs start_time: 1789613168.296095746 secs.nsecs elapsed_time: 349.486070820 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 37 37 8: 2 25 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613517.782234741 secs.nsecs start_time: 1789613168.296224136 secs.nsecs elapsed_time: 349.486010605 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 37 37 8: 1 12 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 818 (time 1789613530.51 total 10.01 last 81.75) - open/close 1618 (time 1789613540.52 total 20.02 last 79.92) - open/close 2591 (time 1789613550.54 total 30.04 last 97.10) - open/close 3599 (time 1789613560.55 total 40.05 last 100.72) - open/close 4536 (time 1789613570.55 total 50.05 last 93.68) - open/close 5402 (time 1789613580.55 total 60.05 last 86.58) - open/close 6319 (time 1789613590.55 total 70.05 last 91.67) - open/close 7351 (time 1789613600.56 total 80.06 last 103.14) - open/close 8268 (time 1789613610.56 total 90.06 last 91.68) - open/close 9134 (time 1789613620.57 total 100.07 last 86.55) total: 10000 open/close in 110.01 seconds: 90.90 ops/second llite.lustre-ffff9a8a07b2e800.statahead_batch_max=0 llite.lustre-ffff9a8a07b2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.011s user 0m0.309s sys 0m14.249s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a8a07b2e800.statahead_batch_max=256 llite.lustre-ffff9a8a07b2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.165s user 0m0.286s sys 0m14.063s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613764.122092816 secs.nsecs start_time: 1789613697.352759543 secs.nsecs elapsed_time: 66.769333273 secs.nsecs subreqs per batch batches %% cum %% 1: 78 36 36 2: 31 14 50 4: 27 12 63 8: 12 5 69 16: 6 2 71 32: 21 9 81 64: 4 1 83 128: 0 0 83 256: 35 16 100 mdc.lustre-MDT0001-mdc-ffff9a8a07b2e800.batch_stats= snapshot_time: 1789613764.122282241 secs.nsecs start_time: 1789613697.353108690 secs.nsecs elapsed_time: 66.769173551 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-ffff9a8a07b2e800.statahead_batch_max=64 llite.lustre-ffff9a8a07b2e800.statahead_max=128