Patent ID: 11915003
Assignee: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 0:
1. A process parasitism-based branch prediction method for serverless computing comprising the following steps: 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, wherein the parasitic process is configured for initiating a system call, and triggering a system kernel to select a target template function according to a type of the target function and copying the target template function N times; and using execution data of the copied N target template functions as training data to train a branch predictor on the new server.