== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 02:08:40 (1788847720) llite.lustre-ffff9d150548d000.statahead_max=1024 llite.lustre-ffff9d150548d000.statahead_batch_max=32 llite.lustre-ffff9d150548d000.statahead_min=64 llite.lustre-ffff9d150548d000.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.11 seconds: 195.65 ops/second llite.lustre-ffff9d150548d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d150548d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d150548d000.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: 1788847734.848434370 secs.nsecs start_time: 1788847730.996902210 secs.nsecs elapsed_time: 3.851532160 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 4 4 7 4: 14 15 23 8: 5 5 29 16: 4 4 33 32: 59 66 100 snapshot_time: 1788847734.848496815 secs.nsecs start_time: 1788847730.997136913 secs.nsecs elapsed_time: 3.851359902 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: 1788847765.639276024 secs.nsecs start_time: 1788847730.996902210 secs.nsecs elapsed_time: 34.642373814 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 4 4 8 4: 14 15 24 8: 5 5 30 16: 4 4 34 32: 59 65 100 snapshot_time: 1788847765.639341384 secs.nsecs start_time: 1788847730.997136913 secs.nsecs elapsed_time: 34.642204471 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.01 seconds: 199.51 ops/second llite.lustre-ffff9d150548d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9d150548d000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9d150548d000.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: 1788847779.981605567 secs.nsecs start_time: 1788847775.762452593 secs.nsecs elapsed_time: 4.219152974 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 8 9 14 8: 7 8 23 16: 4 4 28 32: 59 71 100 snapshot_time: 1788847779.981671840 secs.nsecs start_time: 1788847775.762517098 secs.nsecs elapsed_time: 4.219154742 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: 1788847810.792776437 secs.nsecs start_time: 1788847775.762452593 secs.nsecs elapsed_time: 35.030323844 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 6 4: 8 9 15 8: 7 8 24 16: 4 4 28 32: 59 71 100 snapshot_time: 1788847810.792856079 secs.nsecs start_time: 1788847775.762517098 secs.nsecs elapsed_time: 35.030338981 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788847821 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788847832 ; total 0 ; last 0) total: 1000 unlinks in 12 seconds: 83.333336 unlinks/second llite.lustre-ffff9d150548d000.enable_statahead_fname=1 llite.lustre-ffff9d150548d000.statahead_min=8 llite.lustre-ffff9d150548d000.statahead_batch_max=64 llite.lustre-ffff9d150548d000.statahead_max=128