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-next>] [day] [month] [year] [list]
Message-ID: <CALx6S36qXcqhfFQVLWu2CgoJYQL6E-myvgBvDFxATA+NjX+qBA@mail.gmail.com>
Date:	Tue, 19 May 2015 13:38:35 -0700
From:	Tom Herbert <tom@...bertland.com>
To:	Ido Shamay <idos@...lanox.com>
Cc:	Amir Vadai <amirv@...lanox.com>,
	Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Default XPS settings in mlx4 driver

Hi Ido,

I'm looking at your patch "net/mlx4_en: Configure the XPS queue
mapping on driver load". We're testing a 40 CPU system and it looks
like XPS is being configured by default with forty queues 0-39 where
each xps_cpus is (1 << i). The problem is that this does not easily
align with RX queues and the TX completion interrupt for TX queue z
happens in interrupt for (z % num_rx_queues). So it looks like, the
default XPS doesn't respect the RX interrupt affinities, so we have TX
queues that are bound to a CPU on one numa node but have their TX
completions happen on another which is suboptimal. It would be nice if
the default XPS could take where the completion interrupt happens into
account somehow.

Looks like there's a few other drivers that are setting XPS, they
might have similar issue.

Thanks,
Tom
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