Re: Separating bgwriter and checkpointer

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: "Dickson S. Guedes" <listas@guedesoft.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-10-03T07:26:16Z
Lists: pgsql-hackers

Attachments

On Sun, Oct 2, 2011 at 11:45 PM, Dickson S. Guedes <listas@guedesoft.net> wrote:

> I'm trying your patch, it was applied cleanly to master and compiled
> ok. But since I started postgres I'm seeing a  99% of CPU usage:

Oh, thanks. I see what happened. I was toying with the idea of going
straight to a WaitLatch implementation for the loop but decided to
leave it out for a later patch, and then skipped the sleep as well.

New version attached.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services