Hide Forgot
BTW, Avati also observed performance increase from 2-5 MiB/s with the problem, to around 40 MiB/s with a temporary fix he introduced on a customer setup.
Proposed patches: release-2.0: http://patches.gluster.com/patch/784/ mainline: http://patches.gluster.com/patch/785/
As reported by Avati. In libgf_client_path_lookup, the workaround for DHT requirement for a lookup on / needs to be done only once when the xlator graph is inited. Doing it on every path's lookup results in a major performance penalty when using distribute subvolumes upwards of 16, because a lookup for the root needs to be sent on every subvolume.
PATCH: http://patches.gluster.com/patch/785 in master (libglusterfsclient: Move DHT root-lookup workaround to init)
PATCH: http://patches.gluster.com/patch/784 in release-2.0 (libglusterfsclient: Move DHT root-lookup workaround to init)
Committed to repo: Release 2.0: http://git.savannah.gnu.org/cgit/gluster.git/commit/?h=release-2.0&id=7b90b90780d3bb5a1b4a1c060fac1d2c4eb2a8dc Mainline: http://git.savannah.gnu.org/cgit/gluster.git/commit/?id=a12f332cff050db3aa3905436158cbd339fa6963