[libvirt] [PATCH 2/4] net-dhcp-leases: Implement the remote protocol

Daniel P. Berrange berrange at redhat.com
Wed Sep 11 16:12:47 UTC 2013


On Wed, Sep 11, 2013 at 09:00:10PM +0530, Nehal J Wani wrote:
> diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
> index a1c23da..75d2c60 100644
> --- a/src/remote/remote_protocol.x
> +++ b/src/remote/remote_protocol.x
> @@ -232,6 +232,11 @@ const REMOTE_DOMAIN_MIGRATE_PARAM_LIST_MAX = 64;
>  /* Upper limit on number of job stats */
>  const REMOTE_DOMAIN_JOB_STATS_MAX = 16;
>  
> +/*
> + * Upper limit on the maximum number of leases in one lease file
> + */
> +const REMOTE_NETWORK_DHCPLEASES_MAX = 1024;

I think this needs to be significantly larger. People I know are already
trying to run 8000 containers on a single host + network. 32768 might
be a suitable level to start with.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list