当前位置: 首页 > news >正文

女孩做网站工作辛苦吗谷歌seo是啥

女孩做网站工作辛苦吗,谷歌seo是啥,做网站哪家好 要钱,重庆网站设计开发培训1. 前言 这篇文章说明了如何在Linux内核中启用和配置IOMMU和SWOTLB。 当今的计算或者嵌入设备使用一种内存分区的方法进行外设的管理#xff0c;如显卡、PCI设备或USB设备#xff0c;都将设备映射为一段内存#xff0c;用于设备的读写。 传统意义上的IOMMU用于内存映射如显卡、PCI设备或USB设备都将设备映射为一段内存用于设备的读写。 传统意义上的IOMMU用于内存映射在系统初始化时就已设置并且在系统运行时不能动态更改因此有一定的局限性所以芯片制造商如Intel和AMD开发了更先进的内存管理方法。 在Linux内核中我们可以使用Intel的SWOTLB和AMD架构的其他机制来操作IOMMU。64位的系统已经能够使系统使用大量内存范围但是这些内存需要在使用之前都需要进行映射。 2. IOMMU 近年来制造商已经将IOMMU集成到CPU中这也为我们升级内存速度、类型提供了便利从而不需要再更换CPU。当然内核仍需要设置并读取映射才能有效地使用系统内存。 2.1 使能IOMMU IOMMU是一个硬件模块在使用之前需要先配置使能它具体如下所示 Device Drivers --- [*] IOMMU Hardware Support --- Generic IOMMU Pagetable Support ---- [*] AMD IOMMU support [*] Export AMD IOMMU statistics to debugfs AMD IOMMU Version 2 driver [*] Support for Intel IOMMU using DMA Remapping Devices [*] Support for Shared Virtual Memory with Intel IOMMU [*] Enable Intel DMA Remapping Devices by default [*] Support for Interrupt Remapping 2.2 配置IOMMU 需要在内核命令行中添加以下用于控制内存映射各方面的选项以使其生效。具体操作取决于系统的引导加载程序。常见的引导加载程序包括GRUB和Lilo。 有关引导加载程序的更多信息可以在这里找到Category:Bootloaders - Gentoo wiki 2.2.1 Generic options AttributeDescription and optionsiommuoff This disables the IOMMU driver completely.iommunoforce Dont force hardware IOMMU usage when it is not needed.iommuforce The use of the hardware IOMMU even when it is not actually needed (e.g. because 3 GB memory).iommusoft Use software bounce buffering (SWIOTLB) (default for Intel machines). This can be used to prevent the usage of an available hardware IOMMU. (read bellow for Intel SWIOTLB). 2.2.2 AMD64 systems AttributeDescription and optionsamd_iommunofullflush,amd_iommufullflush,amd_iommuoff,amd_iommuforce_isolationEnable flushing of IO/TLB entries they are unmapped. Otherwise they are flushed before they will be reused, which is a lot of faster.off do not initialize any AMD IOMMU found in the system.force_isolation Force device isolation for all devices. The IOMMU driver is not allowed anymore to lift isolation requirements as needed. This option does not override iommupt.amd_iommu_dump0,amd_iommu_dump1This is a boolean option: 0 disabled, 1 enabled This is to dump the ACPI table for AMD IOMMU. With this option enabled, AMD IOMMU driver will print ACPI tables for AMD IOMMU during IOMMU initialization.amd_iommu_intrlegacy,amd_iommu_intrvapicSpecifies one of the following AMD IOMMU interrupt remapping modes:legacy Use legacy interrupt remapping.mode.vapic Use virtual APIC mode, which allows IOMMU to inject interrupts directly into guest. This mode requires kvm-amd.avic1. (Default when IOMMU HW support is present.) 2.2.3 Intel systems Intel generally adopts an-always-enable-it-if-it-is-supported rule so most options are to turn off or disable the IOMMU functions. AttributeDescription and optionsintel_iommuon,intel_iommuoffThis is a boolean option: on enabled, off disabled.intel_iommuigfx_off This option turns off mapping for a graphics card and is the default state for this option. The gfx is mapped as normal device. If a gfx device has a dedicated DMAR unit, the DMAR unit is bypassed by not enabling DMAR with this option. In this case the gfx device will use physical address for DMA.intel_iommuforcedac With this option iommu will not optimize to look for io virtual address below 32-bit forcing dual address cycle on pci bus for cards supporting greater than 32-bit addressing. The default is to look for translation below 32-bit and if not available then look in the higher range.intel_iommustrict The default setting for this is disabled. This option on every unmap_single operation will result in a hardware IOTLB flush operation as opposed to batching them for performance.intel_iommusp_off Super Page which is by default enabled if supported, you can turn this off using this option.intel_iommuecs_off By default, extended context tables will be supported if the hardware advertises that it has support both for the extended tables themselves, and also PASID support. With this option set, extended tables will not be used even on hardware which claims to support them. 3. SWIOTLB SWOTLB是Intel的一项技术它有点绕过了IOMMU并提供了一个可配置内存管理的接口。无需深入探讨其工作原理页面表被缓存到Lookaside Buffer减少了不断访问物理内存以进行内存映射的需求。这项技术也被称为bounce buffer因为内存映射的物理地址保存在这个虚拟空间中I/O在物理I/O和物理内存之间通过virtual lookaside buffer进行bounce。这使得内存映射可以快速进行更快地提供可用的物理内存空间。 每个IO TLB称为一个“slab”可以在内核头文件swiotlb.h中找到 /usr/src/linux-*/include/linux/swiotlb.h * Maximum allowable number of contiguous slabs to map, * must be a power of 2. What is the appropriate value ? * The complexity of {map,unmap}_single is linearly dependent on this value. #define IO_TLB_SEGSIZE 128 * log of the size of each IO TLB slab. The number of slabs is command line * controllable. * 这意味着1MB将是8个slabs作为启动参数使用的值是以slabs为单位而不是以大小为单位。 AttributeDescription and optionsswiotlbnth amount of slabs This specifies the amount of slabs to be used by IOTLB, each slab consists of 128K each which is 8 slabs per 1Mb(1024K), so a 64MB SWIOTLB would consist of 512 slabs. You can increase or decrease this value to allow for more buffering of virtual memory addresses in the buffer or not. Default is 64MB or 512 slabs.swiotlbforce This option will force all system IO through the SWIOTLB so there will be no IOMMU controlled by the BIOS or the IOMMU driver elsewhere if one existed.
http://www.eeditor.cn/news/125776/

