Chinaunix首页 | 论坛 | 博客
  • 博客访问: 971216
  • 博文数量: 109
  • 博客积分: 1751
  • 博客等级: 上尉
  • 技术积分: 1817
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-31 22:37
文章分类

全部博文(109)

文章存档

2014年(9)

2013年(21)

2012年(48)

2011年(31)

分类: LINUX

2011-06-16 22:47:39

1,实例
a, AMD双核
-----------------------------------------------------------------------------------------------
#cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 107
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
-----------------------------------------------------------------------------------------------
#cat /proc/interrupts
           CPU0       CPU1       
  0:         46          4   IO-APIC-edge      timer
  1:        341        271   IO-APIC-edge      i8042
  4:          0          2   IO-APIC-edge    
  6:       2135        589   IO-APIC-edge      floppy
  7:          1          0   IO-APIC-edge      parport0
  8:          0          1   IO-APIC-edge      rtc0
  9:          0          0   IO-APIC-fasteoi   acpi
 12:       1354       4565   IO-APIC-edge      i8042
 14:         47      14372   IO-APIC-edge      pata_atiixp
 15:          0          0   IO-APIC-edge      pata_atiixp
 16:         17       1216   IO-APIC-fasteoi   ohci_hcd:usb3, ohci_hcd:usb4, HDA Intel
 17:      41546     137313   IO-APIC-fasteoi   ehci_hcd:usb1
 18:          0          0   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7
 19:          0         44   IO-APIC-fasteoi   ehci_hcd:usb2, HDA Intel
 22:          0          3   IO-APIC-fasteoi   ohci1394
 26:          0          0   PCI-MSI-edge      eth0
 27:      14636       7751   PCI-MSI-edge      ahci
 28:          0          0   PCI-MSI-edge      fglrx[0]@PCI:1:5:0
