View previous topic :: View next topic |
Author |
Message |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Apr 09, 2003 12:06 pm Post subject: OMG ccache spacca! O_O |
|
|
Capperi!
Ho ricompilato la mia bzImage dopo aver cambiato un paio di opzioni e non ci ha messo minuti, ma secondi ! _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
almafer Guru


Joined: 21 Mar 2003 Posts: 317 Location: Firenze
|
Posted: Wed Apr 09, 2003 12:15 pm Post subject: |
|
|
come è possibile ciò? non ho capito neanche il titolo  |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Apr 09, 2003 12:22 pm Post subject: |
|
|
almafer wrote: | come è possibile ciò? non ho capito neanche il titolo  |
http://ccache.samba.org/ <- potrebbe interessarti. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
enx89 Apprentice


Joined: 21 Mar 2003 Posts: 192 Location: Milano
|
Posted: Wed Apr 09, 2003 12:35 pm Post subject: |
|
|
bsolar wrote: | almafer wrote: | come è possibile ciò? non ho capito neanche il titolo  |
http://ccache.samba.org/ <- potrebbe interessarti. |
Ho guardato il sito, e mi sembra MOOOOLTO interessante .
3 domande:
1.Come lo hai usato? Hai fatto i link simbolici o hai modificato il makefile?
2.Potrebbe essere utile utilizzarlo per qualsiasi installazione con emerge?
3.c'è nell' albero di portage?
ENx |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Apr 09, 2003 12:37 pm Post subject: |
|
|
enx89 wrote: | bsolar wrote: | almafer wrote: | come è possibile ciò? non ho capito neanche il titolo  |
http://ccache.samba.org/ <- potrebbe interessarti. |
Ho guardato il sito, e mi sembra MOOOOLTO interessante .
3 domande:
1.Come lo hai usato? Hai fatto i link simbolici o hai modificato il makefile?
2.Potrebbe essere utile utilizzarlo per qualsiasi installazione con emerge?
3.c'è nell' albero di portage?
ENx |
L'ho emerso:
e gli ho settato la cache:
Code: | # ccache -M[dimensione] |
_________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
almafer Guru


Joined: 21 Mar 2003 Posts: 317 Location: Firenze
|
Posted: Wed Apr 09, 2003 12:42 pm Post subject: |
|
|
grazie del link,stasera me lo leggo con calma,ciao |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Apr 09, 2003 12:50 pm Post subject: |
|
|
Mi puoi spiegare?
Se non erro non e' altro che una cache per cose gia' compilate. Giusto? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
enx89 Apprentice


Joined: 21 Mar 2003 Posts: 192 Location: Milano
|
Posted: Wed Apr 09, 2003 2:34 pm Post subject: |
|
|
Quote: | Code: | # ccache -M[dimensione] |
|
Che dimensione gli hai dato? giusto per avere un idea. |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Apr 09, 2003 2:40 pm Post subject: |
|
|
cerri wrote: | Mi puoi spiegare?
Se non erro non e' altro che una cache per cose gia' compilate. Giusto? |
Gia, gli ho dato 2GB e funziona... se ricompilo roba lui non sta a ricalcolare tutto ma piglia la pappa già pronta dalla cache...
Credo più gli dai meglio è. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Apr 09, 2003 3:24 pm Post subject: |
|
|
Ok. Ma e' da decidere se e' meglio avere spazio o tempo CPU.  _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
Ginko Guru


Joined: 01 May 2002 Posts: 371 Location: nearby my linux laptop
|
Posted: Wed Apr 09, 2003 4:06 pm Post subject: |
|
|
bsolar wrote: | se ricompilo roba lui non sta a ricalcolare tutto ma piglia la pappa già pronta dalla cache...
Credo più gli dai meglio è. |
E' un
senza lo svantaggio del clean. Giusto? Idea semplice e geniale
--Gianluca |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Wed Apr 09, 2003 6:22 pm Post subject: |
|
|
cerri wrote: | Ok. Ma e' da decidere se e' meglio avere spazio o tempo CPU.  |
Inoltre ha senso solo se si ricompila qualcosa.
Ad ogni modo per quel che mi riguarda ho spazio a sufficienza...  _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Wed Apr 09, 2003 7:28 pm Post subject: |
|
|
Eppur ti odio. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
blaze_ n00b


Joined: 16 Mar 2003 Posts: 36 Location: Milan, Italy
|
Posted: Wed Apr 09, 2003 7:33 pm Post subject: |
|
|
ho provato anche io, mamma mia, e' veramente impressionante :) _________________ Lino |
|
Back to top |
|
 |
enx89 Apprentice


Joined: 21 Mar 2003 Posts: 192 Location: Milano
|
Posted: Fri Apr 11, 2003 9:55 pm Post subject: |
|
|
Gianluca Rotoni wrote: | bsolar wrote: | se ricompilo roba lui non sta a ricalcolare tutto ma piglia la pappa già pronta dalla cache...
Credo più gli dai meglio è. |
E' un
senza lo svantaggio del clean. Giusto? Idea semplice e geniale
--Gianluca |
Ok, ma ho ancora un dubbio:
quando, per esempio, ricompilo il kernel, il lo devo fare?
ENx |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri Apr 11, 2003 9:59 pm Post subject: |
|
|
enx89 wrote: | Gianluca Rotoni wrote: | bsolar wrote: | se ricompilo roba lui non sta a ricalcolare tutto ma piglia la pappa già pronta dalla cache...
Credo più gli dai meglio è. |
E' un
senza lo svantaggio del clean. Giusto? Idea semplice e geniale
--Gianluca |
Ok, ma ho ancora un dubbio:
quando, per esempio, ricompilo il kernel, il lo devo fare?
ENx |
Si (se serve). ccache sfrutterà i dati nella sua cache automaticamente se capirà che può farlo (o almeno dovrebbe...) _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
Yans Apprentice


Joined: 09 Feb 2003 Posts: 171 Location: [TI] Switzerland
|
Posted: Sat Apr 12, 2003 10:32 am Post subject: |
|
|
molto interessante  _________________ ¿ Which do ARMS obtain, the peace in the future or the nightmare in the past ?
"There are only 10 types of people in the world: Those who understand binary, and those who don't" |
|
Back to top |
|
 |
|