【问题标题】:Select CPU type to install right flavor of FAX for asterisk选择 CPU 类型以安装适合星号的 FAX
【发布时间】:2014-05-29 09:14:48
【问题描述】:

(与this问题有关,但不完全相同)

为了安装 FAX for asterisk,我需要 select 我的 cpu 类型。我有以下选择:

  • 巴塞罗那
  • 诺科纳
  • 核心2
  • 通用
  • 皓龙
  • opteron_sse3

我猜这是指GCC flag CPU_TYPE。我的系统给了我这个:

root@host1:~# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
CPU(s):                4
Thread(s) per core:    1
Core(s) per socket:    4
CPU socket(s):         1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 26
Stepping:              5
CPU MHz:               2132.901
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              4096K

root@host1:~# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5506  @ 2.13GHz
stepping        : 5
cpu MHz         : 2132.901
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 4265.80
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:
...

(在所有 4 个内核中)

但我在任何地方都没有看到对barcelona/opteron/... 的任何引用。如何知道我的 CPU_TYPE 是什么?

【问题讨论】:

  • 没有评论的否决票?去图...

标签: gcc cpu asterisk


【解决方案1】:
【解决方案2】:

不确定它是否仍然有效(旧项目),但对于这种特定于 Asterisk 的案例,您可以使用 benchfax 测试每种架构并找出哪一种效果最好。从http://downloads.digium.com/pub/telephony/fax/benchfax/获取它

README 有更多信息。

【讨论】:

    猜你喜欢
    • 2011-06-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多