View previous topic :: View next topic |
Author |
Message |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
almafer Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19076269693e90bdc99bdcd.jpg)
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 ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 ![Embarassed :oops:](images/smiles/icon_redface.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
enx89 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/138203630043f8f4042cf75.gif)
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 ![Embarassed :oops:](images/smiles/icon_redface.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 ![Embarassed :oops:](images/smiles/icon_redface.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
almafer Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/19076269693e90bdc99bdcd.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
enx89 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/138203630043f8f4042cf75.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
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. ![Wink ;)](images/smiles/icon_wink.gif) _________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
Ginko Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/10943389714088c08ad7803.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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. ![Wink ;)](images/smiles/icon_wink.gif) |
Inoltre ha senso solo se si ricompila qualcosa.
Ad ogni modo per quel che mi riguarda ho spazio a sufficienza... ![Smile :)](images/smiles/icon_smile.gif) _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
blaze_ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
enx89 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/138203630043f8f4042cf75.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
bsolar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/806967053f23f4aede2da.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Yans Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/166051203240cc771611114.jpg)
Joined: 09 Feb 2003 Posts: 171 Location: [TI] Switzerland
|
Posted: Sat Apr 12, 2003 10:32 am Post subject: |
|
|
molto interessante ![Wink :wink:](images/smiles/icon_wink.gif) _________________ ¿ 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 |
|
![](templates/gentoo/images/spacer.gif) |
|