Re: [gentoo-user] content of /usr/portage/distfile

2006-05-26 Thread Alex

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Alex

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Allan Gottlieb
At Thu, 25 May 2006 10:40:26 + Alex [EMAIL PROTECTED] 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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Benno Schulenberg
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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Alex

Allan Gottlieb wrote:

At Thu, 25 May 2006 10:40:26 + Alex [EMAIL PROTECTED] 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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-25 Thread Allan Gottlieb
At Thu, 25 May 2006 18:21:39 + Alex [EMAIL PROTECTED] wrote:

 Allan Gottlieb wrote:
 At Thu, 25 May 2006 10:40:26 + Alex [EMAIL PROTECTED] 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



[gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread JC Denton
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
. 


Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Raymond Lewis Rebbeck
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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Raphael Melo de Oliveira Bastos Sales

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 [EMAIL PROTECTED] 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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Ptitjack
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  )
 \/
  ----
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Neil Bothwick
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.


signature.asc
Description: PGP signature


Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread JC Denton
Yes! I think it is a great game.Raphael Melo de Oliveira Bastos Sales [EMAIL PROTECTED] schrieb: I think you meant /usr/portage/distfiles, right? Yes, you can removethem. They are the source archives of the packages you've installed.But, if you need to reemerge any of your packages, you'll have todownload 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.


Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread znx

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Alex

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Allan Gottlieb
At Wed, 24 May 2006 20:52:21 + Alex [EMAIL PROTECTED] 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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Richard Fish

On 5/24/06, Alex [EMAIL PROTECTED] 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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Alex

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



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Philip Webb
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 : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] content of /usr/portage/distfile

2006-05-24 Thread Allan Gottlieb
At Wed, 24 May 2006 23:24:50 + Alex [EMAIL PROTECTED] 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