On Mon, 10 Oct 2005, [iso-8859-1] Lasa Ramírez, Iñigo wrote:

Hello:

We have seen that compressed objets (like javascripts) which are cached by 
squid, are downloaded in blocks of 4 KB.

When we take a trace, we can see that the download is done in blocks of three 
packets: two packets of 1500 bytes and last one is not completed.

Anyone knows how changing this, so that squid sends all packets completed?

A more accurate question is how to tune your OS to correctly use the Nagle algorithm to avoid sending partial TCP packets.

But I guess we could add some logics using TCP_CORK on cache hits to enforce this if OS tuning is too hard. Have added an experimental patch for this in Bug #1423.

Regards
Henrik

Reply via email to