News for hackers. Stuff that matters.
Re:Memory FAQ by twoodfin on Monday October 10, 2016 @03:04PM (#12679109)
Another benefit of huge pages: Some database systems use a model where client processes operate on a massive pool of shared memory (typically a buffer cache). This allows the system to leverage the OS process model for isolation, privileges, etc. Huge pages greatly reduce the overhead of new client processes lazily mapping that pool into their address space.
Re:Memory FAQ by eloff on Monday October 10, 2016 @05:53PM (#12680053)
This helps e.g. Postgres which has a process per connection model. MySQL uses threads, which is lighter weight and doesn't have this problem.