== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 05:00:40 (1787389240) llite.lustre-ffff92ad05f01000.statahead_max=1024 llite.lustre-ffff92ad05f01000.statahead_batch_max=32 llite.lustre-ffff92ad05f01000.statahead_min=64 llite.lustre-ffff92ad05f01000.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.41 seconds: 156.01 ops/second llite.lustre-ffff92ad05f01000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f01000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f01000.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: 1787389256.781160654 secs.nsecs start_time: 1787389252.376630011 secs.nsecs elapsed_time: 4.404530643 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 1 1 4 4: 13 15 19 8: 5 5 25 16: 5 5 31 32: 59 68 100 snapshot_time: 1787389256.781224605 secs.nsecs start_time: 1787389252.376712351 secs.nsecs elapsed_time: 4.404512254 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: 0 list_total: 0 fname_total: 1 hit_total: 993 miss_total: 2 snapshot_time: 1787389287.829702172 secs.nsecs start_time: 1787389252.376630011 secs.nsecs elapsed_time: 35.453072161 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 1 1 5 4: 13 14 20 8: 5 5 26 16: 5 5 32 32: 59 67 100 snapshot_time: 1787389287.829766360 secs.nsecs start_time: 1787389252.376712351 secs.nsecs elapsed_time: 35.453054009 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 6.75 seconds: 148.14 ops/second llite.lustre-ffff92ad05f01000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92ad05f01000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff92ad05f01000.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: 1787389304.109953048 secs.nsecs start_time: 1787389300.298985671 secs.nsecs elapsed_time: 3.810967377 secs.nsecs subreqs per batch batches %% cum %% 1: 8 9 9 2: 3 3 12 4: 4 4 17 8: 8 9 26 16: 7 7 34 32: 58 65 100 snapshot_time: 1787389304.110018127 secs.nsecs start_time: 1787389300.299274482 secs.nsecs elapsed_time: 3.810743645 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1787389335.174934436 secs.nsecs start_time: 1787389300.298985671 secs.nsecs elapsed_time: 34.875948765 secs.nsecs subreqs per batch batches %% cum %% 1: 9 10 10 2: 3 3 13 4: 4 4 17 8: 8 8 26 16: 7 7 34 32: 58 65 100 snapshot_time: 1787389335.175201129 secs.nsecs start_time: 1787389300.299274482 secs.nsecs elapsed_time: 34.875926647 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1787389343 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1787389354 ; total 0 ; last 0) total: 1000 unlinks in 11 seconds: 90.909088 unlinks/second llite.lustre-ffff92ad05f01000.enable_statahead_fname=1 llite.lustre-ffff92ad05f01000.statahead_min=8 llite.lustre-ffff92ad05f01000.statahead_batch_max=64 llite.lustre-ffff92ad05f01000.statahead_max=128