Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616713
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Mel Gorman <mgorman@techsingularity.net> |
| Newsgroups | linux.kernel |
| Subject | Re: in_irq_or_nmi() and RFC patch |
| Date | Wed, 05 Apr 2017 11:00:02 +0200 |
| Message-ID | <tsOXg-nu-21@gated-at.bofh.it> (permalink) |
| References | <tpG9Q-2Hb-11@gated-at.bofh.it> <tqgZI-49O-5@gated-at.bofh.it> <tqhM6-4Lj-13@gated-at.bofh.it> <tqi5s-4RU-1@gated-at.bofh.it> <tqqmm-2iB-31@gated-at.bofh.it> <tqrip-2Ue-1@gated-at.bofh.it> <tqrLs-34R-17@gated-at.bofh.it> <tqHZT-6On-1@gated-at.bofh.it> <tqJS1-8b4-5@gated-at.bofh.it> <ts8Y3-6GK-57@gated-at.bofh.it> |
| X-Original-To | Jesper Dangaard Brouer <brouer@redhat.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15 |
| Content-Disposition | inline |
| User-Agent | Mutt/1.6.2 (2016-07-01) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Matthew Wilcox <willy@infradead.org>, Peter Zijlstra <peterz@infradead.org>, Pankaj Gupta <pagupta@redhat.com>, Tariq Toukan <ttoukan.linux@gmail.com>, Tariq Toukan <tariqt@mellanox.com>, netdev@vger.kernel.org, akpm@linux-foundation.org, linux-mm <linux-mm@kvack.org>, Saeed Mahameed <saeedm@mellanox.com>, linux-kernel@vger.kernel.org |
| X-Original-Date | Wed, 5 Apr 2017 09:53:52 +0100 |
| X-Original-Message-ID | <20170405085352.52rb3k34omndei63@techsingularity.net> |
| X-Original-References | <20170327165817.GA28494@bombadil.infradead.org> <20170329081219.lto7t4fwmponokzh@hirez.programming.kicks-ass.net> <20170329105928.609bc581@redhat.com> <20170329091949.o2kozhhdnszgwvtn@hirez.programming.kicks-ass.net> <20170329181226.GA8256@bombadil.infradead.org> <20170329211144.3e362ac9@redhat.com> <20170329214441.08332799@redhat.com> <20170330130436.l37yazbxlrkvcbf3@techsingularity.net> <20170330170708.084bd16c@redhat.com> <20170403120506.y7z3cncyi65bcgen@techsingularity.net> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1616713 |
Show key headers only | View raw
On Mon, Apr 03, 2017 at 01:05:06PM +0100, Mel Gorman wrote: > > Started performance benchmarking: > > 163 cycles = current state > > 183 cycles = with BH disable + in_irq > > 218 cycles = with BH disable + in_irq + irqs_disabled > > > > Thus, the performance numbers unfortunately looks bad, once we add the > > test for irqs_disabled(). The slowdown by replacing preempt_disable > > with BH-disable is still a win (we saved 29 cycles before, and loose > > 20, I was expecting regression to be only 10 cycles). > > > > This surprises me because I'm not seeing the same severity of problems > with irqs_disabled. Your path is slower than what's currently upstream > but it's still far better than a revert. The softirq column in the > middle is your patch versus a full revert which is the last columnm > Any objection to resending the local_bh_enable/disable patch with the in_interrupt() check based on this data or should I post the revert and go back to the drawing board? -- Mel Gorman SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: in_irq_or_nmi() Peter Zijlstra <peterz@infradead.org> - 2017-03-29 10:20 +0200
Re: in_irq_or_nmi() Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-29 11:10 +0200
Re: in_irq_or_nmi() Peter Zijlstra <peterz@infradead.org> - 2017-03-29 11:30 +0200
Re: in_irq_or_nmi() Matthew Wilcox <willy@infradead.org> - 2017-03-29 20:20 +0200
Re: in_irq_or_nmi() Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-29 21:20 +0200
Re: in_irq_or_nmi() and RFC patch Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-29 21:50 +0200
Re: in_irq_or_nmi() and RFC patch Peter Zijlstra <peterz@infradead.org> - 2017-03-30 09:00 +0200
Re: in_irq_or_nmi() and RFC patch Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-30 09:20 +0200
Re: in_irq_or_nmi() and RFC patch Peter Zijlstra <peterz@infradead.org> - 2017-03-30 09:40 +0200
Re: in_irq_or_nmi() and RFC patch Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-30 11:50 +0200
Re: in_irq_or_nmi() and RFC patch Mel Gorman <mgorman@techsingularity.net> - 2017-03-30 15:10 +0200
Re: in_irq_or_nmi() and RFC patch Jesper Dangaard Brouer <brouer@redhat.com> - 2017-03-30 17:10 +0200
Re: in_irq_or_nmi() and RFC patch Mel Gorman <mgorman@techsingularity.net> - 2017-04-03 14:10 +0200
Re: in_irq_or_nmi() and RFC patch Mel Gorman <mgorman@techsingularity.net> - 2017-04-05 11:00 +0200
csiph-web