== sanity test 123ab: verify statahead work by using statx ========================================================== 12:09:24 (1790784564) seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff95ce1042b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff95ce1042b000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ab.sanity total: 100 open/close in 2.63 seconds: 38.02 ops/second llite.lustre-ffff95ce1042b000.statahead_max=0 100 real 0m2.833s user 0m0.012s sys 0m0.300s 'statx -l' 100 files without statahead: 3 sec llite.lustre-ffff95ce1042b000.statahead_max=128 llite.lustre-ffff95ce1042b000.statahead_max=128 100 real 0m0.986s user 0m0.008s sys 0m0.138s 'statx -l' 100 files with statahead: 1 sec statahead total: 119 statahead wrong: 2 agl total: 115 list_total: 26 fname_total: 87 hit_total: 1679 miss_total: 1130 swrong=2 ewrong=2 - open/close 644 (time 1790784594.71 total 10.00 last 64.38) total: 900 open/close in 15.20 seconds: 59.20 ops/second llite.lustre-ffff95ce1042b000.statahead_max=0 1000 real 0m17.315s user 0m0.073s sys 0m2.599s 'statx -l' 1000 files without statahead: 18 sec llite.lustre-ffff95ce1042b000.statahead_max=128 llite.lustre-ffff95ce1042b000.statahead_max=128 1000 real 0m5.711s user 0m0.075s sys 0m1.260s 'statx -l' 1000 files with statahead: 6 sec statahead total: 120 statahead wrong: 2 agl total: 116 list_total: 27 fname_total: 87 hit_total: 2678 miss_total: 1130 swrong=2 ewrong=2 'statx -l' done unlink + rm -r /mnt/lustre/d123ab.sanity: 19 seconds llite.lustre-ffff95ce1042b000.statahead_stats= statahead total: 120 statahead wrong: 2 agl total: 116 list_total: 27 fname_total: 87 hit_total: 2678 miss_total: 1130 mdc.lustre-MDT0000-mdc-ffff95ce1042b000.batch_stats= snapshot_time: 1790784653.606123410 secs.nsecs start_time: 1790784570.550589887 secs.nsecs elapsed_time: 83.055533523 secs.nsecs subreqs per batch batches %% cum %% 1: 4 14 14 2: 3 10 25 4: 1 3 28 8: 3 10 39 16: 2 7 46 32: 2 7 53 64: 13 46 100 mdc.lustre-MDT0001-mdc-ffff95ce1042b000.batch_stats= snapshot_time: 1790784653.606215540 secs.nsecs start_time: 1790784570.550769299 secs.nsecs elapsed_time: 83.055446241 secs.nsecs subreqs per batch batches %% cum %% 1: 3 12 12 2: 3 12 24 4: 4 16 40 8: 0 0 40 16: 2 8 48 32: 9 36 84 64: 4 16 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