lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 8 May 2024 03:02:49 +0000
From: 付元力 Jerry Fu <fuyuanli@...iglobal.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: "mingo@...hat.com" <mingo@...hat.com>, "peterz@...radead.org"
	<peterz@...radead.org>, "juri.lelli@...hat.com" <juri.lelli@...hat.com>,
	"vincent.guittot@...aro.org" <vincent.guittot@...aro.org>,
	"dietmar.eggemann@....com" <dietmar.eggemann@....com>, "rostedt@...dmis.org"
	<rostedt@...dmis.org>, "bsegall@...gle.com" <bsegall@...gle.com>,
	"mgorman@...e.de" <mgorman@...e.de>, "bristot@...hat.com"
	<bristot@...hat.com>, "vschneid@...hat.com" <vschneid@...hat.com>,
	"kolyshkin@...il.com" <kolyshkin@...il.com>, "akpm@...ux-foundation.org"
	<akpm@...ux-foundation.org>, "kent.overstreet@...ux.dev"
	<kent.overstreet@...ux.dev>, "frederic@...nel.org" <frederic@...nel.org>,
	"oleg@...hat.com" <oleg@...hat.com>, "hca@...ux.ibm.com" <hca@...ux.ibm.com>,
	"paulmck@...nel.org" <paulmck@...nel.org>, "tj@...nel.org" <tj@...nel.org>,
	"bigeasy@...utronix.de" <bigeasy@...utronix.de>, "CruzZhao@...ux.alibaba.com"
	<CruzZhao@...ux.alibaba.com>, "pabeni@...hat.com" <pabeni@...hat.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: Introduce task_struct::latency_sensi_flag.

Sure, my first thought is providing a way to have a
low-latency task if user does not want to enable 
napi threaded. Once it is enabled, which will affect
all system. I want to have a low-latency task while 
minimizing the impact on the system.

Thanks
fuyuanli

在 2024/5/6 下午10:04,“Jakub Kicinski”<kuba@...nel.org <mailto:kuba@...nel.org>> 写入:


On Sun, 5 May 2024 11:06:15 +0800 fuyuanli wrote:
> A test has been made in two hosts named A and B. In A, several clients
> sent udp packets to a single server in B concurrently as fast as
> possible. In B, the IRQs of these flows were bound to CPU 0 by flow
> director, so there was always a triggered net_rx softirq on CPU 0. Then
> a test program was started in B, which was also bound to CPU 0, and
> keeped calling sendto() in a loop. Sampling with perf, results showed
> that about 25% of running time of test program was spent executing
> local_bh_enable() contained in syscall sendto(), but after setting
> latency_sensi_flag to 1, this proportion had been reduced to 0.5%.


Enable threaded NAPI, it will have the same effect.



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