Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Allocation method and device of write combine attribute memory space

A technology of memory space and attribute memory, applied in the field of communication, can solve problems such as unreliability, damage to the starting address and memory size of memory space, and complex algorithms.

Active Publication Date: 2013-04-03
HUAWEI TECH CO LTD
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] However, modifying the MTRR attribute table must follow the rules that the memory size must be strictly an integer power of 2, and the memory start address must be aligned according to the memory size boundary. As a result, when adding a write-combining attribute to the memory space of a certain device, the memory may be destroyed. The starting address and memory size of other memory spaces after the space, so the subsequent memory spaces have to be re-divided
However, the subsequent memory space reallocation algorithm is complex and difficult to implement; moreover, it is not always possible to find a subsequent memory space reallocation method that satisfies the above rules. Therefore, the method of manually modifying the device memory space to write merge attributes is not reliable.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Allocation method and device of write combine attribute memory space
  • Allocation method and device of write combine attribute memory space
  • Allocation method and device of write combine attribute memory space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] It should be noted that the bootloader (bootloader) such as the basic input / output system (BIOS, Base Input / Output System) or the extensible firmware interface (EFI, Extensible Firmware Interface) is stored in a memory such as an erasable programmable read-only memory (EPROM, Erasable Programmable ROM) or electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable ROM), and the operating system is also a program stored in a memory such as a hard disk. The operating system and BIOS They are all run by the CPU. In the embodiment of the present invention, the execution subject is described as BIOS, or a boot device, or an operating system, etc., in order to distinguish which program is executed by the CPU to realize the specific processing of the steps.

[0109] In the prior art, the method for the BIOS to allocate write-combined attribute memory space for the device mainly includes the following steps:

[0110] Step 1: The BIOS allocate...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an allocation method and an allocation device of a write combine attribute memory space. The allocation method comprises the following steps of: during resource scanning of equipment, determining types and sizes of resources required by each set of equipment; after the resource scanning of all equipment, determining the total size of a write combine memory space required by all first equipment; determining an initial address used for allocating the write combine memory space to the first equipment; and jointly allocating a memory space to all first equipment and allocating a sub memory space to each first equipment from the memory space. By using the allocation method and the allocation device of the write combine attribute memory space provided by the embodiment of the invention, the write combine attribute memory space can be more reliably allocated to the equipment and the allocation method is relatively simple.

Description

technical field [0001] The present invention relates to the field of communications, in particular to a method and device for allocating write combine (WC, Write Combine) attribute memory space. Background technique [0002] Peripheral Component Interconnect Express (PCIe, Peripheral Component Interconnect Express) bus technology, as a solution for device interconnection in a system, has become very popular. PCIe bus technology has the characteristics of high performance, low latency, low power consumption, good scalability, and strong anti-interference ability. The current standard has evolved to PCIExpress V3.0, with a bus frequency of up to 8.0G and a data bit width of 32 lanes. , can provide up to 8.0*32*2=512Gbps transmission bandwidth. In view of the advantages of PCIe transmission, it has been applied to the interconnection between systems, and the non-transparent bridge (NTB, None transparent Bridge) technology has been derived. [0003] see figure 1 , is a struct...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/02
CPCG06F12/0223G06F2212/1044G06F2212/1056
Inventor 彭胜勇
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products