[Bugs] [Bug 1676429] distribute: Perf regression in mkdir path

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 20 10:15:39 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1676429



--- Comment #1 from Susant Kumar Palai <spalai at redhat.com> ---
Update:
After taking statedumps, io-threads xlator showed differences in latency. And
here is the responsible code path.

<<<<
int
iot_schedule (call_frame_t *frame, xlator_t *this, call_stub_t *stub)
{
        int             ret = -1;
        iot_pri_t       pri = IOT_PRI_MAX - 1;
        iot_conf_t      *conf = this->private;

        if ((frame->root->pid < GF_CLIENT_PID_MAX) && conf->least_priority) {
                pri = IOT_PRI_LEAST;
                goto out;
        }
>>>>

It seems requests with -ve pid gets the least priority.


After testing with performance.enable-least-priority to be off, the results are
normalized now. Here is the summary.

Numbers are in files/sec

Post with performance.enable-least-priority on:   5448.965051804044,
5382.812519425897, 5358.221152245441,

Post with performance.enable-least-priority off:  6589.996990998271,
6458.350431426266, 6568.009725869085

Pre:                                              6387.711992865287, 
6412.12706152037, 6570.547263693283



Will send a patch to prioritize ops with no-root-squash pid.

Susant

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list