FS#62745 - [rspamd] Depend on hyperscan and jemalloc

Attached to Project: Community Packages
Opened by Oleksandr Natalenko (post-factum) - Sunday, 26 May 2019, 08:54 GMT
Last edited by Maxime Gauduin (Alucryd) - Friday, 30 August 2019, 13:16 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

rspamd site and its author suggest building rspamd with hyperscan and jemalloc for better performance:

===
[10:26] <cebka> e.g. Arch port by post-factum clearly misses hyperscan, jemalloc and the beta of luajit
[10:26] <cebka> it is likely built without lto flag
[10:26] <cebka> so it is in fact a dev package that cannot be used for high load
[10:27] <post-factum> cebka: it's not a port ;). but if you see that your software is packaged improperly, please do suggest how to do it better
[10:27] <post-factum> i don't do packaging for rspamd any more, but i can reach out to the current packager
[10:28] <cebka> https://github.com/rspamd/rspamd-build-scripts/blob/master/rspamd_build.sh
===

Also, see [1] ("Build rspamd" tab).

While jemalloc is available in extra, hyperscan would need to be pulled in from AUR.

Also, for the time being I believe we can ignore beta of luajit, but having LTO enabled would be a plus too.

Thanks.

[1] https://rspamd.com/downloads.html
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Friday, 30 August 2019, 13:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.9.4-3
Comment by Maxime Gauduin (Alucryd) - Friday, 30 August 2019, 13:15 GMT
So upstream makes optional features but blames those who don't enable them, and suggests running beta software in production, that's interesting!

Anyway, thanks for the heads up! I brought hyperscan to [community] and enabled jemalloc, hyperscan and lto. As you surmised we're definitely not enabling the beta luajit though.

Loading...