Memory Placement Optimization (MPO) enables operating systems to allocate memory local to the core where the threads or processes are being executed. The sun4v architecture runs on virtualized hardware environment. The MPO for sun4v platforms feature provides the required standard accessors in the sun4v layer to provide locality information for the generic MPO framework. This feature is effective on platforms that have multiple sockets with differences in memory access latency. The MPO feature enhances the performance of various applications by enabling the OS to allocate memory local to the nodes.