List of AMD CPU microarchitectures

Tags: CPU  

  • AMD K5 - AMD's first original microarchitecture. The K5 was based on the AMD Am29000 micro architecture with the addition of an x86 decoder. Although the design was similar in idea to a Pentium Pro, the actual performance was more like that of a Pentium.
  • AMD K6 - The K6 was not based on the K5 and was instead based on the Nx686 processor that was being designed by NexGen when that company was bought by AMD. The K6 was generally pin-compatible with the Intel Pentium (unlike NexGen's existing processors).
  • AMD K6-2 - An improved K6 with the addition of the 3DNow! SIMD instructions.

leon Published by 2014-08-03 12:25

Detail »

pmu 性能分析

Tags: CPU   PMU  

1. 什么是PMU

Performance Monitor Unit,性能监视单元,其实CPU提供的一个单元,属于硬件的范畴。通过访问相关的寄存器能读取到CPU的一些性能数据,目前大部分CPU都会提供相应的PMU,下面主要学习Intel系列CPU的PMU。

leon Published by 2014-07-12 15:40

Detail »

RPL、DPL、CPL之间的关系

Tags: CPU   Linux   OS  

保护模式中最重要的一个思想就是通过分级把代码隔离了起来,不同的代码在不同的级别,使大多数情况下都只和同级代码发生关系。Intel 的80286以上的cpu可以识別4个特权级(或特权层) ,0级到3级。数值越大特权越小。一般用把系统内核放在0级,系统的其他服务程序位于1、2级,3级则是应用软件。一般情况下代码都在自己的级别下做自己 的工作,同一级别之间可以相互访问,而一般是不允许不同级别的代码间随意访问的。但有时候不同级别的程序之间一定要访问,比如系统的接口函数等,必须能够 使得应用程序能够随意调用。

leon Published by 2014-07-03 15:54

Detail »

TLB、cache与buffer的比较

Tags: CPU   TLB   CACHE  

1)TLB的概述

TLB是一个内存管理单元用于改进虚拟地址到物理地址转换速度的缓存.

TLB是位于内存中的页表的cache,如果没有TLB,则每次取数据都需要两次访问内存,即查页表获得物理地址和取数据.

Author:leon

lyan Published by 2014-07-03 15:38

Detail »

x86-64安全虚拟机构架

Tags: XEN   Virtualization   CPU  

AMD虚拟化(AMD-V?)构架安全虚拟机(Secure Virtual Machine,SVM)为企业级服务器虚拟软件技术设计,SVM在处理器上提供了硬件资源,允许单个机器更有效地运行多个操作系统,并维护安全和资源相互隔离。

虚拟机监视器(Virtual Machine Monitor,VMM)也称为系统管理程序(Hypervisor),由控制程序软件组成,用于控制在单个物理机器上运行的多个客户操作系统。VMM给 每个客户操作系统提供了完全的计算机系统控制,包括内存、CPU和其他周边设备。

leon Published by 2014-06-06 15:49

Detail »