Welcome! Log In Create A New Profile

Advanced

Re: cannot build variables_hash

Yichun Zhang (agentzh)
July 31, 2013 07:06PM
Hello!

On Wed, Jul 31, 2013 at 7:03 AM, Maxim Dounin wrote:
>
> How many variables are in total in the configuration in question?

I've just checked. There are only 124 variables.

>
> I suspect the real problem is hash collisions.

Yeah, it seems like that :)

> Especially this used
> to hit people under qemu where cache line size of an emulated CPU
> is detected as 32 by nginx, see here:
>

Well, this is a modern Linux x86_64 system running on real hardware though :)

> Not sure how to properly address it though. Right now I think
> just automatically doubling bucket_size if we wasn't able to build
> hash might be a good idea.
>

Yeah, this work-around looks good to me :)

Best regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

cannot build variables_hash

John Watson July 24, 2013 06:50PM

Re: cannot build variables_hash

Francis Daly July 24, 2013 08:38PM

Re: cannot build variables_hash

nginxorg July 25, 2013 06:56AM

Re: cannot build variables_hash

John Watson July 29, 2013 05:46PM

Re: cannot build variables_hash

Yichun Zhang (agentzh) July 30, 2013 02:50PM

Re: cannot build variables_hash

Maxim Dounin July 31, 2013 10:04AM

Re: cannot build variables_hash

Yichun Zhang (agentzh) July 31, 2013 07:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 217
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