Re: On-the-fly throttle of CPU consumption of a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi sunhux and Cameron,

Sending SIGSTOP and SIGCONT signals to the process should work but be careful with process-to-process coordination. For example, the software could be  written in a way that one process periodically talks to another, and if it can't, it aborts the application to avoid data corruption.

BTW, when there's no other process using CPU, why do you not allow this renice'd process to use all? You just don't want to be bothered by the alert?

You can use taskset to set a process's CPU affinity.

Yong Huang


      

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux