硬件服务器processor是什么,服务器 CPU 8 Intel Core Processor (Haswell, no TSX) 指标说明...

英特尔第四代CPU架构(Haswell):

Haswell的最高端核芯显卡GT3系列在移动版Core i7使用,而中端的GT2则分配给桌面版的Core i系列处理器,而最低端的奔腾、赛扬搭载GT1。此外,Haswell将会使用LGA1150插座,无法和LGA1155替换。制程方面,Haswell继续使用IVB的22nm制程。

Intel的TSX指令集:

针对粗细粒度线程锁定的。在多核多线程处理器中,有一个比较明显的问题,就是多线程对某一资源都需要调用的时候,需要仲裁。当一个线程调用该资源时,另一线程就无法调用,如果调用了,就会发生错误。而如今的程序员,为了防止线程争抢,发生错误,都用粗粒度锁定——也就是该线程占用的绝大多数资源,其他线程都不得争抢。这样也导致了一些,本不需锁定的资源,也被锁定了,其他线程利用不了,降低了多核多线程处理器的多线程性能。

TSX指令集就是要让程序员或开发工具更方便、准确地进行细粒度锁定,让资源更有效地使用。对于当今的多核处理器,是个好东西。

CUP性能指标,运算速度

物理CPU,插槽上的CPU个数,物理cpu数量等于不同physical id的个数。

逻辑CPU,/proc/cpuinfo是用来存储cpu硬件信息的,信息内容分别列出了processor 0到 processor n-1的规格,n是逻辑cpu数。一般情况,一颗cpu可以有多核,加上intel的超线程技术(HT),可以在逻辑上再分几倍数量的cpu core出来。

逻辑CPU数量 = 物理cpu数量 x cpu cores这个规格值 x siblings/cpu cores(如果支持并支持超线程,此值大于1)。

核心数只是衡量CPU性能的参数之一,物理CPU个数 X cpu cores = 逻辑CPU的个数。

CUP性能指标,主频:

主频也叫时钟频率,单位是MHz(或GHz),用来表示CPU的运算、处理数据的速度。CPU的主频=外频×倍频系数。

CPU的工作频率,一个时钟周期完成的指令数是固定的,所以主频越高,CPU的速度也就越快了。

CUP性能指标,外频:

外频是CPU的基准频率,单位是MHz。CPU的外频决定着整块主板的运行速度。通俗地说,在台式机中,所说的超频,都是超CPU的外频。

CUP性能指标,倍频系数:

倍频系数是指CPU主频与外频之间的相对比例关系。在相同的外频下,倍频越高CPU的频率也越高。但实际上,在相同外频的前提下,高倍频的CPU本身意义并不大。CPU与系统之间数据传输速度是有限的,一味追求高倍频而得到高主频的CPU就会出现明显的“瓶颈”效应——CPU从系统中得到数据的极限速度不能够满足CPU运算的速度。

CUP性能指标,缓存:

CPU缓存(Cache Memory)是位于CPU与内存之间的临时存储器,它的容量比内存小的多但是交换速度却比内存要快得多。高速缓存的出现主要是为了解决CPU运算速度与内存读写速度不匹配的矛盾,因为CPU运算速度要比内存读写速度快很多,这样会使CPU花费很长时间等待数据到来或把数据写入内存。

CPU缓存越大越好。

查看CPU信息(型号):

cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

查看CPU位数(32 or 64):

#echo $HOSTTYPE

#getconf LONG_BIT

查看CPU的主频:

cat /proc/cpuinfo |grep MHz|uniq

# cat /proc/cpuinfo |grep MHz|uniq

cpu MHz         : 2398.610

查看 CPU  型号:

dmidecode -s processor-version

查看CPU信息: # cat /proc/cpuinfo# cat /proc/cpuinfo

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 1

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 2

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 3

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 4

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 5

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 6

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 7

vendor_id       : GenuineIntel

cpu family      : 6

model           : 60

model name      : Intel Core Processor (Haswell, no TSX)

stepping        : 1

cpu MHz         : 2398.610

cache size      : 4096 KB

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good unfair_spinlock pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4797.22

clflush size    : 64

cache_alignment : 64

address sizes   : 40 bits physical, 48 bits virtual

power management:

查看内存信息: # cat /proc/meminfo# cat /proc/meminfo

MemTotal:       32880596 kB

MemFree:        14997716 kB

Buffers:          361312 kB

Cached:          7947376 kB

SwapCached:            0 kB

Active:         13846644 kB

Inactive:        3488396 kB

Active(anon):    9026496 kB

Inactive(anon):        8 kB

Active(file):    4820148 kB

Inactive(file):  3488388 kB

Unevictable:           0 kB

Mlocked:               0 kB

SwapTotal:        835576 kB

SwapFree:         835576 kB

Dirty:                32 kB

Writeback:             0 kB

AnonPages:       9026348 kB

Mapped:            41588 kB

Shmem:               192 kB

Slab:             302628 kB

SReclaimable:     270956 kB

SUnreclaim:        31672 kB

KernelStack:        6880 kB

PageTables:        24020 kB

NFS_Unstable:          0 kB

Bounce:                0 kB

WritebackTmp:          0 kB

CommitLimit:    17275872 kB

Committed_AS:   31405768 kB

VmallocTotal:   34359738367 kB

VmallocUsed:       65024 kB

VmallocChunk:   34359670392 kB

HardwareCorrupted:     0 kB

AnonHugePages:   8863744 kB

HugePages_Total:       0

HugePages_Free:        0

HugePages_Rsvd:        0

HugePages_Surp:        0

Hugepagesize:       2048 kB

DirectMap4k:        6012 kB

DirectMap2M:     2091008 kB

DirectMap1G:    31457280 kB

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值