Memory seen from a single process
Memory seen from a single process
Posted Sep 13, 2011 17:51 UTC (Tue) by dlang (guest, #313)In reply to: Memory seen from a single process by cma
Parent article: The x32 system call ABI
a large database is a perfect example of a situation where you would want the full 64 bits available.
given these other memory usesin a system, it's very likely that a machine with 6-8G of ram that's dedicated for database use could still be very happy with x32
however, if you are splitting the database up using sharding (where you have multiple database instances, which could live on separate machines, including virtual machines), it's very possible that each one will only need 4G or less of address space even with far more ram.
also, if you have a database like postgres that used multiple processes (instead of multiple threads), you should recognize that each process can have 4G of address space, so unless you have a huge amount of shared memory allocated, 4G per process may be a very comfortable limit.
