search cancel

After SGOS 6.7.x CPU monitor shows CPU 0, and the other earlier CPU cores are always running higher than the later (higher-numbered) cores


Article ID: 173914


Updated On:


ProxySG Software - SGOS


After SGOS 6.7.x when navigating under cpu monitor advanced url https://x.x.x.x:8082/Diagnostics/CPU_Monitor/Statistics , it shows CPU 0, and the other earlier CPU cores always running higher than the later (higher-numbered) cores.


This is expected behavior.

In SGOS 6.7.x application processing is evenly balanced across all cores compared to 6.6.x and older SGOS versions, where the last set core(s) were always reserved for TCP/IP (on devices that had 4 or more cores). With the new CPU task distribution algorithm implemented in SGOS 6.7.x application, the processing is distributed across all processes (no reserved core for TCP/IP). With this new task distribution algorithm, you may observe that CPU 0, and the other earlier CPU cores always have higher utilization compared to other cores.

It is normal for CPU0  (and then CPU1, CPU2, etc) to be loaded higher than the remaining higher-numbered CPUs on muti core SG/ASG/SVGA devices. This is due to the new 6.7.x algorithm used for scheduling works/tasks prefers a lower number of cores for coreOS/networking-related tasks until it becomes busy, and then starts to use the remaining CPU cores. Essentially, if CPU0 and the other earlier CPU cores have available cycles, they will continue to have preferential scheduling causing them to appear to "spike".


However, since CPU0 and the earlier CPU cores are NOT CPU bound there is no impact on end-user performance. As CPU0 and the earlier CPU cores continue to increase, some load will fall over to CPU1, then CPU2, CPU3, etc. So you will essentially see a distribution of CPU load, weighted higher for the lower number CPU numbers. But as load increases, it will essentially be evenly distributed when the SG/ASG/SVGA is placed high workload environment or when traffic volume increases. 

See the referenced CPU statistics attached.


CPU Statistics_1649428115414.txt get_app