On 3/8/17 5:34 AM, William Allen Simpson wrote: > Ganesha currently has 2 phases of dispatch queuing: one for input and > decoding, then another for executing/encoding output. (I've fixed the > third queue for later sending the output, where the thread should stay > hot as long as there's more to process.) > > On Monday, Matt told me we were having problems with sequential IO. > Wishing that somebody had mentioned this to me sooner. > > [...] > After a somewhat loud discussion with Matt, we've agreed on a different approach. This will also be useful for fully async IO that is planned for V2.6.
The sequential IO reports were from specific customers. Since I'm not in direct contact with customers I'm not hearing about it. But we should be able to get field confirmation about whether the new approach is working better.... I'm going to code something more like Weighted Fair Queuing that I've mentioned on this list back in June 2015. The only weight is that we want any initial TCP connection to be handled as rapidly as possible to get the standard TCP slow start moving. Are there other priorities that we should handle? Otherwise, we really need a more even handed approach across large numbers of clients, keeping each client's requests in strict order, even though some of them could be "faster" than others. The fair queuing should also help prevent traffic spikes. I think I can have something coded by next week. I'd already done some preliminary work in 2015. But the time constraint means this will be pretty bare bones for V2.5. To really do a good job, we need some kind of FSAL feedback API. I'm going to ask the Gluster folks for some help on designing it, so that we have a good use case and testing infrastructure. But we'll post the design iterations here in the same fashion as an IETF Working Group, so that maybe we can get other FSAL feedback, too. Is anybody specifically interested in helping design the API? ------------------------------------------------------------------------------ Announcing the Oxford Dictionaries API! The API offers world-renowned dictionary content that is easy and intuitive to access. Sign up for an account today to start using our lexical data to power your apps and projects. Get started today and enter our developer competition. http://sdm.link/oxford _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel