netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Serious performance degradation in Linux 4.15
@ 2018-02-09 17:59 Jon Maloy
  2018-02-10 14:01 ` Peter Zijlstra
  2018-02-12 15:16 ` Peter Zijlstra
  0 siblings, 2 replies; 11+ messages in thread
From: Jon Maloy @ 2018-02-09 17:59 UTC (permalink / raw)
  To: netdev@vger.kernel.org, peterz@infradead.org, mingo@kernel.org
  Cc: David Miller (davem@davemloft.net)

The two commits 
d153b153446f7 (" sched/core: Fix wake_affine() performance regression") and
f2cdd9cc6c97 ("sched/core: Address more wake_affine() regressions")
are causing a serious performance degradation in Linux 4.5.

The effect is worst on TIPC, but even TCP is affected, as the figures below show. 


Command for TCP:
"netperf TCP_STREAM (netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TCP_STREAM -l 10 -- -O THROUGHPUT)"

v4.15-rc1 without f2cdd9cc6c97e, d153b153446f7:   1293.67
V4.15 with the two commits:                                           1104.58 

i.e., a degradation of 17 % for TCP

Command for TIPC:
"netperf TIPC_STREAM (netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TCP_STREAM -l 10 -- -O THROUGHPUT)"

v4.15-rc1 without f2cdd9cc6c97e, d153b153446f7:   786.22
V4.15 with the two commits:                                           223.18

i.e., a degradation of 71 % 

This is really bad, and I hope you have a plan for reintroducing this in some form.

BR
Jon Maloy







	v4.15-rc1->latest	diff (%)
"netperf TCP_STREAM (netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TCP_STREAM -l 10 -- -O THROUGHPUT)"	1293.67	1104.58	-14.62%
"benchmark TIPC
(client_bench -c 1 -m 65000 -t)"	786.67	215.67	-72.58%
"netperf TIPC_STREAM
(netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TIPC_STREAM -l 10 -- -O THROUGHPUT)"	786.22	223.18	-71.61%

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-02-16 16:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-09 17:59 Serious performance degradation in Linux 4.15 Jon Maloy
2018-02-10 14:01 ` Peter Zijlstra
2018-02-12 15:16 ` Peter Zijlstra
2018-02-13  8:14   ` Jon Maloy
2018-02-14 22:46   ` Matt Fleming
2018-02-15  8:38     ` Peter Zijlstra
2018-02-16 10:09     ` Peter Zijlstra
2018-02-16 10:17     ` Peter Zijlstra
2018-02-16 10:49       ` Mel Gorman
2018-02-16 14:38     ` Matt Fleming
2018-02-16 16:48       ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).