1. A method for optimizing performance of transactional memory accesses, the method comprising: allocating a transactional memory agent to one or more processors in a compute node; performing global memory transactions for a processor of the one or more processors in the compute node by the allocated transactional memory agent; receiving a transactional read request from the processor of the one or more processors by the transactional memory agent; copying data from one or more globally shared memory addresses identified by the transactional read request into a private region of memory associated with the processor by the transactional memory agent, wherein the globally shared memory addresses are at a globally shared memory that is a globally coherent memory; receiving a transactional write request from the processor of the one or more processors by the transactional memory agent; sending data from the private region of memory associated with the processor by the transactional memory agent for storage in the globally shared globally coherent memory after receiving the transactional write request; receiving a command from the processor of the one or more processors, wherein the command includes one or more transaction variables to be written the globally shared memory; and sending the one or more transaction variables to the globally shared memory for storage.