From: Mikhail Zabaluev <mhz@altlinux.org>
To: devel@altlinux.ru
Subject: [devel] Re: gcc -O2 vs gcc -Os performance
Date: Thu, 13 Mar 2003 01:57:09 +0300
Message-ID: <20030312225709.GC1758@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <20030312135705.GA11493@nomad.ksi-linux.com>
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
Hello Victor,
On Wed, Mar 12, 2003 at 03:57:05PM +0200, Victor Forsyuk wrote:
>
> > Машина Celeron333.
> >
> > Выглядит очень привлекательно: размер бинарей уменьшается на 10-20%, а
> > падение производительности: у ядра почти не падает, а у перла -- в
> > данном частном случае растёт на 8-9%!!!!!! Скорее всего, это именно
> > из-за маленького кэша у Celeron'а. При этом измеряется некая
> > абстрактная производительность в идеальных условиях; в реальных условиях
> > реальная производительность может расти ещё больше.
> >
> > Кроме того, уменьшается (хотя и не так сильно) размер RPM пакетов, что
> > достаточно важно как для подготовки однодисковых дистрибутивов, так и
> > для уменьшения интернет-трафика. А также для создания минимальных
> > систем! :)
> >
> > Какие будут мнения?
Мне неинтересно, у меня Pentium 4 :)
По мне, наоборот, лучше -O3 (с inlining'ом и пр.),
каковой я уже давно практикую.
> Если же -Os способно заметно по ощущениям ускорить startup таких монстров
> как KDE - и вовсе замечательно будет.
KDE компилятор не поможет -- там генерация кода, диктуемая C++,
раздувает размеры и таблицы relocation (очень чувствительная
вещь для startup).
--
Stay tuned,
MhZ JID: mhz@altlinux.org
___________
Love makes the world go 'round, with a little help from intrinsic angular
momentum.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-03-12 22:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 1:56 [devel] " Alexey Tourbin
2003-03-12 8:37 ` [devel] " Michael Shigorin
2003-03-12 17:02 ` Alexey Tourbin
2003-03-12 13:57 ` [devel] " Victor Forsyuk
2003-03-12 17:10 ` [devel] " Alexey Tourbin
2003-03-12 22:57 ` Mikhail Zabaluev [this message]
2003-05-09 9:29 ` Alexey Tourbin
2003-05-14 7:07 ` Igor Homyakov
2003-05-14 10:20 ` Mikhail Zabaluev
2003-05-14 10:33 ` Igor Homyakov
2003-05-14 10:38 ` Igor Homyakov
2003-05-16 21:31 ` [devel] Re: gcc -O2 vs gcc -Os performance -- gcc-3.3 Alexey Tourbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030312225709.GC1758@mhz.mikhail.zabaluev.name \
--to=mhz@altlinux.org \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git