From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Dmitry Morozovsky <marck@rinet.ru>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Schmidt, Peter <peter.schmidt@prismedia.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: v7.1b4 bad performance
Date: Sun, 18 Feb 2001 14:59:40 -0500 (EST)
Message-ID: <200102181959.OAA02190@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.21.0102182231580.16523-100000@woozle.rinet.ru>
> TL> I vote for commit_delay = 0, unless someone can show cases where
> TL> positive delay is significantly better than zero delay.
>
> BTW, for modern versions of FreeBSD kernels, there is HZ kernel option
> which describes maximum timeslice granularity (actually, HZ value is
> number of timeslice periods per second, with default of 100 = 10 ms). On
> modern CPUs HZ may be increased to at least 1000, and sometimes even to
> 5000 (unfortunately, I haven't test platform by hand).
>
> So, maybe you can test select granularity at ./configure phase and then
> define default commit_delay accordingly.
According to the BSD4.4 book by Karels/McKusick, even though computers
are faster now, increasing the Hz doesn't seem to improve performance.
This is probably because of cache misses from context switches.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, marck@rinet.ru, tgl@sss.pgh.pa.us, peter.schmidt@prismedia.com, pgsql-hackers@postgresql.org
Subject: Re: v7.1b4 bad performance
In-Reply-To: <200102181959.OAA02190@candle.pha.pa.us>
References: <Pine.BSF.4.21.0102182231580.16523-100000@woozle.rinet.ru> <200102181959.OAA02190@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox