Hmm thanks Lonnie once again. Each phone downloads multiple files so I could be easily hitting this limit. I think it wouldn't hurt lowering the MTU as well! More testing is required.
Thanks again. Regards Michael Knill -----Original Message----- From: Lonnie Abelbeck <li...@lonnie.abelbeck.com> Reply-To: AstLinux List <astlinux-users@lists.sourceforge.net> Date: Wednesday, 4 October 2017 at 12:34 am To: AstLinux List <astlinux-users@lists.sourceforge.net> Subject: Re: [Astlinux-users] dnsmasq performance Hi Michael, According to the dnsmasq man-page: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html --tftp-max=<connections> Set the maximum number of concurrent TFTP connections allowed. This defaults to 50. When serving a large number of TFTP connections, per-process file descriptor limits may be encountered. Dnsmasq needs one file descriptor for each concurrent TFTP connection and one file descriptor per unique file (plus a few others). So serving the same file simultaneously to n clients will use require about n + 10 file descriptors, serving different files simultaneously to n clients will require about (2*n) + 10 descriptors. If --tftp-port-range is given, that can affect the number of concurrent connections. Also, while over a VPN the max-MTU can be adjusted if needed ... --tftp-mtu=<mtu size> Use size as the ceiling of the MTU supported by the intervening network when negotiating TFTP blocksize, overriding the MTU setting of the local interface if it is larger. So it would seem your case of 20 simultaneous downloads using TFTP is in the design spec of dnsmasq. That said, I would recommend using either HTTP or HTTPS for provisioning when supported by the IP Phone, and only use TFTP (or FTP) when the phone requires it. https://doc.astlinux-project.org/userdoc:tt_ip_phone_provisioning#ip_phone_provisioning Lonnie On Oct 3, 2017, at 6:45 AM, Michael Knill <michael.kn...@ipcsolutions.com.au> wrote: > Hi group > > I have just upgraded a site and it has been a long slow process upgrading the > phones. > I have recently moved to downloading the firmware from TFTP on the local > server because the performance is better but it seems that its not that great. > Now admittedly is not local as the phones are across a VPN to the Astlinux > LAN but it is high speed so I don't think it should be an issue. > > Are there any performance issues with dnsmasq TFTP? Could I pound it with say > 20 simultaneous downloads of firmware without issues or will it break it? > Maybe it's the VPN? > > Regards > Michael Knill > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! > http://sdm.link/slashdot_______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.