Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Nov 2021 09:54:27 +0800
From: Yin Fengwei <>
To: Kees Cook <>, kernel test robot
CC: Mickaël Salaün <>,
	<>, <>, <>,
	<>, <>, Al Viro
	<>, Andrew Morton <>, "Aleksa
 Sarai" <>, Andy Lutomirski <>, Arnd Bergmann
	<>, Casey Schaufler <>, Christian Brauner
	<>, Christian Heimes <>,
	Deven Bowers <>, Dmitry Vyukov
	<>, Eric Biggers <>, Eric Chiang
	<>, Florian Weimer <>, "Geert
 Uytterhoeven" <>, James Morris <>, "Jan
 Kara" <>, Jann Horn <>, Jonathan Corbet
	<>, Lakshmi Ramasubramanian <>,
	"Madhavan T . Venkataraman" <>, Matthew Garrett
	<>, Matthew Wilcox <>, Miklos Szeredi
	<>, Mimi Zohar <>, Paul Moore
	<>, Philippe Trébuchet
	<>, Scott Shell <>, "Shuah
 Khan" <>, Steve Dower <>, Steve Grubb
	<>, Thibaut Sautereau <>,
	Vincent Strubel <>,
	<>, <>,
	<>, <>,
	<>, <>,
	Mickaël Salaün <>
Subject: Re: [fs] a0918006f9: netperf.Throughput_tps -11.6% regression

Hi Kees,

On 11/10/21 1:21 AM, Kees Cook wrote:
>>     555600            -0.1%     555305        netperf.Throughput_total_tps
>>      34725            -0.1%      34706        netperf.Throughput_tps
>> Fengwei also helped review these results and commented:
>> I suppose these three CPUs have different cache policy. It also could be
>> related with netperf throughput testing.
> Does moving the syscall implementation somewhere else change things?
> That's a _huge_ performance change for something that isn't even called.
> What's going on here?

We just tried to do trick change to make sure the new function doesn't
make other kernel function address changed. But didn't try to move around
the new function even it's not called. We could try to move it around to
see the impact to netperf throughput.

We tried the original patch (without change to make sure no kernel function
address patch) on other box. As report, the regression are different on
different CPUs like:
       -11.6% vs -5.7% vs 0.1%

So my guess is that the different CPUs on these test box have different
cache policies which cause different performance impact when kernel
functions/data address are different. 

Yes. This is strange. We don't know exact reason. Need deeper investigation
on this.

Yin, Fengwei

> -Kees

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.