Re: setproctitle_fast()

2018-07-23 Thread Thomas Munro
On Thu, Jul 5, 2018 at 10:09 AM, Thomas Munro wrote: > I'll park this patch here until the FreeBSD feature escapes in a > RELEASE version in a few months. It has now been merged into FreeBSD stable/11, so it's expected in FreeBSD 11.3. It is supported by buildfarm animal peripatus. So I figured

Re: setproctitle_fast()

2018-07-07 Thread Thomas Munro
On Sat, Jul 7, 2018 at 11:57 PM, Emre Hasegeli wrote: >> FreeBSD's setproctitle() is a bit slow because it contains a syscall >> or two, so people often run PostgreSQL with update_process_title set >> to off on that OS. That makes the user experience not quite as nice >> as Linux. As a weekend l

Re: setproctitle_fast()

2018-07-07 Thread Emre Hasegeli
> FreeBSD's setproctitle() is a bit slow because it contains a syscall > or two, so people often run PostgreSQL with update_process_title set > to off on that OS. That makes the user experience not quite as nice > as Linux. As a weekend learn-me-some-kernel-hacking project I fixed > that and got