Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1360304

Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system

From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system
Date 2016-03-18 03:00 +0100
Message-ID <rdRRM-7fe-3@gated-at.bofh.it> (permalink)
References <r9aBH-80Y-3@gated-at.bofh.it> <r9aBH-80Y-1@gated-at.bofh.it> <ra84N-6rV-3@gated-at.bofh.it> <rdpiP-4Or-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system Waiman Long <Waiman.Long@hpe.com> - 2016-03-05 04:00 +0100
  Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global  counter on large system Christoph Lameter <cl@linux.com> - 2016-03-07 19:30 +0100
    Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global  counter on large system Waiman Long <waiman.long@hpe.com> - 2016-03-07 21:00 +0100
    Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global  counter on large system Waiman Long <waiman.long@hpe.com> - 2016-03-16 20:30 +0100
      Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global  counter on large system Christoph Lameter <cl@linux.com> - 2016-03-18 03:00 +0100

csiph-web