== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 04:57:33 (1787129853) llite.lustre-ffff9488aa5fa800.statahead_max=1024 llite.lustre-ffff9488aa5fa800.statahead_batch_max=32 llite.lustre-ffff9488aa5fa800.statahead_min=64 llite.lustre-ffff9488aa5fa800.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 7.74 seconds: 129.15 ops/second llite.lustre-ffff9488aa5fa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9488aa5fa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9488aa5fa800.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: 1787129872.804038906 secs.nsecs start_time: 1787129867.560500480 secs.nsecs elapsed_time: 5.243538426 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 6 7 11 4: 9 10 22 8: 4 4 27 16: 1 1 28 32: 60 71 100 snapshot_time: 1787129872.804648142 secs.nsecs start_time: 1787129867.560575468 secs.nsecs elapsed_time: 5.244072674 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 5s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787129903.991898713 secs.nsecs start_time: 1787129867.560500480 secs.nsecs elapsed_time: 36.431398233 secs.nsecs subreqs per batch batches %% cum %% 1: 5 5 5 2: 6 7 12 4: 9 10 23 8: 4 4 28 16: 1 1 29 32: 60 70 100 snapshot_time: 1787129903.991980393 secs.nsecs start_time: 1787129867.560575468 secs.nsecs elapsed_time: 36.431404925 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 7.63 seconds: 131.09 ops/second llite.lustre-ffff9488aa5fa800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9488aa5fa800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9488aa5fa800.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: 1787129923.296485629 secs.nsecs start_time: 1787129918.503911178 secs.nsecs elapsed_time: 4.792574451 secs.nsecs subreqs per batch batches %% cum %% 1: 6 6 6 2: 6 6 13 4: 4 4 17 8: 9 10 28 16: 5 5 33 32: 59 66 100 snapshot_time: 1787129923.296559517 secs.nsecs start_time: 1787129918.504328551 secs.nsecs elapsed_time: 4.792230966 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 '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787129954.070834656 secs.nsecs start_time: 1787129918.503911178 secs.nsecs elapsed_time: 35.566923478 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 6 6 14 4: 4 4 18 8: 9 10 28 16: 5 5 34 32: 59 65 100 snapshot_time: 1787129954.070967615 secs.nsecs start_time: 1787129918.504328551 secs.nsecs elapsed_time: 35.566639064 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787129964 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787129975 ; total 0 ; last 0) total: 1000 unlinks in 14 seconds: 71.428574 unlinks/second llite.lustre-ffff9488aa5fa800.enable_statahead_fname=1 llite.lustre-ffff9488aa5fa800.statahead_min=8 llite.lustre-ffff9488aa5fa800.statahead_batch_max=64 llite.lustre-ffff9488aa5fa800.statahead_max=128