Re: [gentoo-user] what made portage go fast again?
Hello everyone! Benno Schulenberg wrote: Today the updating of the portage cache was real quick -- something like a minute, instead of the ten minutes it used to take during the past month or so. What has changed? Okay. I'm not sure what you people are talking about here. My box (portage-2.0.53_rc7) takes forever to update cache. What version are you running? -- Norberto Bensa 4544-9692 Ciudad de Buenos Aires, Argentina -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Norberto Bensa wrote: Hello everyone! Okay. I'm not sure what you people are talking about here. My box (portage-2.0.53_rc7) takes forever to update cache. What version are you running? I'm running version 2.0.51.22-r3. It has something to do with a file that it gets when it syncs I think. I have not seen a update to portage, the program itself, since it started slowing down. If you sync up it should correct itself. I may be wrong in that though. I'm just a lowly user here. You can use that du -s command I listed earlier, it helps a lot. Since you are a ways off, you may want to try a US rsync and see if that helps. I don't know how long it takes to filter it around the world. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
On Tue, 01 Nov 2005 13:07:06 +0100 Benno Schulenberg [EMAIL PROTECTED] wrote: | Today the updating of the portage cache was real quick -- something | like a minute, instead of the ten minutes it used to take during | the past month or so. What has changed? A really really dumb bit of code in Portage itself was changed. See the gentoo-portage-dev list archives if you want technical details. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgpHWB90ogx0k.pgp Description: PGP signature
Re: [gentoo-user] what made portage go fast again?
On 11/1/05, Benno Schulenberg [EMAIL PROTECTED] wrote: Today the updating of the portage cache was real quick -- somethinglike a minute, instead of the ten minutes it used to take duringthe past month or so.What has changed?Was it the r2 to r3 update on glibc-2.3.5 ?Did I emerge somethingin the meantime that Portage uses if present but does not dependupon?(lzo?)Or was a whole lot of data removed from the tree?Benno-- gentoo-user@gentoo.org mailing listHave you ran some command that caches the portage dir to memory before updating portage cache? That normally speeds up.. but then again, maybe there were changes so that the annoying problem got fixed... Fernando
Re: [gentoo-user] what made portage go fast again?
Ciaran McCreesh wrote: A really really dumb bit of code in Portage itself was changed. See the gentoo-portage-dev list archives if you want technical details. Is that the same reason it was sticking at 50% or so? If so there is a thread about it on the forums too. I hope that fixed it. My old 200MHz machine got a heck of a workout. LOL It took 30 minutes to go from 49% to 51%. The rest wasn't much better. LOL Later Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Fernando Meira wrote: Have you ran some command that caches the portage dir to memory before updating portage cache? That normally speeds up.. but then again, maybe there were changes so that the annoying problem got fixed... Fernando You been running that du -s command to huh? It does work. I really need it on my old 200MHz machine. Would you happen to know what that command does? I read the man page but it didn't help much. I'm learning though. Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
On Tue, 01 Nov 2005 06:57:59 -0600 Dale [EMAIL PROTECTED] wrote: | Ciaran McCreesh wrote: | A really really dumb bit of code in Portage itself was changed. See | the gentoo-portage-dev list archives if you want technical details. | | Is that the same reason it was sticking at 50% or so? Yup. -- Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgpMIQQYevV34.pgp Description: PGP signature
Re: [gentoo-user] what made portage go fast again?
On 11/1/05, Dale [EMAIL PROTECTED] wrote: Ciaran McCreesh wrote:A really really dumb bit of code in Portage itself was changed. See thegentoo-portage-dev list archives if you want technical details.Is that the same reason it was sticking at 50% or so?If so there is a thread about it on the forums too.I hope that fixed it.My old 200MHzmachine got a heck of a workout.LOLIt took 30 minutes to go from 49%to 51%.The rest wasn't much better.LOL Yeah.. I sync'ed portage yesterday and still took forever to finish. Although all the way is slow and painful, the worst part was indeed from 50% to 52%.. these 2% take SOO loong You say that your old 200MHz took 30m? I'd say my laptop took at least 30m yesterday to do it.. and it's a 2.4Ghz... I even think that each update gets worst and worst Fernando
Re: [gentoo-user] what made portage go fast again?
On 11/1/05, Dale [EMAIL PROTECTED] wrote: Fernando Meira wrote: Have you ran some command that caches the portage dir to memory before updating portage cache? That normally speeds up.. but then again, maybe there were changes so that the annoying problem got fixed... FernandoYou been running that du -s command to huh?It does work.I reallyneed it on my old 200MHz machine.Would you happen to know what thatcommand does?I read the man page but it didn't help much.I'm learning though.Dale The idea is to cache all files into memory so that a re-run through those files goes faster. The command du takes all files of the dir you provide to calculate the amount of space used. Of course, you could use any other command that runs through the files... :) And for the record, I did not run du on my yesterday's update, mentioned in my previous mail... :) Fernando
Re: [gentoo-user] what made portage go fast again?
Hi, On Tue, 1 Nov 2005 14:21:23 +0100 Fernando Meira [EMAIL PROTECTED] wrote: You been running that du -s command to huh? It does work. I really need it on my old 200MHz machine. Would you happen to know what that command does? I read the man page but it didn't help much. I'm learning though. The idea is to cache all files into memory so that a re-run through those files goes faster. The command du takes all files of the dir you provide to calculate the amount of space used. Of course, you could use any other command that runs through the files... :) du doesn't run through the files, just the directories. But this helps enough with filesystems that don't use sorted/weighted trees for the directory structure. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Fernando Meira wrote: Yeah.. I sync'ed portage yesterday and still took forever to finish. Although all the way is slow and painful, the worst part was indeed from 50% to 52%.. these 2% take SOO loong You say that your old 200MHz took 30m? I'd say my laptop took at least 30m yesterday to do it.. and it's a 2.4Ghz... I even think that each update gets worst and worst Fernando Try it now. I just did it and it was like a rat with a cat chasing it. It was fast. Makes me want to sync a few more times but I don't want to make them mad at me. They may ban me then. Later Dale -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Ciaran McCreesh wrote: A really really dumb bit of code in Portage itself was changed. But the last time I updated portage was three weeks ago. And only today suddenly the cache's updating lost its terrible slowness. See the gentoo-portage-dev list archives if you want technical details. Searching those archives for really dumb doesn't find anything. :) Any hint on the subject line of the relevant thread? Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Dale wrote: Fernando Meira wrote: Have you ran some command that caches the portage dir to memory before updating portage cache? That normally speeds up.. but then again, maybe there were changes so that the annoying problem got fixed... Fernando You been running that du -s command to huh? It does work. I really need it on my old 200MHz machine. Would you happen to know what that command does? I read the man page but it didn't help much. I'm learning though. Dale What is this 'du -s command' you speak of? If it makes things faster, I have to try it! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Ryan L wrote: What is this 'du -s command' you speak of? If it makes things faster, I have to try it! Since they fixed it, it may not help that much now. But if you still have trouble, du -s /var/cache/edb du -s /usr/portage emerge sync There was a explaination as to what it does earlier in this ?thread? but basically it just reads the files and loads them into memory for a while. If you have a memory hog though it may remove them if it needs the ram. I would try it without it first. It should work now. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Dale wrote: Ryan L wrote: What is this 'du -s command' you speak of? If it makes things faster, I have to try it! Since they fixed it, it may not help that much now. But if you still have trouble, du -s /var/cache/edb du -s /usr/portage emerge sync There was a explaination as to what it does earlier in this ?thread? but basically it just reads the files and loads them into memory for a while. If you have a memory hog though it may remove them if it needs the ram. I would try it without it first. It should work now. Dale :-) Yeah, I synced earlier and it took less than a minute. I'll give it a shot in a few days just to see if there is any improvement still though. Thanks. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what made portage go fast again?
Ryan L wrote: Yeah, I synced earlier and it took less than a minute. I'll give it a shot in a few days just to see if there is any improvement still though. Thanks. I just done my nightly sync, twice because the first one gave be a boo boo message, and it went so fast that I missed it. Whatever they did seems to have fixed it. I may do a net sync instead of a LAN sync on my other rigs to test this thing for sure. It usre looks promising though. Dale :-) -- To err is human, I'm most certainly human. -- gentoo-user@gentoo.org mailing list