Re: [Vserver] Re: IP alias limitation

From: Kathy Kost <kathyk_at_blarg.net>
Date: Wed 23 Aug 2006 - 21:41:41 BST
Message-ID: <Pine.LNX.4.44.0608231341140.9218-100000@animal.blarg.net>

Thanks for the info Bruno. Helps a lot.

Kathy

> The kernel patch has a maximum of IP addresses per network context defined.
>
> Context-association of IP addresses is not optimized, thus many addresses
> cause some overhead when checking if incoming packets may be delivered to a
> guest. (check if IP is available to a guest)
>
> In addition you have 12 bytes allocated per possible IP address:
> 12 * 16 = 192 bytes (even if guest has just 1 IP assigned to it)
>
> For the define limiting the count of IP addresses, see
> include/linux/vserver/network.h (line 11):
>
> @define NB_IPV4ROOT 16
>
>
> Note that you may need to check what header the userspace tools get compiled
> against.
>
> Bruno

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Aug 23 21:43:49 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Aug 2006 - 21:43:52 BST by hypermail 2.1.8