Welcome! Log In Create A New Profile

Advanced

Re: Geoip cache options patch

December 20, 2010 05:58PM
Hi,

On 21/12/2010 00:45, Akins, Brian wrote:
> On 12/20/10 1:41 PM, "Igor Sysoev"<igor@sysoev.ru> wrote:
>
>> Thank you for the patch.
>> How large bases do you use ? As far as I remember MaxMind bases are too
>> big, at least no more than 50M. I think this is not big issue to keep
>> it entirely in memory.
> No, it's not a big issue. But we do run 1 worker_process per cpu core, so
> on a 16 core box we may use 16 * 50MB of RAM for Geoip. I know that's
> small, but every little it helps. And it was not very much code.
>
Each worker process will see virtual data usage of 50MB for the data,
but unless I'm mistaken, the overall system usage should still only be
50MB because the data is shared in the same physical memory by the OS
until such a time that it's changed (which it won't unless you re-read
the config, and in which case it would change for all worker processes).

Marcus.


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

Geoip cache options patch Attachments

Akins, Brian 2413 December 20, 2010 01:30PM

Re: Geoip cache options patch

Akins, Brian 785 December 20, 2010 01:38PM

Re: Geoip cache options patch

Igor Sysoev 810 December 20, 2010 01:42PM

Re: Geoip cache options patch

Igor Sysoev 802 December 20, 2010 02:00PM

Re: Geoip cache options patch

Akins, Brian 673 December 20, 2010 05:46PM

Re: Geoip cache options patch

Eugaia 708 December 20, 2010 05:58PM

Re: Geoip cache options patch

Akins, Brian 655 December 20, 2010 06:26PM

Re: Geoip cache options patch

Eugaia 712 December 20, 2010 07:42PM

Re: Geoip cache options patch

Igor Sysoev 772 December 21, 2010 07:28AM

Re: Geoip cache options patch

Akins, Brian 972 December 21, 2010 09:20AM



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

Online Users

Guests: 125
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready