-
公开(公告)号:US11915003B2
公开(公告)日:2024-02-27
申请号:US18459397
申请日:2023-08-31
Applicant: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY
Inventor: Kejiang Ye , Yanying Lin , Chengzhong Xu
CPC classification number: G06F9/3806 , G06N5/046
Abstract: Disclosed are a process parasitism-based branch prediction method and device for serverless computing, an electronic device, and a readable storage medium. The method includes: receiving a calling request of a user for a target function; when capacity expansion is required, scheduling a container executing the target function to a new server that has not executed the target function in a preset period of time, wherein a parasitic process is pre-added to a base image of the container; triggering the parasitic process when the container is initialized on the new server, the parasitic process being used for initiating a system call, and triggering a system kernel to select a target template function according to the type of the target function and copying the target template function N times; using execution data of the copied N target template functions as training data to train a branch predictor on the new server.