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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAO_Xo6dG8C_-e4mHuKm12vQ7MVoYR8fPggK00T28i0JzqpDyA@mail.gmail.com>
Date:	Mon, 25 Mar 2013 14:46:03 +0800
From:	Lenky Gao <lenky.gao@...il.com>
To:	Lin Feng <linfeng@...fujitsu.com>
Cc:	linux-kernel@...r.kernel.org, yinghai@...nel.org, mingo@...e.hu,
	gorcunov@...il.com, rusty@...tcorp.com.au, sivanich@....com,
	agordeev@...hat.com
Subject: Re: Question: How to distribute the interrupts over multiple cores?

> Do you mean on your old machine the irq will be distributed automatically
> among the cpus set by smp_affinity?
>

Yes. My another machine's interrupts are as follows:

[root@...alhost ~]# cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Pentium(R) Dual-Core  CPU      E6700  @ 3.20GHz
...
[root@...alhost ~]# echo 3 > /proc/irq/18/smp_affinity
[root@...alhost ~]# cat /proc/irq/18/smp_affinity
3
[root@...alhost ~]# cat /proc/interrupts | grep eth2
  18:        455       458   IO-APIC-fasteoi   eth2
[root@...alhost ~]# cat /proc/interrupts | grep eth2
  18:        463       467   IO-APIC-fasteoi   eth2
[root@...alhost ~]# cat /proc/interrupts | grep eth2
  18:        471       476   IO-APIC-fasteoi   eth2


-- 
Regards,

Lenky
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