| To: | Waiman Long <waiman.long@xxxxxxx> |
|---|---|
| Subject: | Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system |
| From: | Christoph Lameter <cl@xxxxxxxxx> |
| Date: | Thu, 17 Mar 2016 20:58:46 -0500 (CDT) |
| Cc: | Tejun Heo <tj@xxxxxxxxxx>, Dave Chinner <dchinner@xxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Ingo Molnar <mingo@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Scott J Norton <scott.norton@xxxxxx>, Douglas Hatch <doug.hatch@xxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1458266327; bh=p1pKcy31/Hbi9yfzhve1Jj1fq6zdHTkIF/ickCi8k5A=; h=Received:Received:Received:Received:Date:From:To:Subject: Message-ID:Content-Type; b=SbgsH2KZLcuTNNHeyHGdLe9HPrLe77C3Fkh9K48JLwPJQiqIApN0s+uG6agY8aSZI f8JqCZHj0+7iWmtEyKvT9V0LV2kCEX8qiGCvoyt5DGeCkEbol82RdWEIzCnqJUApOo n0UGrPmFXHU11bw18YttpCzjYHN4t7viPsS1Z9UxDdAphqwj7xjAQ0i9lz1SaK/jgU t67E4l/sJJ71I34rKsaTbnAS4SLHInp2kyrF4kEpJPCzpvs1t2DjUBHAbcLjWr5BdV 4kV3y1ESTI1xeATZyuQ0zBKsK/KIvL0eJwcNxTd0Aff6gDyv2vkZ2x2Ikb+tCQ0S9c OnnOO61Xs5aBA== |
| In-reply-to: | <56E9B219.7090500@xxxxxxx> |
| References: | <1457146299-1601-1-git-send-email-Waiman.Long@xxxxxxx> <1457146299-1601-2-git-send-email-Waiman.Long@xxxxxxx> <alpine.DEB.2.20.1603071220470.1453@xxxxxxxxxxxxxxx> <56E9B219.7090500@xxxxxxx> |
On Wed, 16 Mar 2016, Waiman Long wrote: > > If the cpumask is empty you can use the global count. Otherwise you just > > need to add up the counters of the cpus set in the cpumask. > > > > I have modified the patch to try that out. However, that doesn't yield that > much of improvement in term of performance and it slows down the percpu fast > path a bit. So I am going to focus on my existing patch first and think about > that later. Hmmm... Maybe look at the cause of the slowdown first? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: new fs, xfs_admin new label, metadata corruption detected, Chris Murphy |
|---|---|
| Next by Date: | Re: new fs, xfs_admin new label, metadata corruption detected, Dave Chinner |
| Previous by Thread: | Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system, Christoph Lameter |
| Next by Thread: | Re: [RFC PATCH 0/2] percpu_counter: Enable switching to global counter, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |