== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 17:49:37 (1789681777) llite.lustre-ffff9e269566b000.statahead_max=1024 llite.lustre-ffff9e269566b000.statahead_batch_max=32 llite.lustre-ffff9e269566b000.statahead_min=64 llite.lustre-ffff9e269566b000.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 3.93 seconds: 254.16 ops/second llite.lustre-ffff9e269566b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e269566b000.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: 1789681786.589044533 secs.nsecs start_time: 1789681784.175738162 secs.nsecs elapsed_time: 2.413306371 secs.nsecs subreqs per batch batches %% cum %% 1: 7 7 7 2: 3 3 11 4: 12 13 24 8: 9 10 34 16: 0 0 34 32: 59 65 100 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: 1789681817.866928765 secs.nsecs start_time: 1789681784.175738162 secs.nsecs elapsed_time: 33.691190603 secs.nsecs subreqs per batch batches %% cum %% 1: 8 8 8 2: 3 3 12 4: 12 13 25 8: 9 9 35 16: 0 0 35 32: 59 64 100 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 4.54 seconds: 220.42 ops/second llite.lustre-ffff9e269566b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e269566b000.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: 1789681827.657173112 secs.nsecs start_time: 1789681825.274275316 secs.nsecs elapsed_time: 2.382897796 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 3 3 6 4: 0 0 6 8: 7 8 14 16: 10 12 27 32: 59 72 100 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: 1 list_total: 0 fname_total: 1 hit_total: 995 miss_total: 0 snapshot_time: 1789681858.865819521 secs.nsecs start_time: 1789681825.274275316 secs.nsecs elapsed_time: 33.591544205 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 0 0 7 8: 7 8 15 16: 10 12 28 32: 59 71 100 - unlinked 0 (time 1789681863 ; total 0 ; last 0) total: 1000 unlinks in 5 seconds: 200.000000 unlinks/second - unlinked 0 (time 1789681871 ; total 0 ; last 0) total: 1000 unlinks in 9 seconds: 111.111115 unlinks/second llite.lustre-ffff9e269566b000.enable_statahead_fname=1 llite.lustre-ffff9e269566b000.statahead_min=8 llite.lustre-ffff9e269566b000.statahead_batch_max=64 llite.lustre-ffff9e269566b000.statahead_max=128