logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kchashtest - command line interface to test the file hash database

Description

       The  command  `kchashtest' is a utility for facility test and performance test of the file hash database.
       This command is used in the following format.  `path' specifies the path  of  a  database  file.   `rnum'
       specifies the number of iterations.

              kchashtestorder  [-thnum] [-rnd] [-set|-get|-getw|-rem|-etc] [-tran] [-oat|-onl|-onl|-otl|-onr]
              [-apownum] [-fpownum] [-ts] [-tl] [-tc] [-bnumnum] [-msiznum] [-dfunitnum] [-lv] pathrnum
                     Performs in-order tests.
              kchashtestqueue [-thnum] [-itnum] [-rnd] [-oat|-onl|-onl|-otl|-onr]  [-apownum]  [-fpownum]
              [-ts] [-tl] [-tc] [-bnumnum] [-msiznum] [-dfunitnum] [-lv] pathrnum
                     Performs queuing operations.
              kchashtestwicked  [-thnum]  [-itnum] [-oat|-onl|-onl|-otl|-onr] [-apownum] [-fpownum] [-ts]
              [-tl] [-tc] [-bnumnum] [-msiznum] [-dfunitnum] [-lv] pathrnum
                     Performs mixed operations selected at random.
              kchashtesttran [-thnum] [-itnum] [-hard] [-oat|-onl|-onl|-otl|-onr]  [-apownum]  [-fpownum]
              [-ts] [-tl] [-tc] [-bnumnum] [-msiznum] [-dfunitnum] [-lv] pathrnum
                     Performs test of transaction.

       Options feature the following.

              -thnum : specifies the number of worker threads.
              -rnd : performs random test.
              -set : performs setting operation only.
              -get : performs getting operation only.
              -getw : performs getting with a buffer operation only.
              -rem : performs removing operation only.
              -etc : performs miscellaneous operations.
              -tran : performs transaction.
              -oat : opens the database with the auto transaction option.
              -oas : opens the database with the auto synchronization option.
              -onl : opens the database with the no locking option.
              -otl : opens the database with the try locking option.
              -onr : opens the database with the no auto repair option.
              -apownum : specifies the power of the alignment of record size.
              -fpownum : specifies the power of the capacity of the free block pool.
              -ts : tunes the database with the small option.
              -tl : tunes the database with the linear option.
              -tc : tunes the database with the compression option.
              -bnumnum : specifies the number of buckets of the hash table.
              -msiznum : specifies the size of the memory-mapped region.
              -dfunitnum : specifies the unit step number of auto defragmentation.
              -lv : reports all errors.
              -itnum : specifies the number of repetition.
              -hard : performs physical synchronization.

       This command returns 0 on success, another on failure.

Name

       kchashtest - command line interface to test the file hash database

See Also

kchashmgr(1)

Man Page                                           2012-05-24                                      KCHASHTEST(1)

See Also