NMI:          0          0   Non-maskable interrupts
LOC:      98383      68116   Local timer interrupts
SPU:          0          0   Spurious interrupts
PMI:          0          0   Performance monitoring interrupts
PND:          0          0   Performance pending work
RES:     239461     133787   Rescheduling interrupts
CAL:       1171        113   Function call interrupts
TLB:       1997       2817   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
MCE:          0          0   Machine check exceptions
MCP:          4          4   Machine check polls
ERR:          3
MIS:          0
-----------------------------------------------------------------------------------------------
#cat /proc/irq/14/smp_affinity
3
b, intel P4 dual core
#cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Intel(R) Pentium(R) 4 CPU 3.60GHz
stepping        : 4
cpu MHz         : 3600.064
cache size      : 2048 KB
#APIC debug message
[    0.211738] printing local APIC contents on CPU#0/0:
[    0.211782] ... APIC ID:      00000000 (0)
[    0.211824] ... APIC VERSION: 00050014
[    0.211866] ... APIC TASKPRI: 00000000 (00)
[    0.211908] ... APIC PROCPRI: 00000000
[    0.211949] ... APIC LDR: 01000000
[    0.211991] ... APIC DFR: ffffffff
[    0.212001] ... APIC SPIV: 000001ff
[    0.212001] ... APIC ISR field:
[    0.212001] 0000000000000000000000000000000000000000000000000000000000000000
[    0.212001] ... APIC TMR field:
[    0.212001] 0000000000000000000000000000000000000000000000000000000000000000
[    0.212001] ... APIC IRR field:
[    0.212001] 0000000000000000000000000000000000000000000000000000000000008000
[    0.212001] ... APIC ESR: 00000000
[    0.212001] ... APIC ICR: 000008fd
[    0.212001] ... APIC ICR2: 02000000
[    0.212001] ... APIC LVTT: 000200ef
[    0.212001] ... APIC LVTPC: 00010000
[    0.212001] ... APIC LVT0: 00010700
[    0.212001] ... APIC LVT1: 00000400
[    0.212001] ... APIC LVTERR: 000000fe
[    0.212001] ... APIC TMICT: 0000c352
[    0.212001] ... APIC TMCCT: 00007cf8
[    0.212001] ... APIC TDCR: 00000003
[    0.212001] 
[    0.211991] printing local APIC contents on CPU#1/1:
[    0.211991] ... APIC ID:      01000000 (1)
[    0.211991] ... APIC VERSION: 00050014
[    0.211991] ... APIC TASKPRI: 00000000 (00)
[    0.211991] ... APIC PROCPRI: 00000000
[    0.211991] ... APIC LDR: 02000000
[    0.211991] ... APIC DFR: ffffffff
[    0.211991] ... APIC SPIV: 000001ff
[    0.211991] ... APIC ISR field:
[    0.211991] 0000000000000000000000000000000000000000000000000000000000000000
[    0.211991] ... APIC TMR field:
[    0.211991] 0000000000000000000000000000000000000000000000000000000000000000
[    0.211991] ... APIC IRR field:
[    0.211991] 0000000000000000000000000000000000000000000000000000000000000000
[    0.211991] ... APIC ESR: 00000000
[    0.211991] ... APIC ICR: 000008fd
[    0.211991] ... APIC ICR2: 01000000
[    0.211991] ... APIC LVTT: 000200ef
[    0.211991] ... APIC LVTPC: 00010000
[    0.211991] ... APIC LVT0: 00010700
[    0.211991] ... APIC LVT1: 00010400
[    0.211991] ... APIC LVTERR: 000000fe
[    0.211991] ... APIC TMICT: 0000c352
[    0.211991] ... APIC TMCCT: 000042a0
[    0.211991] ... APIC TDCR: 00000003
[    0.211991] 
[    0.213764] number of MP IRQ sources: 15.
[    0.213807] number of IO-APIC #2 registers: 24.
[    0.213850] testing the IO APIC.......................
[    0.213898] 
[    0.213935] IO APIC #2......
[    0.213976] .... register #00: 00000000
[    0.214022] .......    : physical APIC id: 00
[    0.214065] .......    : Delivery Type: 0
[    0.214107] .......    : LTS          : 0
[    0.214148] .... register #01: 00170020
[    0.214190] .......     : max redirection entries: 0017
[    0.214234] .......     : PRQ implemented: 0
[    0.214276] .......     : IO APIC version: 0020
[    0.214318] .... IRQ redirection table:
[    0.214359]  NR Dst Mask Trig IRR Pol Stat Dmod Deli Vect:   
[    0.214406]  00 000 1    0    0   0   0    0    0    00
[    0.216048]  01 003 0    0    0   0   0    1    1    31
[    0.214065] .......    : Delivery Type: 0
[    0.214107] .......    : LTS          : 0
[    0.214148] .... register #01: 00170020
[    0.214190] .......     : max redirection entries: 0017
[    0.214234] .......     : PRQ implemented: 0
[    0.214276] .......     : IO APIC version: 0020
[    0.214318] .... IRQ redirection table:
[    0.214359]  NR Dst Mask Trig IRR Pol Stat Dmod Deli Vect:   
[    0.214406]  00 000 1    0    0   0   0    0    0    00
[    0.216048]  01 003 0    0    0   0   0    1    1    31
[    0.216125]  02 003 0    0    0   0   0    1    1    30
[    0.216202]  03 003 0    0    0   0   0    1    1    33
[    0.216278]  04 003 0    0    0   0   0    1    1    34
[    0.216360]  05 003 0    0    0   0   0    1    1    35
[    0.216437]  06 003 0    0    0   0   0    1    1    36
[    0.216514]  07 003 0    0    0   0   0    1    1    37
[    0.216591]  08 003 0    0    0   0   0    1    1    38
[    0.216668]  09 003 0    1    0   0   0    1    1    39
[    0.216744]  0a 003 0    0    0   0   0    1    1    3A
[    0.216820]  0b 003 0    0    0   0   0    1    1    3B
[    0.216897]  0c 003 0    0    0   0   0    1    1    3C
[    0.216973]  0d 003 0    0    0   0   0    1    1    3D
[    0.217050]  0e 003 0    0    0   0   0    1    1    3E
[    0.217130]  0f 003 0    0    0   0   0    1    1    3F
[    0.217211]  10 000 1    0    0   0   0    0    0    00
[    0.217288]  11 000 1    0    0   0   0    0    0    00
[    0.217365]  12 000 1    0    0   0   0    0    0    00
[    0.217441]  13 000 1    0    0   0   0    0    0    00
[    0.217518]  14 000 1    0    0   0   0    0    0    00
[    0.217594]  15 000 1    0    0   0   0    0    0    00
[    0.217671]  16 000 1    0    0   0   0    0    0    00
[    0.217747]  17 000 1    0    0   0   0    0    0    00
[    0.217821] IRQ to pin mappings:
[    0.217862] IRQ0 -> 0:2
[    0.217962] IRQ1 -> 0:1
[    0.214234] .......     : PRQ implemented: 0
[    0.214276] .......     : IO APIC version: 0020
[    0.214318] .... IRQ redirection table:
[    0.214359]  NR Dst Mask Trig IRR Pol Stat Dmod Deli Vect:   
[    0.214406]  00 000 1    0    0   0   0    0    0    00
[    0.216048]  01 003 0    0    0   0   0    1    1    31
[    0.216125]  02 003 0    0    0   0   0    1    1    30
[    0.216202]  03 003 0    0    0   0   0    1    1    33
[    0.216278]  04 003 0    0    0   0   0    1    1    34
[    0.216360]  05 003 0    0    0   0   0    1    1    35
[    0.216437]  06 003 0    0    0   0   0    1    1    36
[    0.216514]  07 003 0    0    0   0   0    1    1    37
[    0.216591]  08 003 0    0    0   0   0    1    1    38
[    0.216668]  09 003 0    1    0   0   0    1    1    39
[    0.216744]  0a 003 0    0    0   0   0    1    1    3A
[    0.216820]  0b 003 0    0    0   0   0    1    1    3B
[    0.216897]  0c 003 0    0    0   0   0    1    1    3C
[    0.216973]  0d 003 0    0    0   0   0    1    1    3D
[    0.217050]  0e 003 0    0    0   0   0    1    1    3E
[    0.217130]  0f 003 0    0    0   0   0    1    1    3F
[    0.217211]  10 000 1    0    0   0   0    0    0    00
[    0.217288]  11 000 1    0    0   0   0    0    0    00
[    0.217365]  12 000 1    0    0   0   0    0    0    00
[    0.217441]  13 000 1    0    0   0   0    0    0    00
[    0.217518]  14 000 1    0    0   0   0    0    0    00
[    0.217594]  15 000 1    0    0   0   0    0    0    00
[    0.217671]  16 000 1    0    0   0   0    0    0    00
[    0.217747]  17 000 1    0    0   0   0    0    0    00
[    0.217821] IRQ to pin mappings:
[    0.217862] IRQ0 -> 0:2
[    0.217962] IRQ1 -> 0:1
[    0.218064] IRQ3 -> 0:3
[    0.218161] IRQ4 -> 0:4
[    0.218258] IRQ5 -> 0:5
[    0.218355] IRQ6 -> 0:6
[    0.218453] IRQ7 -> 0:7
[    0.218550] IRQ8 -> 0:8
[    0.218647] IRQ9 -> 0:9
[    0.218744] IRQ10 -> 0:10
[    0.218841] IRQ11 -> 0:11
[    0.218946] IRQ12 -> 0:12
[    0.219044] IRQ13 -> 0:13
[    0.219142] IRQ14 -> 0:14
[    0.219239] IRQ15 -> 0:15
[    0.219341] .................................... done.
[    0.219460] hpet clockevent registered
[    0.219504] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[    0.219554] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.219721] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[    0.224289] Switching to clocksource tsc
[    0.227062] AppArmor: AppArmor Filesystem Enabled
[    0.227124] pnp: PnP ACPI init
[    0.227197] ACPI: bus type pnp registered
[    0.229470] IOAPIC[0]: Set routing entry (2-8 -> 0x38 -> IRQ 8 Mode:0 Active:0)
[    0.229595] IOAPIC[0]: Set routing entry (2-13 -> 0x3d -> IRQ 13 Mode:0 Active:0)
[    0.230330] IOAPIC[0]: Set routing entry (2-7 -> 0x37 -> IRQ 7 Mode:0 Active:0)
[    0.230693] IOAPIC[0]: Set routing entry (2-12 -> 0x3c -> IRQ 12 Mode:0 Active:0)
[    0.230849] IOAPIC[0]: Set routing entry (2-1 -> 0x31 -> IRQ 1 Mode:0 Active:0)
[    0.231236] IOAPIC[0]: Set routing entry (2-4 -> 0x34 -> IRQ 4 Mode:0 Active:0)
阅读(2847) | 评论(0) | 转发(0) |
0

上一篇:x86中断系统

下一篇:proc文件系统使用

给主人留下些什么吧!~~