[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: one-byte TCP writes wedging
Hi Dave, Anil, "Wait for n free slots" is exactly what is needed. And at this low level, even if there are multiple writers, the writes should all be serialized. It'll be best if the order of the pkts on the wire is always the same as order of the successful writes from the application. Also in addition to the blocking write, we should also have a non-blocking write that fails if there aren't enough free slots available. For the fragments, I think we should have an internal threshold (say 8 fragments) and if the number of fragments in the write is great than the threshold then it triggers a compaction or repacking before sticking it on the ring. As long as the threshold is higher than most use cases it should have no impact at all. In any case the repacking work has to be done at some point so it shouldn't affect performance even if it is triggered often.
Balraj On Tue, May 28, 2013 at 10:15 AM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |