The invention discloses a CPU core binding method and device for cross-
process operation, equipment and a storage medium, an eBPF
code segment is inserted in an IPC driver, the IPC driver responds to an IPC operation request to determine a thread ID of a target thread, the eBPF
code segment returns the thread ID to a
service process before the target thread is awakened, the
service process binds the target thread to a target CPU core based on the thread ID, and the target CPU core binds the target thread to the target CPU core based on the target CPU core. According to the method and the device, the IPC operation request is responded on the target CPU core, a user does not need to register a target process ID, a register does not need to be monitored to capture the process ID, and the target process does not need to be pre-judged through a
complex algorithm, so that the target thread needing to be awakened by the IPC drive in the kernel is identified through the inserted eBPF
code segment to perform the core binding operation during cross-process core binding operation; the method is suitable for CPUs of various architectures, the compatibility is good, the
algorithm is simple, the accurate thread ID can be obtained, a user does not need to obtain the thread ID, and the
user friendliness is improved.