Hardware and performance

Php memory_limit, what is the good way