发明名称 Common file caching for virtual private servers
摘要 A host runs an operating system kernel. A plurality of virtual private servers (containers) is supported within the kernel. The containers use the same files. A template cache has pre-calculated file checksums. The checksum is calculated each time the file is created and/or modified. Each file has an inode containing an attribute indicating whether the checksum is calculated and stored along with the file. If the checksum is present, the process is redirected to access the file with the same inode in the shared disk cache.
申请公布号 US9286310(B1) 申请公布日期 2016.03.15
申请号 US201314065710 申请日期 2013.10.29
申请人 Parallels IP Holdings GmbH 发明人 Emelyanov Pavel;Korotaev Kirill S.;Protassov Stanislav S.;Beloussov Serguei M.;Tormasov Alexander G.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Bardmesser Law Group 代理人 Bardmesser Law Group
主权项 1. A computer implemented method for caching container files, the method comprising: creating a container running under an operating system kernel; saving container files into a container private directory; determining container files accessed by container processes; generating checksum file attributes for the container files accessed by container processes; assigning the checksum and size file attributes to files' inodes; checking for identical file inodes in a common file database; copying the container files into a disk cache, if the identical inodes are found; and adding a cache redirect link to the container files in the container private directory, wherein the redirect link points to copy of a corresponding container file located on the disk cache, and wherein the container files are copied into the disk cache in a lazy mode, after frequently accessed container files that do not have cache redirect links are detected.
地址 Schaffhausen CH