The invention discloses a
system certainty enhancement method, which comprises the following steps of: S1, defining a core judgment reference: defining a key CPU (
Central Processing Unit) and a key real-time task, detecting the ready states of the key CPU and the key real-time task, and if the ready states exist, triggering a periodic forced scheduling mechanism; s2, deterministic transformation of a scheduler:
cutting unnecessary paths, simplifying a user mode preemptive path, and providing an SMP forced scheduling mechanism and a silent background thread; step S3, real-time interrupt
processing: key interrupt is set as a high priority, a key CPU is isolated, the bottom half part is limited, and a periodic forced scheduling mechanism is activated; step S4,
protocol stack determinacy transformation: optimization is carried out from four aspects of NAPI
polling, congestion fragmentation, Qdisk
delay and
filtering rules; step S5, priority
signal processing; and step S6, deterministic transformation of the container: releasing CGroup limitation, binding a key CPU, forbidding NAT and port mapping, using a native IO and closing a non-core
daemon process.