Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression
From: Xin Long
Date: Wed Aug 17 2016 - 01:35:04 EST
>
> For commit a6c2f79287 ("sctp: implement prsctp TTL policy"), no matter
> the value of net.sctp.prsctp_enable, the throughput is almost the same:
>
> net.sctp.prsctp_enable = 0
> {
> "netperf.Throughput_Mbps": [
> 2353.3112499999997
> ]
> }
>
> net.sctp.prsctp_enable = 1
> {
> "netperf.Throughput_Mbps": [
> 2371.5862500000003
> ]
> }
>
> For its immediate parent:
> commit 826d253d57 ("sctp: add SCTP_PR_ASSOC_STATUS on sctp sockopt")
> No matter the value of net.sctp.prsctp_enable, the throughput is again
> almost the same:
>
> net.sctp.prsctp_enable = 0
> {
> "netperf.Throughput_Mbps": [
> 3838.8300000000004
> ]
> }
>
> net.sctp.prsctp_enable = 1
> {
> "netperf.Throughput_Mbps": [
> 3751.4600000000005
> ]
> }
>
> Does this result give any hint?
OK, if you disable prsctp_enable, commit a6c2f79287 really only adds
two if (), which definitely can't affect performance.
if it's really an issue, pls help to reverse the codes from commit a6c2f79287
little by little, rebuild kernel and try. you will find which line
exactly caused
the performance issue. it seems the only way to locate the issue, yet it's
only reproducable in your env.
Thanks.