== sanity test 123ab: verify statahead work by using statx ========================================================== 22:12:48 (1787796768) seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99caa7bf0800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99caa7bf0800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ab.sanity total: 100 open/close in 2.00 seconds: 50.08 ops/second llite.lustre-ffff99caa7bf0800.statahead_max=0 100 real 0m2.498s user 0m0.006s sys 0m0.302s 'statx -l' 100 files without statahead: 3 sec llite.lustre-ffff99caa7bf0800.statahead_max=128 llite.lustre-ffff99caa7bf0800.statahead_max=128 100 real 0m0.803s user 0m0.009s sys 0m0.173s 'statx -l' 100 files with statahead: 0 sec statahead total: 130 statahead wrong: 2 agl total: 127 list_total: 28 fname_total: 95 hit_total: 2165 miss_total: 1278 swrong=2 ewrong=2 - open/close 778 (time 1787796796.39 total 10.01 last 77.72) total: 900 open/close in 11.56 seconds: 77.84 ops/second llite.lustre-ffff99caa7bf0800.statahead_max=0 1000 real 0m20.602s user 0m0.068s sys 0m2.706s 'statx -l' 1000 files without statahead: 21 sec llite.lustre-ffff99caa7bf0800.statahead_max=128 llite.lustre-ffff99caa7bf0800.statahead_max=128 1000 real 0m5.777s user 0m0.061s sys 0m1.245s 'statx -l' 1000 files with statahead: 5 sec statahead total: 131 statahead wrong: 2 agl total: 128 list_total: 29 fname_total: 95 hit_total: 3164 miss_total: 1278 swrong=2 ewrong=2 'statx -l' done unlink + rm -r /mnt/lustre/d123ab.sanity: 20 seconds llite.lustre-ffff99caa7bf0800.statahead_stats= statahead total: 131 statahead wrong: 2 agl total: 128 list_total: 29 fname_total: 95 hit_total: 3164 miss_total: 1278 mdc.lustre-MDT0000-mdc-ffff99caa7bf0800.batch_stats= snapshot_time: 1787796856.747499043 secs.nsecs start_time: 1787796774.084036383 secs.nsecs elapsed_time: 82.663462660 secs.nsecs subreqs per batch batches %% cum %% 1: 3 12 12 2: 2 8 20 4: 0 0 20 8: 2 8 29 16: 2 8 37 32: 3 12 50 64: 12 50 100 mdc.lustre-MDT0001-mdc-ffff99caa7bf0800.batch_stats= snapshot_time: 1787796856.747565961 secs.nsecs start_time: 1787796774.084136683 secs.nsecs elapsed_time: 82.663429278 secs.nsecs subreqs per batch batches %% cum %% 1: 2 10 10 2: 2 10 20 4: 1 5 25 8: 1 5 30 16: 1 5 35 32: 4 20 55 64: 9 45 100 unlink(/mnt/lustre/d123ab.sanity/f123ab.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