Discussione: Linux e gestione Core
View Single Post
Old 15-05-2024, 11:13   #9
fabius21
Senior Member
 
Iscritto dal: Jan 2008
Messaggi: 1702
Quote:
Originariamente inviato da gabmac2 Guarda i messaggi
grazie
cosa intendi per "isolare i core"?
un comando che impedisce al so, di assegnare quei core da compiti del sistema operativo

Codice:
 isolcpus=       [KNL,SMP] Isolate CPUs from the general scheduler.
                        The argument is a cpu list, as described above.

                        This option can be used to specify one or more CPUs
                        to isolate from the general SMP balancing and scheduling
                        algorithms. You can move a process onto or off an
                        "isolated" CPU via the CPU affinity syscalls or cpuset.
                        <cpu number> begins at 0 and the maximum value is
                        "number of CPUs in system - 1".

                        This option is the preferred way to isolate CPUs. The
                        alternative -- manually setting the CPU mask of all
                        tasks in the system -- can cause problems and
                        suboptimal load balancer performance.
https://www.kernel.org/doc/html/v4.1...arameters.html
Estratto da qui.

Poi volendo puoi disabilitare il ticking io sul pc che uso per le vm ho impostato questi nel cmdcommand (il tick è inteso come il monitoraggio del core, o la sincronia per l'uso in concorrenza del core con più processi.

isolcpus=2-7 nohz_full=2-7 rcu_nocbs=2-7

Ultima modifica di fabius21 : 15-05-2024 alle 11:22.
fabius21 è offline   Rispondi citando il messaggio o parte di esso