Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] inlining

From: dg(at)illustra(dot)com (David Gould)
To: maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] inlining
Date: 1998-06-12 05:08:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> Here is a list of usenet articles about inlining that just appeared in
> comp.compilers.

Good discussion and I am happy to see you post it. I follow comp.arch
regularly and there are often very interesting hints there too amid
the dross. Actually it is not a high traffic group except for the
occasional "sunspot cycle".

> optimizing compiler. The code placement tool (ala Pettis & Hanson)
> needs to be inlining-aware. Code growth is not that big of a problem
> in many codes. Many very large codes have relatively small dynamic hot
> spots. Database codes are a notable exception. Another big downside
Database codes are the mothers heartbreak of both the compiler design and
hardware architecture communities. They blow up caches, there are never
5 instructions in a row before a branch, they whack at the whole working
set (which blows up the tlb and bus), they have poor locality so when they
miss cache you can't fix it with bandwith. Everything depends on everything
so you can't parallize at small scales. Hopeless really.

Btw, I sure wish someone would comment on the S_LOCK analysis even if only
to tell me not to make such long posts as it wastes bandwidth. Or was it just
too long to read?


David Gould            dg(at)illustra(dot)com           510.628.3783 or 510.305.9468 
Informix Software  (No, really)         300 Lakeside Drive  Oakland, CA 94612
"Don't worry about people stealing your ideas.  If your ideas are any
 good, you'll have to ram them down people's throats." -- Howard Aiken

In response to

  • inlining at 1998-06-12 02:58:24 from Bruce Momjian


pgsql-hackers by date

Next:From: Thomas G. LockhartDate: 1998-06-12 05:34:36
Subject: Re: [HACKERS] now 6.4
Previous:From: Bruce MomjianDate: 1998-06-12 04:40:25
Subject: Re: [HACKERS] Upgrading (was: now 6.4)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group