== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 21:00:54 (1788570054) llite.lustre-ffffa0d5a9d48800.statahead_max=1024 llite.lustre-ffffa0d5a9d48800.statahead_batch_max=32 llite.lustre-ffffa0d5a9d48800.statahead_min=64 llite.lustre-ffffa0d5a9d48800.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.47 seconds: 182.93 ops/second llite.lustre-ffffa0d5a9d48800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d5a9d48800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d5a9d48800.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: 1788570069.754215164 secs.nsecs start_time: 1788570065.658763371 secs.nsecs elapsed_time: 4.095451793 secs.nsecs subreqs per batch batches %% cum %% 1: 6 7 7 2: 5 5 12 4: 6 7 20 8: 5 5 25 16: 3 3 29 32: 60 70 100 snapshot_time: 1788570069.754285049 secs.nsecs start_time: 1788570065.658855941 secs.nsecs elapsed_time: 4.095429108 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 '' statahead total: 1 statahead wrong: 0 agl total: 0 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1788570100.109366689 secs.nsecs start_time: 1788570065.658763371 secs.nsecs elapsed_time: 34.450603318 secs.nsecs subreqs per batch batches %% cum %% 1: 7 8 8 2: 5 5 13 4: 6 6 20 8: 5 5 26 16: 3 3 30 32: 60 69 100 snapshot_time: 1788570100.109436211 secs.nsecs start_time: 1788570065.658855941 secs.nsecs elapsed_time: 34.450580270 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.97 seconds: 167.61 ops/second llite.lustre-ffffa0d5a9d48800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d5a9d48800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d5a9d48800.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: 1788570115.040136520 secs.nsecs start_time: 1788570111.504301137 secs.nsecs elapsed_time: 3.535835383 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 3 3 7 4: 8 9 16 8: 5 6 22 16: 5 6 28 32: 59 71 100 snapshot_time: 1788570115.040202829 secs.nsecs start_time: 1788570111.505175483 secs.nsecs elapsed_time: 3.535027346 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: 1788570145.773795527 secs.nsecs start_time: 1788570111.504301137 secs.nsecs elapsed_time: 34.269494390 secs.nsecs subreqs per batch batches %% cum %% 1: 4 4 4 2: 3 3 8 4: 8 9 17 8: 5 5 23 16: 5 5 29 32: 59 70 100 snapshot_time: 1788570145.773959057 secs.nsecs start_time: 1788570111.505175483 secs.nsecs elapsed_time: 34.268783574 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1788570155 ; total 0 ; last 0) total: 1000 unlinks in 7 seconds: 142.857147 unlinks/second - unlinked 0 (time 1788570164 ; total 0 ; last 0) total: 1000 unlinks in 10 seconds: 100.000000 unlinks/second llite.lustre-ffffa0d5a9d48800.enable_statahead_fname=1 llite.lustre-ffffa0d5a9d48800.statahead_min=8 llite.lustre-ffffa0d5a9d48800.statahead_batch_max=64 llite.lustre-ffffa0d5a9d48800.statahead_max=128