Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
migliorare il lavoro durante la compilazione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Mazuego
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2004
Posts: 110

PostPosted: Wed Dec 01, 2004 12:01 pm    Post subject: migliorare il lavoro durante la compilazione Reply with quote

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
Code:
make.conf

affinche io possa lavorare anche durante la compilazione senza avvertire eccessivi rallentamenti del PC :?: grazie mille
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Dec 01, 2004 12:06 pm    Post subject: Re: migliorare il lavoro durante la compilazione Reply with quote

Mazuego wrote:
Volevo chiedervi, che opzioni devo mettere all'interno del file
Code:
make.conf

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
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Wed Dec 01, 2004 12:07 pm    Post subject: Reply with quote

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 è:
Code:
MAKEOPTS="-j2"



ciao :)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Mazuego
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2004
Posts: 110

PostPosted: Wed Dec 01, 2004 12:18 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum