Re: -F option, RAM usage, more...

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: -F option, RAM usage, more...
Дата
Msg-id 20001004162402.A19300@klamath.dyndns.org
обсуждение исходный текст
Ответ на -F option, RAM usage, more...  ("Mike Biamonte" <mike@dbeat.com>)
Список pgsql-general
On Wed, Oct 04, 2000 at 02:09:47PM -0400, Mike Biamonte wrote:
> I understand from the docs that -F ".. prevents fsync()'s from
> flushing to disk after every transaction.." and that this boosts
> performance because RAM accesses are far faster than disk accesses.  I
> have also seen some impressive stats regarding the degree of this
> performance boost.

Correct me if I'm wrong, but I believe that when you specify '-F', it
allows the filesystem to buffer I/O operations, performing several
operations once after another. This is much faster than with fsync(),
where the disk heads have to be moved frequently. Also, allowing the
I/O subsystem to buffer some data will speed subsequent accesses of it,
until the buffer is flushed.

HTH,

Neil

--
Neil Conway <neilconway@home.com>
Get my GnuPG key from: http://klamath.dyndns.org/mykey.asc
Encrypted mail welcomed

Violence is to dictatorship as propaganda is to democracy.
        -- Noam Chomsky

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Dominic J. Eidson"
Дата:
Сообщение: Re: -F option, RAM usage, more...
Следующее
От: "Mitch Vincent"
Дата:
Сообщение: Re: -F option, RAM usage, more...