1. A method for dynamically optimizing platform resource allocation of a logically-partitioned data processing system, the method comprising: allocating processor and memory resources to a plurality of logical partitions in the logically-partitioned data processing system; after allocating processor and memory resources to the plurality of logical partitions in the logically-partitioned data processing system, monitoring local and non-local memory accesses by the plurality of logical partitions; determining whether to reallocate the processor and memory resources for the plurality of logical partitions based at least in part on the monitored local and non-local memory accesses; and in response to determining to reallocate the processor and memory resources for the plurality of logical partitions, dynamically reallocating the processor and memory resources to the plurality of logical partitions in the logically-partitioned data processing system.