[pgpool-general: 3964] Re: accept() scalability issues

Tatsuo Ishii ishii at postgresql.org
Fri Aug 14 09:25:51 JST 2015


>> Ok, here is the experimental patch to serialize select(2) for listen
>> fds by using semaphore. Could you please try it out?  The patch is
>> against 3.3-stable.
> 
> 
> Thank you very much, that worked fine!
> 
> In a synthetic test with 1000 children and ~30 connections per second this lowered the amount of context switches from ~38.000/sec to ~1.000/sec.

Great. I'm also interested in if my patch somewhat enhances
performance.

> We’ll test it in production mid next week, will let you know how things go.

Looking forward to hearing from you next week!

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-general mailing list