Re: risvegliarre un processo dal sonno
Francesco Potortì ha scritto:
> Davide Prina ha scritto:
>> Puoi verificare questo vedendo l'andamento dello swap, magari creando un
>> piccolo script che ogni pochi secondi ti salva su un file il risultato
>> del comando free.
> Lo guardo in tempo reale con top quando firefox si sveglia: free cambia molto poco, ed è ben lontano dal limite:
>
> top - 09:02:37 up 116 days, 18:28, 1 user, load average: 51.06, 16.62, 6.45
> Tasks: 464 total, 3 running, 460 sleeping, 0 stopped, 1 zombie
> %Cpu(s): 11.8 us, 4.1 sy, 0.1 ni, 83.3 id, 0.6 wa, 0.0 hi, 0.1 si, 0.0 st
> MiB Mem : 23902.9 total, 9254.7 free, 10125.5 used, 3303.3 buff/cache
> MiB Swap: 28456.0 total, 15457.8 free, 12998.2 used. 13777.4 avail Mem
ma stai usando davvero tanto swap 13 GB di swap, quando hai quasi
altrettanta RAM non usata.
Io agirei sullo swappiness
Comunque avere processi che occupano 23 GB di RAM/swap mi sembra
davvero eccessivo.
> Per teoria ed esperienza nice ha senso solo per processi batch, cioè che lavorano molto a lungo in background. Mai ottenuto alcun risultato per ridurre picchi di utilizzo. Ma magari un giorno proverò anche questo.
io invece ho ottenuto buoni risultati anche su programmi che per vari
motivi andavano ad usare troppa CPU in alcuni casi rendendo il sistema
inusabile.
Ciao
Davide
--
La mia privacy non è affar tuo
https://noyb.eu/it
- You do not have my permission to use this email to train an AI -
If you use this to train your AI than you accept to distribute under AGPL
license >= 3.0 all the model trained, all the source you have used to
training your model and all the source of the program that use that model
Reply to: