Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gestire quantità del processore in fase di 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
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Tue Apr 15, 2008 4:24 pm    Post subject: gestire quantità del processore in fase di compilazione Reply with quote

salve, esiste un modo per poter gestire l'uso del processore durante la compilazione?
vorrei che la compilazione si "prendesse" tutto il processore solo se il sistema non sta facendo altro.
spero di essere stato chiaro
grazie
angelo
_________________
manang
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Apr 15, 2008 4:34 pm    Post subject: Reply with quote

8O:?::?::?::wink::wink::twisted::twisted::twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Tue Apr 15, 2008 5:45 pm; edited 8 times in total
Back to top
View user's profile Send private message
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Tue Apr 15, 2008 4:38 pm    Post subject: Reply with quote

non sono stato chiaro...come doso il processore tra i vari processi?grazie
voglio compilare in background
_________________
manang
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Apr 15, 2008 5:34 pm    Post subject: Reply with quote

informati sul comando
Code:
nice
sotto *nix e poi guarda nel file di esempio del make.conf, make.conf.$qualcosa si dovrebbe chiamare, ci dovrebbe essere un'opzione relativa al nice sempre.

Altrimenti compila di notte e vadaviaiciapett...
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Tue Apr 15, 2008 5:41 pm    Post subject: Reply with quote

/etc/make.conf.example wrote:
# PORTAGE_NICENESS provides a default increment to emerge's niceness level.
# Note: This is an increment. Running emerge in a niced environment will
# reduce it further. Default is unset.
#PORTAGE_NICENESS=3

_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
riverdragon
Veteran
Veteran


Joined: 14 Sep 2006
Posts: 1269
Location: Verona

PostPosted: Wed Apr 16, 2008 8:26 am    Post subject: Reply with quote

E comunque djinnz si diverte a mettere degli emoticon che in realtà sono dei link, dacci un'occhiata. :)
Back to top
View user's profile Send private message
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Wed Apr 16, 2008 9:34 am    Post subject: Reply with quote

forte:) grazie mille a tutti...
[ot]notavo il link alla pubblicità della vigorsol...dici che se digito emerge vigorsol comincia a fare così anche il mio pc?[/ot]
_________________
manang
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Apr 16, 2008 9:58 am    Post subject: Reply with quote

riverdragon wrote:
E comunque djinnz si diverte a mettere degli emoticon che in realtà sono dei link, dacci un'occhiata.
In segno di lutto per il risultato elettorale dello gnomo pelato dovrei astenermi per qualche giorno, mentre per la gioia della sconfitta del mortadella, del cicoria, del fausto e compagni dovrei festeggiare.
Combattuto tra le due opzioni ho pensato di esprimermi a gesti nella realtà e per emoticons e link sul forum.
E poi di quando in quando mi potrò pure divertire? :twisted:

traduzione (incattivita):
8O - ma tu guarda questo...
:?: - forse con nice, mai letto il manuale? ... RTFM
:?: - anche se portage prevede qualcosa... ri-RTFM
:?: - ovviamente, hai provato una ricerca?! Mi sa di no, UTFG (per inciso a me è dal settimo link che le cose si fanno interessanti)
:wink: - va, ti rispondo lo stesso prova verynice che è in portage
:wink: - oppure prova and
:twisted: - risata satanica e link in tema del genere attento a non fare stà fine ma anche perché bastardodentro lo sono
:twisted: - ecco perchè
:twisted:

Dicesi estremizzazione della sintesi, ed il tutto senza stuprare la lingua italiana. :mrgreen:

@manang: In ogni caso se ne è già parlato, primo non serve a nulla, se il computer non è impegnato è inutile che l'unico processo attivo abbia priorità massima, secondo per personalizzare opportunamente verynice o and diventi vecchio, tutto per guadagnare una manciata di minuti quando affronti i pachidermi (ooo, kde/gnome monolitico, firefox, gtk+wxgtk e simili).
Se vuoi velocizzare effettivamente la compilazione in background limita la verbosità di emerge.
Oppure non ho capito un cavolo di quel che vuoi ergo... solita prece per la nostra vituperata lingua madre, ovvero spiegati meglio.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Wed Apr 16, 2008 10:15 am; edited 2 times in total
Back to top
View user's profile Send private message
manang
Apprentice
Apprentice


Joined: 09 Oct 2006
Posts: 245

PostPosted: Wed Apr 16, 2008 10:03 am    Post subject: Reply with quote

nulla, siccome compilo kde4 svn, allora capita che non posso vedere nemmeno un video su youtube perchè le risorse sono prese dal processo di compilazione...
in pratica non è per guadagnare tempo, anzi, in questo modo dovrei allungarlo....vorrei che il mio computer sia "multitask" anche quando compila...nel senso che posso usarlo senza troppi problemi di rallentamento per mezzo della compilazione
grazie
_________________
manang
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Apr 16, 2008 10:16 am    Post subject: Reply with quote

Creati due configurazioni alternative di verynice, una con il gcc, moc e quant'altro, a bassa priorità ed una con il gcc ad alta priorità ed imposta il portage_niceness basso, quando lasci il computer a lavorare cambi profilo e se la vede lui.
Altre soluzioni non ne ho.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
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