== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 01:41:26 (1782366086) llite.lustre-ffff9d1a12b4a000.statahead_max=1024 llite.lustre-ffff9d1a12b4a000.statahead_batch_max=32 llite.lustre-ffff9d1a12b4a000.statahead_min=64 llite.lustre-ffff9d1a12b4a000.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.03 seconds: 967.33 ops/second llite.lustre-ffff9d1a12b4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1a12b4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d1a12b4a000.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: 1782366091.102575974 secs.nsecs start_time: 1782366089.183319286 secs.nsecs elapsed_time: 1.919256688 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 1 1 8 4: 22 24 32 8: 0 0 32 16: 1 1 34 32: 60 65 100 snapshot_time: 1782366091.102617012 secs.nsecs start_time: 1782366089.183373356 secs.nsecs elapsed_time: 1.919243656 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: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1782366122.120024444 secs.nsecs start_time: 1782366089.183319286 secs.nsecs elapsed_time: 32.936705158 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 1 1 9 4: 22 23 33 8: 0 0 33 16: 1 1 34 32: 60 65 100 snapshot_time: 1782366122.120072011 secs.nsecs start_time: 1782366089.183373356 secs.nsecs elapsed_time: 32.936698655 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 1.04 seconds: 959.44 ops/second llite.lustre-ffff9d1a12b4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d1a12b4a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d1a12b4a000.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: 1782366127.156814365 secs.nsecs start_time: 1782366124.713045756 secs.nsecs elapsed_time: 2.443768609 secs.nsecs subreqs per batch batches %% cum %% 1: 19 17 17 2: 6 5 22 4: 9 8 30 8: 19 17 48 16: 1 0 49 32: 56 50 100 snapshot_time: 1782366127.156853832 secs.nsecs start_time: 1782366124.713118849 secs.nsecs elapsed_time: 2.443734983 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: 1782366158.233216654 secs.nsecs start_time: 1782366124.713045756 secs.nsecs elapsed_time: 33.520170898 secs.nsecs subreqs per batch batches %% cum %% 1: 20 18 18 2: 6 5 23 4: 9 8 31 8: 19 17 48 16: 1 0 49 32: 56 50 100 snapshot_time: 1782366158.233254301 secs.nsecs start_time: 1782366124.713118849 secs.nsecs elapsed_time: 33.520135452 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1782366160 ; total 0 ; last 0) total: 1000 unlinks in 1 seconds: 1000.000000 unlinks/second - unlinked 0 (time 1782366162 ; total 0 ; last 0) total: 1000 unlinks in 2 seconds: 500.000000 unlinks/second llite.lustre-ffff9d1a12b4a000.enable_statahead_fname=1 llite.lustre-ffff9d1a12b4a000.statahead_min=8 llite.lustre-ffff9d1a12b4a000.statahead_batch_max=64 llite.lustre-ffff9d1a12b4a000.statahead_max=128