What I did was compiling PCRE with JIT support as:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info 
--libdir=/usr/lib/x86_64-linux-gnu \
            --enable-utf8 --enable-unicode-properties\
            --enable-pcre16                   \
            --enable-pcre32                   \
            --enable-pcregrep-libz            \
            --enable-pcregrep-libbz2          \
            --enable-pcretest-libreadline     \
            --disable-static --enable-jit

and then manually copying it to /lib/(distro-code), replacing link to an
old one into new one. That actually worked, but performance boost wasn't
really what I'd say "blazing" (no special test, just stress tests).
Perhaps, it would show more if you have large anti-spam ruleset and IP
filters.

Another point of note: I'm not exactly sure what would happen if we'd
try pcre32 lib instead of original. Would it work? Would it be faster?
If so, does it make any sense to make 64 bit version of it? Or it
doesn't matter much, because anyway we don't have much of rules?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1285097

Title:
  PCRE JIT doesn't work on trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcre3/+bug/1285097/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to