Font Size: a A A

A Self-adaptive And High-performance Container Live Migration System

Posted on:2022-01-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y F XiongFull Text:PDF
GTID:2518306572490964Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Live migration for containers can significantly enhance the load balancing and disaster tolerance capabilities of the container cloud platform.The existing container live migration technologies use snapshot operation to save the runtime state of the container and transfer snapshot data to the destination node over the network.If the data volume of the snapshot is large,this can result in a long total migration time and downtime.To reduce the total migration time and downtime,the adaptive live migration system of containers(SACM)is designed and implemented.SACM includes three optimization schemes: adaptive snapshot compression scheme,hybrid migration scheme,and parallel migration scheme for multi-container migration scenarios.The adaptive snapshot compression scheme improves the compression rate of the snapshot by merging and then compressing the small files of the snapshot.By dynamically adjusting the acceleration factor of the compression algorithm,the matching of the compression scheme with CPU and network bandwidth resources is realized,and thus reducing the transfer time of container snapshots.Hybrid migration scheme uses snapshot to save container runtime state,uses log/replay mechanism to synchronize container memory state during migration,reduces the total migration time by precisely controlling the transmission time of the log.Besides,the parallel migration scheme accelerates the transmission of container data by dynamically adjusting the number of parallel migration containers according to the change of network bandwidth,making full use of network bandwidth resources available for migration.The experimental results show that under the same available CPU resources and network bandwidth resources,the adaptive compression scheme of SACM can reduce the amount of transmitted data by 84.9% at most and the total migration time by 26.2% at most compared with no compression scheme.And the adaptive compression scheme can reduce the amount of transmitted data by 22.2% at most and the total migration time by 14.3% at most compared with the LZ4 compression scheme.Compared with the pre-copy migration scheme,SACM reduced the migration downtime by 17.9% to 41.6% and the total migration time by 29.1% to 49.1.In the multi-container migration scenario,SACM can dynamically adjust the number of containers in parallel migration with the fluctuation of network bandwidth,which reduces the total migration time by 32.71% on average compared with the serial migration scheme.
Keywords/Search Tags:container live migration, parallel migration, self-adaptive compression, log replay
PDF Full Text Request
Related items