[Gluster-devel] rpc throttling causing ping timer expiries while running iozone

Pranith Kumar Karampuri pkarampu at redhat.com
Wed Apr 23 09:17:39 UTC 2014


Sent the following patch to ignore *LK fops for throttling.

http://review.gluster.org/7531

Pranith
----- Original Message -----
> From: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
> To: "Anand Avati" <aavati at redhat.com>
> Cc: "Gluster Devel" <gluster-devel at nongnu.org>
> Sent: Wednesday, April 23, 2014 12:19:58 PM
> Subject: rpc throttling causing ping timer expiries while running iozone
> 
> hi,
>     When iozone is in progress and the number of blocking inodelks is greater
>     than the threshold number of rpc requests allowed for that client
>     (RPCSVC_DEFAULT_OUTSTANDING_RPC_LIMIT), subsequent requests from that
>     client will not be read until all the outstanding requests are processed
>     and replied to. But because no more requests are read from that client,
>     unlocks on the already granted locks will never come thus the number of
>     outstanding requests would never come down. This leads to a ping-timeout
>     on the client. I am wondering if the proper fix for this is to not
>     account INODELK/ENTRYLK/LK calls for throttling. I did make such a
>     change in the codebase and tested it and it works. Please let me know if
>     this is acceptable or it needs to be fixed differently.
> 
> Pranith




More information about the Gluster-devel mailing list