Resource processing method and device for a multi-core operating system

    公开(公告)号:US10180843B2

    公开(公告)日:2019-01-15

    申请号:US15175742

    申请日:2016-06-07

    Abstract: A resource processing method, an operating system, and a device are provided. The method is applied to a multi-core operating system, where the multi-core operating system includes a management operating system and multiple load operating systems that run on a host machine and includes a physical resource pool. According to the method, after selecting, in processor cores allocated to a first load operating system, a startup processor core that starts up the first load operating system, the management operating system instructs the startup processor core to read a mapping relationship that is from a virtual memory address to a physical memory address and that is required for executing a startup mirror of the first load operating system. Then, the management operating system instructs the startup processor core to execute the startup mirror pre-constructed for the first load operating system to start up the first load operating system.

    Method and Apparatus for Accessing Hardware Resource
    3.
    发明申请
    Method and Apparatus for Accessing Hardware Resource 有权
    用于访问硬件资源的方法和装置

    公开(公告)号:US20160224399A1

    公开(公告)日:2016-08-04

    申请号:US15059380

    申请日:2016-03-03

    Abstract: A method and an apparatus for accessing a hardware resource are provided. The method includes configuring permission for one or more privileged instructions that are used for hardware access such that when the privileged instructions are used by a user mode application program, the application program can access a hardware resource without trapping into a kernel, and executing the privileged instructions that are encapsulated in the privileged application programming interface (API) that is called at the code level by the application program , and a privileged instruction for direct access to a hardware resource is set and encapsulated into an API, which is deployed in user space in order to reduce system overheads for accessing the hardware resource and improve processing efficiency.

    Abstract translation: 提供了一种用于访问硬件资源的方法和装置。 该方法包括配置用于硬件访问的一个或多个特权指令的许可,使得当用户模式应用程序使用特权指令时,应用程序可以访问硬件资源而不会陷入内核,并执行特权 封装在由应用程序在代码级调用的特权应用程序编程接口(API)中的指令以及用于直接访问硬件资源的特权指令被设置并封装到部署在用户空间中的API 以减少用于访问硬件资源的系统开销并提高处理效率。

    Global memory sharing method and apparatus, and communications system

    公开(公告)号:US09652150B2

    公开(公告)日:2017-05-16

    申请号:US14739497

    申请日:2015-06-15

    Abstract: A global memory sharing method includes counting, by the sub-operating system, a page replacement rate in a task scheduling period of a predetermined quantity of times, and a memory residence time ratio in a page replacement period; calculating, by the sub-operating system, a memory pressure index according to the page replacement rate and the memory residence time ratio; and if the memory pressure index is greater than a memory pressure threshold, sending, by the sub-operating system, an application to a global memory management service module. According to the forgoing method, in an architecture of multiple operating systems, each sub-operating system can complete much adaptive work, which reduces complexity of the global memory management service module and improves system performance. Meanwhile, a utilization rate of global memory may be improved, and the architecture of the multiple operating systems may have better extensibility.

    Global Memory Sharing Method and Apparatus, and Communications System
    5.
    发明申请
    Global Memory Sharing Method and Apparatus, and Communications System 有权
    全局内存共享方法与设备及通信系统

    公开(公告)号:US20150277772A1

    公开(公告)日:2015-10-01

    申请号:US14739497

    申请日:2015-06-15

    Abstract: A global memory sharing method includes counting, by the sub-operating system, a page replacement rate in a task scheduling period of a predetermined quantity of times, and a memory residence time ratio in a page replacement period; calculating, by the sub-operating system, a memory pressure index according to the page replacement rate and the memory residence time ratio; and if the memory pressure index is greater than a memory pressure threshold, sending, by the sub-operating system, an application to a global memory management service module. According to the forgoing method, in an architecture of multiple operating systems, each sub-operating system can complete much adaptive work, which reduces complexity of the global memory management service module and improves system performance. Meanwhile, a utilization rate of global memory may be improved, and the architecture of the multiple operating systems may have better extensibility.

    Abstract translation: 一种全局存储器共享方法,包括:在所述子操作系统中,在预定次数的任务调度期间中对所述页更换率进行计数,以及在页替换期间计数存储器停留时间比; 由子操作系统根据页更换率和存储器停留时间比计算存储器压力指数; 并且如果存储器压力指数大于存储器压力阈值,则由子操作系统将应用发送到全局存储器管理服务模块。 根据前述方法,在多操作系统的架构中,每个子操作系统可以完成大量的自适应工作,降低了全局内存管理服务模块的复杂性,提高了系统性能。 同时,可以提高全局存储器的利用率,并且多个操作系统的架构可以具有更好的可扩展性。

    COMPUTER INSTRUCTION PROCESSING METHOD, COPROCESSOR, AND SYSTEM

    公开(公告)号:US20180107489A1

    公开(公告)日:2018-04-19

    申请号:US15844191

    申请日:2017-12-15

    Abstract: Embodiments of the present application disclose a computer instruction processing method, a coprocessor, and a system. The computer instruction processing method includes: receiving, by a coprocessor, a first instruction set migrated by a central processing unit CPU; acquiring, according to the first instruction set that is applicable to the CPU for execution, a second instruction set for execution in the coprocessor; and executing binary codes in the second instruction set. In this way, the coprocessor that executes the second instruction set substitutes for the CPU that executes the first instruction set, CPU load is reduced, and usage of the coprocessor is improved.

    Method and apparatus for accessing hardware resource
    7.
    发明授权
    Method and apparatus for accessing hardware resource 有权
    用于访问硬件资源的方法和装置

    公开(公告)号:US09529650B2

    公开(公告)日:2016-12-27

    申请号:US15059380

    申请日:2016-03-03

    Abstract: A method and an apparatus for accessing a hardware resource are provided. The method includes configuring permission for one or more privileged instructions that are used for hardware access such that when the privileged instructions are used by a user mode application program, the application program can access a hardware resource without trapping into a kernel, and executing the privileged instructions that are encapsulated in the privileged application programming interface (API) that is called at the code level by the application program , and a privileged instruction for direct access to a hardware resource is set and encapsulated into an API, which is deployed in user space in order to reduce system overheads for accessing the hardware resource and improve processing efficiency.

    Abstract translation: 提供了一种用于访问硬件资源的方法和装置。 该方法包括配置用于硬件访问的一个或多个特权指令的许可,使得当用户模式应用程序使用特权指令时,应用程序可以访问硬件资源而不会陷入内核,并执行特权 封装在由应用程序在代码级调用的特权应用程序编程接口(API)中的指令以及用于直接访问硬件资源的特权指令被设置并封装到部署在用户空间中的API 以减少用于访问硬件资源的系统开销并提高处理效率。

    Method and apparatus for implementing device sharing

    公开(公告)号:US10701159B2

    公开(公告)日:2020-06-30

    申请号:US15186168

    申请日:2016-06-17

    Abstract: A method and an apparatus for implementing device sharing, which are applied to a local system in a heterogeneous system that includes the local system and a peer system, where the peer system have a peripheral device. The method executed by the local system includes: acquiring identifier information of a peripheral device of the peer system; generating according to the acquired identifier information and according to a message format that can be locally identified, an operation request against the peripheral device managed by the peer system; and parsing out from the operation request, a request message including a parameter necessary to generate the operation request, and notifying the peer system of the request message. According to the method, the local system can access a peripheral device of the peer system, thereby implementing peripheral device sharing in the heterogeneous system.

    Computer instruction processing method, coprocessor, and system

    公开(公告)号:US10514929B2

    公开(公告)日:2019-12-24

    申请号:US15844191

    申请日:2017-12-15

    Abstract: Embodiments of the present application disclose a computer instruction processing method, a coprocessor, and a system. The computer instruction processing method includes: receiving, by a coprocessor, a first instruction set migrated by a central processing unit CPU; acquiring, according to the first instruction set that is applicable to the CPU for execution, a second instruction set for execution in the coprocessor; and executing binary codes in the second instruction set. In this way, the coprocessor that executes the second instruction set substitutes for the CPU that executes the first instruction set, CPU load is reduced, and usage of the coprocessor is improved.

    Remote resource access method and switching device

    公开(公告)号:US10216664B2

    公开(公告)日:2019-02-26

    申请号:US15460923

    申请日:2017-03-16

    Abstract: A remote resource access method and a switching device are provided. According to the remote resource access method, when a computer system access the remote physical resource device, after obtaining a first access message, including a virtual address of a virtual resource device, from a computing node in the computer system, the switching device converts the first access message into a second access message based on a physical address of a physical resource device corresponding to the virtual address of the virtual resource device. Then, the switching device sends the second access message to the remote physical resource device corresponding to the physical address using a network, thereby implementing the data transmission between the local computer system and the remote physical resource device.

Patent Agency Ranking