Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bug del portage?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Nov 20, 2005 8:26 pm    Post subject: Reply with quote

xoen wrote:
Anche io, come tutti a quanto ho capito, ho questo problema fastidioso del sync lentissimo che si inchioda al 50% dell'aggiornamento della cache. Ma è un problema dovuto alla "vecchiaia" di un'intallazione gentoo?

non penso. l'ho visto fare a macchine nuove e vecchie.
solo su macchine con file system particolarmente "tuned" non ho notato questa cosa, quindi presumo che portage risenta del collo di bottiglia rappresentato dal disco

d'altronde...
il mio pc di casa wrote:
melkor distfiles # rm -rf *
melkor distfiles # cd ../
melkor portage # find | wc
131794 131794 5307303
melkor portage # du -sh
474M .

...474 MB su 131794 file non è poca roba
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Mon Nov 21, 2005 3:37 am    Post subject: Reply with quote

Non ho mai pensato che fosse un bug!!

L'ho sempre presa come una cosa normale...
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Mon Nov 21, 2005 4:48 pm    Post subject: Reply with quote

non credo dipenda da dischi/fs: ho fatto qualche test su ram e la differenza è trascurabile.
considerato che il procio sta fisso al 100%, sono propenso a credere che il processo sia CPU-bound piuttosto che IO-bound.

non si tratta di un bug, semmai di un problema prestazionale legato a formato dati e/o algoritmo utilizzati per generare la cache locale.
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


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

PostPosted: Thu Dec 22, 2005 11:40 am    Post subject: Reply with quote

Gioia e gaudio: con il nuovo portage
Code:
*  sys-apps/portage
      Latest version available: 2.0.53
      Latest version installed: 2.0.53
      Size of downloaded files: 229 kB
      Homepage:    http://www.gentoo.org/
      Description: The Portage Package Management System. The primary package management and distribution system for Gentoo.
      License:     GPL-2

il problema del rallentamento al 50% è stato risolto...

Qui ci sono altre info riguardanti in particolare emaint il nuovo tool per il controllo della correttezza dei file di portage In questa release portage è molto pignolo e non gradisce di avere installati pacchetti ~x86 e di non avere la relativa voce in package.keryword o cmq altre cose poco pulite. Quindi, onde evitare di incasinare la vostra linux box vi consiglio di passare in rassegna tutti i pacchetti che
Code:
emaint -c world
vi segnalerà.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Dec 22, 2005 12:08 pm    Post subject: Reply with quote

io ho quella versione del portage da un po e il bug c'è sempre!
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
thewally
l33t
l33t


Joined: 12 May 2005
Posts: 703
Location: Genova

PostPosted: Thu Dec 22, 2005 12:16 pm    Post subject: Reply with quote

ProT-0-TypE wrote:
io ho quella versione del portage da un po e il bug c'è sempre!


Prova utizzando cdb, mi sembra meno rischioso che utilizzare una versione instabile di portage :wink:
Inoltre cdb ha risolto brillantemente il problema sia sul mio laptop che sul desktop. :D
_________________
Proudly Member of GeCHI
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


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

PostPosted: Thu Dec 22, 2005 12:26 pm    Post subject: Reply with quote

prima di passare a soluzioni che richiedono la modifica di portage io proverei a controllare con emaint se i tuoi files son tutti a posto...
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Dec 22, 2005 12:58 pm    Post subject: Reply with quote

ho controllato il world un bel po di volte, uso quella versione del portage già da un po :)

Comunque c'è pure scritto nel post che hai linkato, i problemi della cache dovrebbero essere risolti dalla prossima versione (2.1)
_________________
[Vuoi guadagnare navigando?]
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Thu Jan 05, 2006 9:39 am    Post subject: Updating Cache di 15 minuti Reply with quote

Ragazzi forse sono rimasto fuori troppo tempo ma mi pare che un update cache di un emerge sync non duri + di 2 3 minuti al massimo... a me ci mette 15 minuti.
Ho riemerso python e portage...
Non mi viene altro in mente.
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
PboY
Apprentice
Apprentice


Joined: 02 Feb 2005
Posts: 238
Location: Italia - Monza

PostPosted: Thu Jan 05, 2006 9:49 am    Post subject: Reply with quote

se ti tranquillizza stanotte lo ha fatto pure a me ...
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Jan 05, 2006 10:06 am    Post subject: Reply with quote

15 minuti? sei anche fortunato.... a me sta delle mezz'ore col processore al 100%.
è un problema noto di portage, dovuto, credo, al gran numero di ebuild che ci sono. ci stanno lavorando su e per le prossime versioni di portage dovrebbe essere risolto. se cerchi ci sono dei post a riguardo

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Jan 05, 2006 10:47 am    Post subject: Reply with quote

[MOD]
Fatto il merge del thread aperto da koma con questo. Ragazzi, cerchiamo prima di postare, thx ;)
[/MOD]
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Sat Jan 07, 2006 9:18 pm    Post subject: Reply with quote

