Postgresql and optimal memory configuration

I have a Windows DB server with 112 GB of memory (AMD TR 16 cores / 32 HT) under PostgreSql v. 11. I have read the documentation, but the settings I need to change and the values ​​are not clear. would be the best solution to get the greatest performance? Some tips would be really appreciated.