Patent attributes
This disclosure provides methods, systems and computer program products for page sharing among a plurality of containers running on a host. The method comprises in response to a first container accessing a first file not cached by the first container, checking whether a second file equivalent to the first file is shared in a memory of the host by a second container, wherein the checking is based on a record in which related information of at least one shared file is stored. The method further comprises in response to the checking indicating there is no second file, allocating in the memory at least one page for the first file, loading the first file into the at least one page, and storing related information of the first file into the record.