== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 08:46:03 (1786193163) llite.lustre-ffff96e84541f800.statahead_max=1024 llite.lustre-ffff96e84541f800.statahead_batch_max=32 llite.lustre-ffff96e84541f800.statahead_min=64 llite.lustre-ffff96e84541f800.enable_statahead_fname=1 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity.%06d 1000 - ls /mnt/lustre/d123i.sanity/* > /dev/null total: 1000 create in 1.81 seconds: 552.87 ops/second llite.lustre-ffff96e84541f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96e84541f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96e84541f800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1786193170.529594339 secs.nsecs start_time: 1786193167.995607466 secs.nsecs elapsed_time: 2.533986873 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 0 0 2 4: 21 24 26 8: 3 3 30 16: 0 0 30 32: 60 69 100 snapshot_time: 1786193170.529644324 secs.nsecs start_time: 1786193167.995690142 secs.nsecs elapsed_time: 2.533954182 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786193201.002417110 secs.nsecs start_time: 1786193167.995607466 secs.nsecs elapsed_time: 33.006809644 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 0 0 3 4: 21 24 27 8: 3 3 31 16: 0 0 31 32: 60 68 100 snapshot_time: 1786193201.002468138 secs.nsecs start_time: 1786193167.995690142 secs.nsecs elapsed_time: 33.006777996 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Command: - createmany -m /mnt/lustre/d123i.sanity/f123i.sanity 1000 - aheadmany -c stat -N -s 0 -e 1000 -b f123i.sanity -d /mnt/lustre/d123i.sanity total: 1000 create in 2.21 seconds: 452.54 ops/second llite.lustre-ffff96e84541f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96e84541f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96e84541f800.batch_stats=0 statahead_stats (Pre): statahead total: 0 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 0 hit_total: 0 miss_total: 0 statahead_stats (Post): statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 0 miss_total: 0 snapshot_time: 1786193207.219310258 secs.nsecs start_time: 1786193205.213192955 secs.nsecs elapsed_time: 2.006117303 secs.nsecs subreqs per batch batches %% cum %% 1: 26 23 23 2: 5 4 27 4: 6 5 33 8: 11 9 42 16: 9 8 50 32: 55 49 100 snapshot_time: 1786193207.219381438 secs.nsecs start_time: 1786193205.213244229 secs.nsecs elapsed_time: 2.006137209 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 25s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1786193238.563703556 secs.nsecs start_time: 1786193205.213192955 secs.nsecs elapsed_time: 33.350510601 secs.nsecs subreqs per batch batches %% cum %% 1: 27 23 23 2: 5 4 28 4: 6 5 33 8: 11 9 43 16: 9 7 51 32: 55 48 100 snapshot_time: 1786193238.563757516 secs.nsecs start_time: 1786193205.213244229 secs.nsecs elapsed_time: 33.350513287 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786193241 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second - unlinked 0 (time 1786193244 ; total 0 ; last 0) total: 1000 unlinks in 4 seconds: 250.000000 unlinks/second llite.lustre-ffff96e84541f800.enable_statahead_fname=1 llite.lustre-ffff96e84541f800.statahead_min=8 llite.lustre-ffff96e84541f800.statahead_batch_max=64 llite.lustre-ffff96e84541f800.statahead_max=128