Hacker News new | ask | show | jobs
by c0balt 51 days ago
NextCloud needs tuning (mostly of php-fpm and caching ) oob to be fast/usable in my experience. Just throwing resources at it won't make it faster as the defaults are generally quite conservative.

They even have a specific guide for this topic, https://docs.nextcloud.com/server/stable/admin_manual/instal...

As a side note, it's PHP so your single core clocks will generally be more relevant for latency than multi-core performance, feeding many cores requires a lot of divisble work.

1 comments

> it's PHP so your single core clocks will generally be more relevant for latency than multi-core performance, feeding many cores requires a lot of divisble work.

That is more or less built-in when you use php-fpm which launches a flock of instances. Slow things in Nextcloud like thumbnail generation are divided over whatever cores you feed it as long as you make sure to allow for enough php-fpm instances to be launched. It won't make generating a single thumbnail any faster but it does speed up generating lots of them.