View previous topic :: View next topic |
Author |
Message |
Mazuego Tux's lil' helper
Joined: 18 Oct 2004 Posts: 110
|
Posted: Wed Dec 01, 2004 12:01 pm Post subject: migliorare il lavoro durante la compilazione |
|
|
Salve ragazzi
scusate la domanda banale. Poichè la filosofia di Gentoo è basata sui sorgenti questo prevede molto spesso che il PC effettui delle lunghe compilazioni dei programmi a meno che non esistano già i pacchetti precompilati relativi a quei programmi che uno vuole installare.
Volevo chiedervi, che opzioni devo mettere all'interno del file
affinche io possa lavorare anche durante la compilazione senza avvertire eccessivi rallentamenti del PC grazie mille |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Wed Dec 01, 2004 12:06 pm Post subject: Re: migliorare il lavoro durante la compilazione |
|
|
Mazuego wrote: | Volevo chiedervi, che opzioni devo mettere all'interno del file
affinche io possa lavorare anche durante la compilazione senza avvertire eccessivi rallentamenti del PC |
man make.conf wrote: | PORTAGE_NICENESS = [number]
The value of this variable will be added to the current nice level that emerge is running at. In other words, this will not set the nice level, it will increment it. For more information about nice levels and what are acceptable ranges, see nice(1).
|
_________________ Ciao da me! |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Dec 01, 2004 12:07 pm Post subject: |
|
|
di solito l'unica cosa che influenza sono il livello di PORTAGE_NICENESS di portage e MAKEOPTS che sono il numero di compilazioni parallele possibili.
Di solito, a meno che tu non debba fare cose pesanti mentre compili il livello di nice non viene impostato, per i valori che potresti usare ti consiglio un'ulteriore ricerca nel forum.
Per quanto riguarda MAKEOPTS di solito viene impostato al numero di processori disponibili +1:
generalmente per un monoprocessore è:
ciao _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Mazuego Tux's lil' helper
Joined: 18 Oct 2004 Posts: 110
|
Posted: Wed Dec 01, 2004 12:18 pm Post subject: |
|
|
A chiunque gli dovesse servire, ecco cosa riportato nel sito
http://gentoo-wiki.com/
approposito del nice di make.conf
Quote: | You can set the variable PORTAGE_NICENESS in your make.conf to improve the overall responsiveness of your system while compiling heavy packages.
This variable can be assigned a positive integer between 0 and 20. The higher this number, the lower the priority of emerge jobs.
citing Gentoo Newsletter:
" If you keep using your computer while compiling packages you will notice that your box is much less responsive as usal. This is caused by having two "groups" of processes with the same nice priority: your usual running tasks on one side, and emerge (and its child processes) on the other. Now, if you could renice emerge and its children to a higher nice (i.e. lower priority!) value, compiling would inevitably take somewhat longer, but you could use your workstation without noticing much difference to its usual performance. That's what the PORTAGE_NICENESS parameter in /etc/make.conf is for... " |
grazie per la dritta |
|
Back to top |
|
|
|