Re: ipropd slow when pushing complete database
Harald Barth <[email protected]> Thu, 20 Dec 2018 09:40:39 +0100 (CET)
| Newsgroups | gmane.comp.encryption.kerberos.heimdal.general |
|---|---|
| Message-ID | <[email protected]> |
Have you considered that this could be a problem with TCP packet sizes and Nagle's algorithm? https://en.wikipedia.org/wiki/Nagle%27s_algorithm We have identified back in 2015 that kadmin get * is slow because of this and I don't thinks that was ever fixed because one needs to restructure the whole send/receive program flow for this. To start with one could use TCP_NODELAY and see if that fixes the problem. Then if TCP_NODELAY is a permanent fix and should go into the production code is another question (which was never solved for the kadmin case if I recall corectly). This was just a guess, Harald.