相关文章:

  • 网站建设图书馆管理系统WordPress添加CA
  • 教人做饮料的网站企业网络搭建毕业设计
  • 江东网站制作怎么做好邯郸网站建设
  • 网站制作技术人员低价网站建设哪个好
  • 网站速度对seo的影响全国建设工程造价管理系统
  • 做羊水亲子鉴定网站邢台市有几个区几个县
  • 站长查询站长工具网页编程入门
  • 开发一平方多少钱秦皇岛网络优化排名
  • 湖南专业外贸建站公司网站建设客户确认单
  • 蚌埠公司做网站公司名称大全免费取名
  • 阿里云服务器可以做几个网站电影资源网站建设
  • 网站开发专业课程软件工程师发展前景
  • 成功案例展示网站dedecms做网站教程
  • 做网站怎么配电脑低价网站建设哪家更好
  • 阳江网站制作建设医疗器械监督管理条例2021
  • 官方网站建设制作平台金华建设银行网站
  • 建专业外贸网站深圳网站建设.-方维网络
  • 做网站的技术体系先做网站再备案吗
  • 无锡网站制作公司排名亚马逊做网站
  • qq空间破解版seo百度刷排名
  • 济宁个人网站建设价格便宜合肥建设网站
  • 成都三合一网站建设店面设计师哪里找
  • 网站备案之前需要建好网站吗在线制作钓鱼网站源码
  • 网站建设关健词优化网络公司怎么样现在有哪家建筑公司招人
  • 滨海新区商城网站建设域名服务器地址查询
  • 哪个建设网站好广东深圳
  • 邢台网站制作地方兰州做网站优化的公司
  • 鞍山手机网站建设在哪个网站做注册资本变更
  • 网站美工效果图怎么做鞍山哪里做网站
  • 给设计网站做图是商用吗免费空间刷赞