* [gentoo-user] content of /usr/portage/distfile
@ 2006-05-24 14:26 JC Denton
2006-05-24 14:35 ` Raymond Lewis Rebbeck
` (4 more replies)
0 siblings, 5 replies; 19+ messages in thread
From: JC Denton @ 2006-05-24 14:26 UTC (permalink / raw
To: gentoo user
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
Hi!
May be it is a stupid question, but can I remove the content of
/usr/portage/distfile/ without problems? This file has a size of 1.5 GB ! I would like to have some space back ;)
JC
---------------------------------
Mails löschen war gestern: Yahoo! Mail jetzt mit 1GB kostenlosem Speicher.
[-- Attachment #2: Type: text/html, Size: 389 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
@ 2006-05-24 14:35 ` Raymond Lewis Rebbeck
2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
` (3 subsequent siblings)
4 siblings, 0 replies; 19+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-05-24 14:35 UTC (permalink / raw
To: gentoo-user
On Wednesday, 24 May 2006 23:56, JC Denton wrote:
> Hi!
>
> May be it is a stupid question, but can I remove the content of
> /usr/portage/distfile/ without problems? This file has a size of 1.5 GB !
> I would like to have some space back ;)
>
> JC
Yes you may safely remove anything that you no longer need or want
from /usr/portage/distfiles/ If anything you deleted is later required by
portage it will be downloaded automatically.
--
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
2006-05-24 14:35 ` Raymond Lewis Rebbeck
@ 2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
2006-05-24 14:47 ` JC Denton
2006-05-24 14:40 ` Ptitjack
` (2 subsequent siblings)
4 siblings, 1 reply; 19+ messages in thread
From: Raphael Melo de Oliveira Bastos Sales @ 2006-05-24 14:37 UTC (permalink / raw
To: gentoo-user
I think you meant /usr/portage/distfiles, right? Yes, you can remove
them. They are the source archives of the packages you've installed.
But, if you need to reemerge any of your packages, you'll have to
download it again.
PS.: JC Denton is from Deus Ex?
On 5/24/06, JC Denton <jcdentonmail@yahoo.de> wrote:
> Hi!
>
> May be it is a stupid question, but can I remove the content of
> /usr/portage/distfile/ without problems? This file has a size of 1.5 GB ! I
> would like to have some space back ;)
>
> JC
>
>
> ________________________________
> Mails löschen war gestern: Yahoo! Mail jetzt mit 1GB kostenlosem Speicher .
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
2006-05-24 14:35 ` Raymond Lewis Rebbeck
2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
@ 2006-05-24 14:40 ` Ptitjack
2006-05-24 14:44 ` Neil Bothwick
2006-05-24 14:52 ` znx
4 siblings, 0 replies; 19+ messages in thread
From: Ptitjack @ 2006-05-24 14:40 UTC (permalink / raw
To: gentoo-user
JC Denton a gentiment tapote:
> Hi!
>
> May be it is a stupid question, but can I remove the content of
> /usr/portage/distfile/ without problems? This file has a size of 1.5
> GB ! I would like to have some space back ;)
>
> JC
>
> ------------------------------------------------------------------------
> Mails löschen war gestern: Yahoo! Mail jetzt mit 1GB kostenlosem
> Speicher
> <http://de.rd.yahoo.com/evt=39056/*http://de.benefits.yahoo.com>.
Hi,
Yes, no problem.
However, if you have to re-emerge a package, you'll have to re-download it.
Regards.
- Ptitjack -
^
^^^
^^^^^
( 0 0 )
\/
-----0000----------0000-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
` (2 preceding siblings ...)
2006-05-24 14:40 ` Ptitjack
@ 2006-05-24 14:44 ` Neil Bothwick
2006-05-24 14:52 ` znx
4 siblings, 0 replies; 19+ messages in thread
From: Neil Bothwick @ 2006-05-24 14:44 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 637 bytes --]
On Wed, 24 May 2006 16:26:43 +0200 (CEST), JC Denton wrote:
> May be it is a stupid question, but can I remove the content of
> /usr/portage/distfile/ without problems? This file has a size of 1.5
> GB ! I would like to have some space back ;)
Yes you can, but it may mean you have to download files again if you
install minor updates to existing packages. You can use eclean, in the
latest gentoolkit, to remove only files that no longer belong to
installed packages.
--
Neil Bothwick
BBS: (n.) a system for connecting computers and exchanging gossip,
facts, and uninformed speculation under false names.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
@ 2006-05-24 14:47 ` JC Denton
0 siblings, 0 replies; 19+ messages in thread
From: JC Denton @ 2006-05-24 14:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 917 bytes --]
Yes! I think it is a great game.
Raphael Melo de Oliveira Bastos Sales <raphael.melo21@gmail.com> schrieb: I think you meant /usr/portage/distfiles, right? Yes, you can remove
them. They are the source archives of the packages you've installed.
But, if you need to reemerge any of your packages, you'll have to
download it again.
PS.: JC Denton is from Deus Ex?
On 5/24/06, JC Denton wrote:
> Hi!
>
> May be it is a stupid question, but can I remove the content of
> /usr/portage/distfile/ without problems? This file has a size of 1.5 GB ! I
> would like to have some space back ;)
>
> JC
>
>
> ________________________________
> Mails löschen war gestern: Yahoo! Mail jetzt mit 1GB kostenlosem Speicher .
>
>
--
gentoo-user@gentoo.org mailing list
---------------------------------
Mit Yahoo! Mail SpamGuard lesen Sie nur die Mails, die Sie auch wirklich lesen wollen.
[-- Attachment #2: Type: text/html, Size: 1262 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
` (3 preceding siblings ...)
2006-05-24 14:44 ` Neil Bothwick
@ 2006-05-24 14:52 ` znx
2006-05-24 20:52 ` Alex
2006-05-25 0:00 ` Philip Webb
4 siblings, 2 replies; 19+ messages in thread
From: znx @ 2006-05-24 14:52 UTC (permalink / raw
To: gentoo-user
Hi,
There is a utility called "eclean" which is meant for the purpose ..
http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
Hope this helps
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 20:52 ` Alex
@ 2006-05-24 19:49 ` Allan Gottlieb
2006-05-24 23:24 ` Alex
2006-05-24 20:45 ` Richard Fish
1 sibling, 1 reply; 19+ messages in thread
From: Allan Gottlieb @ 2006-05-24 19:49 UTC (permalink / raw
To: gentoo-user
At Wed, 24 May 2006 20:52:21 +0000 Alex <sohalt@gmail.com> wrote:
> Hi,
>
> znx wrote:
>> http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
>
> > Using CFLAGS="-Os" or CFLAGS="-O2" is much more effective on
> > a desktop system and can shave off more than 30% of the size. This is
> > because larger binaries (like the HUGE ones produced by -O3)
> > take longer to load, and occupy more RAM.
>
> Is that always true? I mean, I'm not loading and unloading
> applications the whole time. Additionally I've enough RAM for all
> applications I use and so I can't imagine that (on my computer with my
> use) applications, which are slower and smaller, can be faster than
> applications which are bigger and faster.
Often the bigger problem with large binaries is that their working
sets exceeds the sizes of the L1 and (possibly) L2 caches. So, you
may well be right that your gigabytes of RAM greatly reduce disk
access to load and demand page applications, you may still get a
slowdown due to cache misses. Central memory, which is the fast &
small storage when considering demand paging, is the large but slow
storage when considering caching.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 20:52 ` Alex
2006-05-24 19:49 ` Allan Gottlieb
@ 2006-05-24 20:45 ` Richard Fish
1 sibling, 0 replies; 19+ messages in thread
From: Richard Fish @ 2006-05-24 20:45 UTC (permalink / raw
To: gentoo-user
On 5/24/06, Alex <sohalt@gmail.com> wrote:
> > Using CFLAGS="-Os" or CFLAGS="-O2" is much more effective on
> > a desktop system and can shave off more than 30% of the size. This is
> > because larger binaries (like the HUGE ones produced by -O3)
> > take longer to load, and occupy more RAM.
>
> Is that always true? I mean, I'm not loading and unloading applications
> the whole time. Additionally I've enough RAM for all applications I use
> and so I can't imagine that (on my computer with my use) applications,
> which are slower and smaller, can be faster than applications which are
> bigger and faster.
It depends entirely on the application and processor. Compared to -O2,
somethings are faster with -Os and some things are slower. Same with
-O3. It can even depend upon the options given to an app, for example
bzip2 -9 will be faster with one level of optimization than with
another, while bzip2 -1 can give the complete opposite results.
I chose -Os for my system, but only after testing the things that I
care most about (compression, dm-crypt encryption, some media
encoding) to see what was best overall. But even that was a
comprimise, and the real deciding factor was that it took a lot less
time to compile with -Os compared to -O3.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:52 ` znx
@ 2006-05-24 20:52 ` Alex
2006-05-24 19:49 ` Allan Gottlieb
2006-05-24 20:45 ` Richard Fish
2006-05-25 0:00 ` Philip Webb
1 sibling, 2 replies; 19+ messages in thread
From: Alex @ 2006-05-24 20:52 UTC (permalink / raw
To: gentoo-user
Hi,
znx wrote:
> http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
> Using CFLAGS="-Os" or CFLAGS="-O2" is much more effective on
> a desktop system and can shave off more than 30% of the size. This is
> because larger binaries (like the HUGE ones produced by -O3)
> take longer to load, and occupy more RAM.
Is that always true? I mean, I'm not loading and unloading applications
the whole time. Additionally I've enough RAM for all applications I use
and so I can't imagine that (on my computer with my use) applications,
which are slower and smaller, can be faster than applications which are
bigger and faster.
Please correct my, if I'm not right.
Thanks.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 19:49 ` Allan Gottlieb
@ 2006-05-24 23:24 ` Alex
2006-05-25 0:26 ` Allan Gottlieb
0 siblings, 1 reply; 19+ messages in thread
From: Alex @ 2006-05-24 23:24 UTC (permalink / raw
To: gentoo-user
Allan Gottlieb wrote:
> Often the bigger problem with large binaries is that their working
> sets exceeds the sizes of the L1 and (possibly) L2 caches.
Well, I'm using -O3 and I have 1Mb L2, do you think I should "migrate"
to -Os?
Richard Fish wrote:
> the real deciding factor was that it took a lot less
> time to compile with -Os compared to -O3.
The time I need to compile isn't my problem, and if it would, I think I
could easy use -O0 ;)
BTW, is gcc 4.1 faster than 3.4? I've some benchmarks about gcc4, but
not compared with 3.4.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 14:52 ` znx
2006-05-24 20:52 ` Alex
@ 2006-05-25 0:00 ` Philip Webb
2006-05-25 14:44 ` Benno Schulenberg
1 sibling, 1 reply; 19+ messages in thread
From: Philip Webb @ 2006-05-25 0:00 UTC (permalink / raw
To: gentoo-user
060524 znx wrote:
> There is a utility called "eclean" which is meant for the purpose ..
> http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
My experience is that 'eclean' is not efficient at removing things,
so I've gone back to removing out-of-date distfiles by hand.
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-24 23:24 ` Alex
@ 2006-05-25 0:26 ` Allan Gottlieb
2006-05-25 10:40 ` Alex
0 siblings, 1 reply; 19+ messages in thread
From: Allan Gottlieb @ 2006-05-25 0:26 UTC (permalink / raw
To: gentoo-user
At Wed, 24 May 2006 23:24:50 +0000 Alex <sohalt@gmail.com> wrote:
> Allan Gottlieb wrote:
>> Often the bigger problem with large binaries is that their working
>> sets exceeds the sizes of the L1 and (possibly) L2 caches.
>
> Well, I'm using -O3 and I have 1Mb L2, do you think I should "migrate"
> to -Os?
You have to do experiments. It depends heavily on your application
mix.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 0:26 ` Allan Gottlieb
@ 2006-05-25 10:40 ` Alex
2006-05-25 13:55 ` Allan Gottlieb
0 siblings, 1 reply; 19+ messages in thread
From: Alex @ 2006-05-25 10:40 UTC (permalink / raw
To: gentoo-user
Allan Gottlieb wrote:
> You have to do experiments. It depends heavily on your application
> mix.
Yes, that would be the best, but I'm wondering how, because e.g. "time
bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os" and
soon I can test, if it's a real difference.
Thank you!
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 10:40 ` Alex
@ 2006-05-25 13:55 ` Allan Gottlieb
2006-05-25 18:21 ` Alex
0 siblings, 1 reply; 19+ messages in thread
From: Allan Gottlieb @ 2006-05-25 13:55 UTC (permalink / raw
To: gentoo-user
At Thu, 25 May 2006 10:40:26 +0000 Alex <sohalt@gmail.com> wrote:
> Allan Gottlieb wrote:
>> You have to do experiments. It depends heavily on your application
>> mix.
>
> Yes, that would be the best, but I'm wondering how, because e.g. "time
> bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os"
> and soon I can test, if it's a real difference.
Please report back your findings, including the application mix you
tested. Although "scientific" timed benchmarks are important, I would
also be interested in how the system feels. For the latter ("feels"),
you should qualitatively describe the use of the system (web server,
desktop, laptop, etc) and what you commonly run (program devel, games,
scientific/engineering apps, etc).
thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 0:00 ` Philip Webb
@ 2006-05-25 14:44 ` Benno Schulenberg
0 siblings, 0 replies; 19+ messages in thread
From: Benno Schulenberg @ 2006-05-25 14:44 UTC (permalink / raw
To: gentoo-user
Philip Webb wrote:
> My experience is that 'eclean' is not efficient at removing
> things, so I've gone back to removing out-of-date distfiles by
> hand.
Not even 'eclean-dist --destructive' is enough?
Benno
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 18:21 ` Alex
@ 2006-05-25 18:09 ` Allan Gottlieb
2006-05-26 14:29 ` Alex
0 siblings, 1 reply; 19+ messages in thread
From: Allan Gottlieb @ 2006-05-25 18:09 UTC (permalink / raw
To: gentoo-user
At Thu, 25 May 2006 18:21:39 +0000 Alex <sohalt@gmail.com> wrote:
> Allan Gottlieb wrote:
>> At Thu, 25 May 2006 10:40:26 +0000 Alex <sohalt@gmail.com> wrote:
>>
>>>Allan Gottlieb wrote:
>>>
>>>>You have to do experiments. It depends heavily on your application
>>>>mix.
>>>
>>>Yes, that would be the best, but I'm wondering how, because e.g. "time
>>>bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os"
>>>and soon I can test, if it's a real difference.
>> Please report back your findings, including the application mix you
>> tested. Although "scientific" timed benchmarks are important, I would
>> also be interested in how the system feels. For the latter ("feels"),
>> you should qualitatively describe the use of the system (web server,
>> desktop, laptop, etc) and what you commonly run (program devel, games,
>> scientific/engineering apps, etc).
>> thanks,
>> allan
>
> Hi,
>
> I've a desktop system and I commonly use applications like firefox,
> thunderbird and so on, kde, gaim and a terminal is nearly always
> there. Sometimes I'm running vim or kate.
>
> If you're interested in some tests, not relevant for desktop systems,
> there are some I made:
>
> Time wasted to compress a 416 mb tar:
> bzip2 gzip
> -O3 2m40.882s 1m20.445s
> -Os 2m39.314s 1m21.157s
>
> decompress:
> bzip2 gzip
> -O3 0m52.575s 0m4.972s
> -Os 0m53.387s 0m4.828s
>
> Convert 203 Mbs MP3s to WAV using LAME:
> -O3 14m4.461s
> -Os 16m50.599s
>
> from wav to mp3:
> -O3 1m1.708s
> -Os 1m12.841s
>
> Now I'm emerging -e world with -Os. When it is finished, I'll mail you
> the results.
The conversion programs you ran might not stress the memory system. I
suspect that they only keep a fixed size portion of the input and
output files in memory when you run them with ever larger inputs.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 13:55 ` Allan Gottlieb
@ 2006-05-25 18:21 ` Alex
2006-05-25 18:09 ` Allan Gottlieb
0 siblings, 1 reply; 19+ messages in thread
From: Alex @ 2006-05-25 18:21 UTC (permalink / raw
To: gentoo-user
Allan Gottlieb wrote:
> At Thu, 25 May 2006 10:40:26 +0000 Alex <sohalt@gmail.com> wrote:
>
>
>>Allan Gottlieb wrote:
>>
>>>You have to do experiments. It depends heavily on your application
>>>mix.
>>
>>Yes, that would be the best, but I'm wondering how, because e.g. "time
>>bzip2 -9 foobar" wouldn't be helpfull. So now I've switched to "-Os"
>>and soon I can test, if it's a real difference.
>
>
> Please report back your findings, including the application mix you
> tested. Although "scientific" timed benchmarks are important, I would
> also be interested in how the system feels. For the latter ("feels"),
> you should qualitatively describe the use of the system (web server,
> desktop, laptop, etc) and what you commonly run (program devel, games,
> scientific/engineering apps, etc).
>
> thanks,
> allan
Hi,
I've a desktop system and I commonly use applications like firefox,
thunderbird and so on, kde, gaim and a terminal is nearly always there.
Sometimes I'm running vim or kate.
If you're interested in some tests, not relevant for desktop systems,
there are some I made:
Time wasted to compress a 416 mb tar:
bzip2 gzip
-O3 2m40.882s 1m20.445s
-Os 2m39.314s 1m21.157s
decompress:
bzip2 gzip
-O3 0m52.575s 0m4.972s
-Os 0m53.387s 0m4.828s
Convert 203 Mbs MP3s to WAV using LAME:
-O3 14m4.461s
-Os 16m50.599s
from wav to mp3:
-O3 1m1.708s
-Os 1m12.841s
Now I'm emerging -e world with -Os. When it is finished, I'll mail you
the results.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] content of /usr/portage/distfile
2006-05-25 18:09 ` Allan Gottlieb
@ 2006-05-26 14:29 ` Alex
0 siblings, 0 replies; 19+ messages in thread
From: Alex @ 2006-05-26 14:29 UTC (permalink / raw
To: gentoo-user
Alex wrote:
> Now I'm emerging -e world with -Os. When it is finished, I'll mail you
> the results.
Hi,
now I have a -Os-system and it isn't faster. So now I'll emerge the
whole system again, but with -O3.
Alex
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2006-05-26 13:10 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
2006-05-24 14:35 ` Raymond Lewis Rebbeck
2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
2006-05-24 14:47 ` JC Denton
2006-05-24 14:40 ` Ptitjack
2006-05-24 14:44 ` Neil Bothwick
2006-05-24 14:52 ` znx
2006-05-24 20:52 ` Alex
2006-05-24 19:49 ` Allan Gottlieb
2006-05-24 23:24 ` Alex
2006-05-25 0:26 ` Allan Gottlieb
2006-05-25 10:40 ` Alex
2006-05-25 13:55 ` Allan Gottlieb
2006-05-25 18:21 ` Alex
2006-05-25 18:09 ` Allan Gottlieb
2006-05-26 14:29 ` Alex
2006-05-24 20:45 ` Richard Fish
2006-05-25 0:00 ` Philip Webb
2006-05-25 14:44 ` Benno Schulenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox