== sanity test 123i: Verify statahead work with the fname indexing pattern ========================================================== 13:15:53 (1786641353) llite.lustre-ffff9db61049a000.statahead_max=1024 llite.lustre-ffff9db61049a000.statahead_batch_max=32 llite.lustre-ffff9db61049a000.statahead_min=64 llite.lustre-ffff9db61049a000.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.41 seconds: 184.95 ops/second llite.lustre-ffff9db61049a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9db61049a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9db61049a000.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: 1786641367.344001251 secs.nsecs start_time: 1786641364.142438478 secs.nsecs elapsed_time: 3.201562773 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 4 4: 15 17 22 8: 6 7 29 16: 1 1 30 32: 59 69 100 snapshot_time: 1786641367.344071325 secs.nsecs start_time: 1786641364.142505369 secs.nsecs elapsed_time: 3.201565956 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: 1786641398.795220068 secs.nsecs start_time: 1786641364.142438478 secs.nsecs elapsed_time: 34.652781590 secs.nsecs subreqs per batch batches %% cum %% 1: 3 3 3 2: 2 2 5 4: 15 17 23 8: 6 6 30 16: 1 1 31 32: 59 68 100 snapshot_time: 1786641398.795293225 secs.nsecs start_time: 1786641364.142505369 secs.nsecs elapsed_time: 34.652787856 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 8.72 seconds: 114.64 ops/second llite.lustre-ffff9db61049a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9db61049a000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9db61049a000.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: 1786641419.156222522 secs.nsecs start_time: 1786641413.835054864 secs.nsecs elapsed_time: 5.321167658 secs.nsecs subreqs per batch batches %% cum %% 1: 1 1 1 2: 2 2 3 4: 4 4 8 8: 15 17 25 16: 5 5 31 32: 58 68 100 snapshot_time: 1786641419.156289999 secs.nsecs start_time: 1786641413.835216416 secs.nsecs elapsed_time: 5.321073583 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: 1 list_total: 0 fname_total: 1 hit_total: 994 miss_total: 1 snapshot_time: 1786641450.091180052 secs.nsecs start_time: 1786641413.835054864 secs.nsecs elapsed_time: 36.256125188 secs.nsecs subreqs per batch batches %% cum %% 1: 2 2 2 2: 2 2 4 4: 4 4 9 8: 15 17 26 16: 5 5 32 32: 58 67 100 snapshot_time: 1786641450.091246656 secs.nsecs start_time: 1786641413.835216416 secs.nsecs elapsed_time: 36.256030240 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 - unlinked 0 (time 1786641460 ; total 0 ; last 0) total: 1000 unlinks in 3 seconds: 333.333344 unlinks/second - unlinked 0 (time 1786641466 ; total 0 ; last 0) total: 1000 unlinks in 8 seconds: 125.000000 unlinks/second llite.lustre-ffff9db61049a000.enable_statahead_fname=1 llite.lustre-ffff9db61049a000.statahead_min=8 llite.lustre-ffff9db61049a000.statahead_batch_max=64 llite.lustre-ffff9db61049a000.statahead_max=128