Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Be more verbose in ngx_setaffinity()

Sepherosa Ziehau
May 26, 2017 09:08PM
On Fri, May 26, 2017 at 11:31 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> Hello!
>
> On Fri, May 26, 2017 at 04:42:51PM +0800, Sepherosa Ziehau wrote:
>
>> Hi all,
>>
>> Patch is here:
>> https://leaf.dragonflybsd.org/~sephe/verb_setaffinity.diff
>
> Process PID is present in error log messages, it is believed to be
> enough to identify which worker uses which CPU. It is also looks
> like a layering violation to print ngx_worker from a generic

Thought it was just for worker's affinity setting. Since you say its
a generic function, I will drop the patch then.

> function which knows nothing if it is being called in a worker
> process or not.
>
> Do you have any specific reasons for the change?

I was debugging the reuseport listen socket cpu affinity.

Thanks,
sephe

--
Tomorrow Will Never Die
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] Be more verbose in ngx_setaffinity()

Sepherosa Ziehau 652 May 26, 2017 04:44AM

Re: [PATCH] Be more verbose in ngx_setaffinity()

Maxim Dounin 276 May 26, 2017 11:34AM

Re: [PATCH] Be more verbose in ngx_setaffinity()

Sepherosa Ziehau 304 May 26, 2017 09:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready