| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Separating bgwriter and checkpointer |
| Date: | 2011-10-03 07:26:16 |
| Message-ID: | CA+U5nMKPJMsx0ProWMP=_ZF4YHCPf8Z6NrViGD5TnChtc3UXyw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sun, Oct 2, 2011 at 11:45 PM, Dickson S. Guedes <listas(at)guedesoft(dot)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
| Attachment | Content-Type | Size |
|---|---|---|
| bgwriter_split.v3.patch | application/octet-stream | 91.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2011-10-03 07:32:04 | Re: bug of recovery? |
| Previous Message | Heikki Linnakangas | 2011-10-03 07:21:26 | Re: bug of recovery? |