CPU/Memory Rate Limit
From PicOS 2.6, we added the CPU rate limit for processes of PicOS. Including pica_lcmgr, pica_sif, and ovs-vswitchd.
Summary:
- The default CPU usage is 40% if not provided, and default memory size is 150 MB.
- The warning message will be printed if the memory size is bigger than the default value.
- The CPU limitation is based on all CPU's on the system. If the system CPU is P2020 dual cores, 40% CPU limitation is equal to 80% single CPU.
Running CPU/memory rate limit tools manually as follows:
sudo /pica/bin/system/tools/pica_monitor -v -c 40 -m 150 pica_lcmgr
Checking CPU/memory rate limit tools as follows:
admin@XorPlus$ps -aux | grep pica_monitor warning: bad ps syntax, perhaps a bogus '-'? See http://gitorious.org/procps/procps/blobs/master/Documentation/FAQ root 3420 0.6 0.7 38944 3896 ? S<l Apr07 3:42 /pica/bin/system/tools/pica_monitor -c 40 -m 150 pica_lcmgr admin 26490 0.0 0.1 2128 688 pts/0 S+ 03:26 0:00 grep --color=auto pica_monitor admin@XorPlus$
Copyright © 2024 Pica8 Inc. All Rights Reserved.