Re: profiling connection overhead - Mailing list pgsql-hackers

From Robert Haas
Subject Re: profiling connection overhead
Date
Msg-id AANLkTi=0FxbLHzb2bRH8nDE+K0k-Sd1MLufUTysDYKpA@mail.gmail.com
Whole thread Raw
In response to Re: profiling connection overhead  (Andres Freund <andres@anarazel.de>)
Responses Re: profiling connection overhead
List pgsql-hackers
On Mon, Nov 29, 2010 at 12:24 PM, Andres Freund <andres@anarazel.de> wrote:
> Hm. A quick test shows that its quite a bit faster if you allocate memory
> with:
> size_t s = 512*1024*1024;
> char *bss = mmap(0, s, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_POPULATE|
> MAP_ANONYMOUS, -1, 0);

Numbers?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: profiling connection overhead
Next
From: Robert Haas
Date:
Subject: Re: pg_execute_from_file review