cyrus-dir-hash?

Liu Jinhui hui at student.dlut.edu.cn
Fri Nov 1 00:24:56 EST 2002


    When I compile cyrus-2.0.16, I used a patch called cyrus-dir-hash fro=
m http://mail.cc.umanitoba.ca/source/
It simply centralizes all directory hashing into one function: dir_hash_c=
(). By default,=20
this function uses the old hashing scheme, based on the first letter of t=
he user name.=20
When the compile-time symbol USE_DIR_FULL is defined, it uses the new sch=
eme that hashes=20
all letters of the user name to provide an even hash distribution.=20
    I wonder how much it will help the performance of cryrus-imap.
    In my situation , almost all users name are beginning with the same l=
etter: 'u'.
   =20



=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Liu Jinhui
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1hui at student.dlut.edu.cn
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12002-11-01







More information about the Info-cyrus mailing list