== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 11:08:07 (1786028887) llite.lustre-ffff9e493eb75000.statahead_max=1024 llite.lustre-ffff9e493eb75000.statahead_batch_max=32 llite.lustre-ffff9e493eb75000.statahead_min=64 llite.lustre-ffff9e493eb75000.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 6.71 seconds: 148.93 ops/second llite.lustre-ffff9e493eb75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e493eb75000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e493eb75000.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: 1786028908.057504510 secs.nsecs start_time: 1786028901.816826085 secs.nsecs elapsed_time: 6.240678425 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 4 4 14 4: 10 11 26 8: 3 3 29 16: 0 0 29 32: 61 70 100 snapshot_time: 1786028908.057569517 secs.nsecs start_time: 1786028901.816919933 secs.nsecs elapsed_time: 6.240649584 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 15s for '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1786028938.822513526 secs.nsecs start_time: 1786028901.816826085 secs.nsecs elapsed_time: 37.005687441 secs.nsecs subreqs per batch batches %% cum %% 1: 10 11 11 2: 4 4 15 4: 10 11 27 8: 3 3 30 16: 0 0 30 32: 61 69 100 snapshot_time: 1786028938.822562845 secs.nsecs start_time: 1786028901.816919933 secs.nsecs elapsed_time: 37.005642912 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 5.63 seconds: 177.49 ops/second llite.lustre-ffff9e493eb75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e493eb75000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e493eb75000.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: 1786028955.449299021 secs.nsecs start_time: 1786028951.255312638 secs.nsecs elapsed_time: 4.193986383 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 5 5 13 4: 6 6 19 8: 9 9 29 16: 7 7 36 32: 58 63 100 snapshot_time: 1786028955.449363814 secs.nsecs start_time: 1786028951.255418506 secs.nsecs elapsed_time: 4.193945308 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 Wait the statahead thread (ll_sa_xxx) to exit ... Waiting 35s for '' Waiting 15s for '' Waiting 5s for '' statahead total: 1 statahead wrong: 0 agl total: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786028986.781391420 secs.nsecs start_time: 1786028951.255312638 secs.nsecs elapsed_time: 35.526078782 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 5 5 13 4: 6 6 20 8: 9 9 30 16: 7 7 37 32: 58 62 100 snapshot_time: 1786028986.781463967 secs.nsecs start_time: 1786028951.255418506 secs.nsecs elapsed_time: 35.526045461 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786028996 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second - unlinked 0 (time 1786029010 ; total 0 ; last 0) total: 1000 unlinks in 16 seconds: 62.500000 unlinks/second llite.lustre-ffff9e493eb75000.enable_statahead_fname=1 llite.lustre-ffff9e493eb75000.statahead_min=8 llite.lustre-ffff9e493eb75000.statahead_batch_max=64 llite.lustre-ffff9e493eb75000.statahead_max=128