This invention pertains to a
system optimized for reutilizing allocated underutilized or unused allocated
DRAM, comprising a first host, a second host, and a resource composer, interconnected via CXL. Both hosts run packaged computing environments (PCEs), which may be containers or virtual machines, and are equipped to
handle respective processes, P1 and P2. The resource composer is tasked with receiving data related to P1's memory usage from a kernel module on the first host, identifying underutilized
DRAM mapped to P1, and subsequently remapping it to P2's
address space on the second host. This process involves the use of CXL.mem commands, which are then translated into appropriate CXL.cache or CXL.io commands for
DRAM access based on the mapping.