Veramente da poco prima di natale c'è il sys-apps/portage-2.1_pre3-r1 che fila che è una scheggia (update in 1 minuto circa). Naturalmente è in testing per tutte le piattaforme ma per chi è una ~ARCH è uno splendido regalo di natale :)

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
Sparker
l33t
l33t


Joined: 28 Aug 2003
Posts: 992

PostPosted: Sun Jan 08, 2006 12:45 pm    Post subject: Reply with quote

Le soluzioni al problema sono due:
1 - usare la "beta" di portage 2.1, che usa un nuovo sistema di caching, molto più veloce
2 - usare cdb, che è molto più veloce persino di portage-2.1...

Io ho utilizzato sia cdb che portage-2.1 (ma non riesco a farli funzionare assieme) e mio consiglio è:
usate cdb, è abbastanza facile da installare, è veramente una scheggia e non rischiate i problemi legati ad un portage instabile
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Fri Jan 27, 2006 7:52 pm    Post subject: [Updating Portage cache 90 minuti] [AGGIRATO] Reply with quote

Ogni volta che faccio un emerge sync ci mette anche 2 ore per aggiorare la cache del portage non mi sembra normale qualcuno ha una qualche idea?
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD


Last edited by koma on Fri Jan 27, 2006 8:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
BikE
Guru
Guru


Joined: 21 Dec 2004
Posts: 455
Location: Genova

PostPosted: Fri Jan 27, 2006 8:10 pm    Post subject: Reply with quote

A me si ferma per tipo 3-4 minuti al 52%... ma non saprei dirti nulla in merito...
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Jan 27, 2006 8:13 pm    Post subject: Reply with quote

Stavo già per chiudere il thread.. leggendo melgio però noto "2 ore"
È un'iperbole o veramente ci impiega 2 ore?
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Fri Jan 27, 2006 8:16 pm    Post subject: Reply with quote

Non è un'iperbole ci mette due ore
con questo HOWTO si velocizza ma non sono l'unico caso ho trovato un thread di 9 pagine con un sacco di persone che se ne lamentano non so cosa pensare.
https://forums.gentoo.org/viewtopic-t-261580-postdays-0-postorder-asc-start-0.html

Tenete presente che su una macchina identica a questa con quell'howto fa il cache in 30 secondi sulla mia comunque 3 - 4 minuti certo è molto meglio ma si può fare di più no?
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD


Last edited by koma on Fri Jan 27, 2006 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Fri Jan 27, 2006 8:17 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-261580-highlight-edb.html

Fai quel che dice e dovrebbe andare decisamente meglio :wink:
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Jan 27, 2006 8:18 pm    Post subject: Reply with quote

ma che macchina è? 2 ore sono oggettivamente troppe
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Fri Jan 27, 2006 8:19 pm    Post subject: Reply with quote

Pentium M 1800 1 gb ram
(nemmeno una merdina se si vuole eh?)
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
vcam
n00b
n00b


Joined: 20 Sep 2003
Posts: 39
Location: Milano prov.

PostPosted: Fri Jan 27, 2006 8:20 pm    Post subject: Reply with quote

A me, con un PIII - 866, ci mette come minimo 30 minuti per completare l'operazione.
Va decisamente meglio con un P4 - 3.2 64 bit, al massimo 5 minuti.

Le cifre sono prese a spanne, ma se serve cronometriamo ok? (anche se spero di no, perchè è già angosciante così).

Bye Vcam
Back to top
View user's profile Send private message
Inventore1
n00b
n00b


Joined: 24 Mar 2005
Posts: 24
Location: Rovereto (TN)

PostPosted: Fri Jan 27, 2006 8:45 pm    Post subject: Reply with quote

il metodo del thread segnalato funziona benissimo sulle macchine non recenti (sono passato da un'ora a 7 minuti su un k6 500mhz) ma sul mio amd64 3000+ rallenta tutto.... :twisted:
_________________
Inventore1
Back to top
View user's profile Send private message
grentis
Guru
Guru


Joined: 20 Jul 2004
Posts: 321

PostPosted: Fri Jan 27, 2006 9:23 pm    Post subject: Reply with quote

Beati voi...io con pentium II meno di 2 ore non ci penso neanche...

proverò a vedere la soluzione del link :)
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Jan 28, 2006 12:03 am    Post subject: Reply with quote

io una soluzione l'ho trovata.

a rischio e pericolo di chi voglia percorrere questa strada: il nuovo portage (versione 2.1, attualmente in testing) risolve questo problema molto brillantemente.
mi rendo conto che installare softare in testing a volte potrebbe essere un azzardo. trattandosi si portage stesso lo è eccome, eppure la nuova versione non soffre più di questo problema. provato sulla mia pelle: un UltraSPARC IIi a 330 MHz con portage 2.1 è più veloce di un Pentium-III 600 MHz con portage 2.0

a voi la scelta
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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