== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 15:49:49 (1783972189) llite.lustre-ffff8c1184636000.statahead_max=1024 llite.lustre-ffff8c1184636000.statahead_batch_max=32 llite.lustre-ffff8c1184636000.statahead_min=64 llite.lustre-ffff8c1184636000.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 5.51 seconds: 181.50 ops/second llite.lustre-ffff8c1184636000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1184636000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1184636000.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: 1783972204.016595173 secs.nsecs start_time: 1783972200.819920760 secs.nsecs elapsed_time: 3.196674413 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 4 4 7 4: 7 8 15 8: 9 10 26 16: 3 3 29 32: 59 70 100 snapshot_time: 1783972204.016663841 secs.nsecs start_time: 1783972200.820004432 secs.nsecs elapsed_time: 3.196659409 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: 1783972234.431855977 secs.nsecs start_time: 1783972200.819920760 secs.nsecs elapsed_time: 33.611935217 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 8 4: 7 8 16 8: 9 10 27 16: 3 3 30 32: 59 69 100 snapshot_time: 1783972234.431991831 secs.nsecs start_time: 1783972200.820004432 secs.nsecs elapsed_time: 33.611987399 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.88 seconds: 169.93 ops/second llite.lustre-ffff8c1184636000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1184636000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c1184636000.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: 1783972248.503387836 secs.nsecs start_time: 1783972245.214174437 secs.nsecs elapsed_time: 3.289213399 secs.nsecs subreqs per batch batches %% cum %% 1: 12 13 13 2: 3 3 16 4: 3 3 19 8: 8 8 28 16: 8 8 36 32: 58 63 100 snapshot_time: 1783972248.503574719 secs.nsecs start_time: 1783972245.214416880 secs.nsecs elapsed_time: 3.289157839 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: 994 miss_total: 1 snapshot_time: 1783972279.537916518 secs.nsecs start_time: 1783972245.214174437 secs.nsecs elapsed_time: 34.323742081 secs.nsecs subreqs per batch batches %% cum %% 1: 13 13 13 2: 3 3 17 4: 3 3 20 8: 8 8 29 16: 8 8 37 32: 58 62 100 snapshot_time: 1783972279.537980955 secs.nsecs start_time: 1783972245.214416880 secs.nsecs elapsed_time: 34.323564075 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1783972286 ; total 0 ; last 0) total: 1000 unlinks in 6 seconds: 166.666672 unlinks/second - unlinked 0 (time 1783972296 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff8c1184636000.enable_statahead_fname=1 llite.lustre-ffff8c1184636000.statahead_min=8 llite.lustre-ffff8c1184636000.statahead_batch_max=64 llite.lustre-ffff8c1184636000.statahead_max=128