Chinaunix首页 | 论坛 | 博客
  • 博客访问: 52366
  • 博文数量: 17
  • 博客积分: 1420
  • 博客等级: 上尉
  • 技术积分: 197
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-03 20:34
文章分类
文章存档

2010年(16)

2009年(1)

我的朋友

分类: LINUX

2010-10-27 20:55:02

一直以来查各种资料都没有得到一个很明确的有关MSI中断方式和MSI-X中断方式的区别,今天看Broadcom的网卡手册意外看到这样一句:
 
MSI Version. This is the Message Signaled Interrupts (MSI) version being used. The option MSI corresponds to the PCI 2.2 specification that supports 32 messages and a single MSI address value. The option MSI-X corresponds to the PCI 3.0 specification that supports 2,048 messages and an independent message address for each message.
 
总算明白了,实际应用场景中,MSI方式的中断对多核cpu的利用情况不佳,网卡中断全部落在某一个cpu上,即使设置cpu affinity也没有作用,而MSI-X中断方式可以自动在多个cpu上分担中断。
阅读(3926) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-10-28 18:19:52

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com