Hi, ----- "Akira Hayakawa" <ruby.w...@gmail.com> wrote:
> Dispatch_Max_Reqs_Xprt is settable attribute that affects > stalling the ganesha server when the outstanding requests in the > queue > supersedes the set value. The default value is 512 and can take 1 to > 2048. > Ganesha unstalls the server when the queuing requests decreases to > half of > the value. > > I learned about the attribute from the code but still I couldn't > fully > understand it. > > We are developing our own FSAL and what we are seeing now is stalling > occurs occasionally when the requests is too much. And the server > always wakes up > in one second. And when the server stalls clients seems to stop > sending requests > somehow (does Ganesha back-pressures when it stalls?) Yes, the xprt that is stalled will not be serviced for new requests until it unstalls. > > We are considering setting high value on the attribute but we aren't > sure what > the pros and cons of setting high value on it. Intuitively, setting > high value > may lead to stalling much less often but may lead to OOM on the other > hand. The main issue is fairness. A high value allows aggressive clients to consume an unfair fraction of available bandwidth/server resources. > > I think Ganesha doesn't expect itself stalls too often because the > code says it > unlikely. That's why we are thinking of setting high value on it. > > Do you think setting high value is a good idea for us? And what else > do you have > in mind to solve our problem? You can experiment with it. YMMV, basically. Matt > > Akira > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Nfs-ganesha-devel mailing list > Nfs-ganesha-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel -- Matt Benjamin CohortFS, LLC. 315 West Huron Street, Suite 140A Ann Arbor, Michigan 48103 http://cohortfs.com tel. 734-761-4689 fax. 734-769-8938 cel. 734-216-5309 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel