Skip to content
Discussion options

You must be logged in to vote

You can run it easily on a single core with less than 100MB of memory, if you have a small user count and configure it properly.

Take a look at the Tuning section in the book. Especially tuning the Memory Allocator at the bottom can make a huge difference regarding memory usage. If you want to use the lowest possible amount of memory, make sure to adjust the cost for hashing to the minimum as well:

[hashing]
argon2_m_cost = 32768
argon2_p_cost = 2
max_hash_threads = 1

You only need more resources, if you have higer degrees of concurrency, or if you want to boost the limits for password hashing, which will usually be your limiting factor in terms of resources. You can compensate lower m_cost

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tarnishablec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants