Memory swapping method and apparatus

    公开(公告)号:US11928359B2

    公开(公告)日:2024-03-12

    申请号:US17867880

    申请日:2022-07-19

    Abstract: A memory swapping method and apparatus are provided. The method includes: selecting n to-be-swapped-out pages; compressing the n to-be-swapped-out pages into n compressed blocks, and buffering the n compressed blocks in a compressed data buffer area; organizing at least one of the n compressed blocks into m to-be-written units; and writing the m to-be-written units into a swap area of a non-volatile storage device in a maximum of m batches, where at least one of the m to-be-written units is stored in a segment of continuous space in the swap area. The method reduces a quantity of write times during memory swapping, thereby prolonging a service life of the non-volatile storage device.

    Method, apparatus and system for measuring network packet loss

    公开(公告)号:US09985856B2

    公开(公告)日:2018-05-29

    申请号:US14670905

    申请日:2015-03-27

    Abstract: Provided are a method, apparatus and system for measuring network packet loss, the method includes: acquiring data packet measurement information measured by at least one target logical port to a traffic stream, transmitting the data packet measurement information to a measurement control point, so that the measurement control point determine the condition of network packet loss according to the data packet measurement information. As a data collecting point acquires the data packet measurement information measured by at least one target logical port to the traffic stream, and uniformly transmits the data packet measurement information to the measurement control point, when multiple target logical ports respectively perform measurement to acquire respective data packet measurement information, the measurement control point uniformly determines condition of packet loss of the traffic stream. Therefore, accurate packet loss measurement can be performed on the traffic stream under the scenario of point-to-point, point-to-multipoint or multipoint-to-multipoint networks.

    System startup method and related device

    公开(公告)号:US11868631B2

    公开(公告)日:2024-01-09

    申请号:US17626331

    申请日:2020-07-09

    Abstract: A system startup method includes creating a first thread when a kernel driver in a kernel mode detects a first disk partition, reading, in the kernel mode, metadata of the first disk partition using the first thread, and writing the metadata of the first disk partition into a first page cache using the first thread. In the kernel mode, metadata of a disk partition is pre-cached into a page cache using the first thread, and in a subsequent process in a user mode, the metadata of the disk partition is directly read from the page cache. A storage area of the page cache is memory and has a higher read/write operation rate compared with a disk.

    Method, apparatus, and system for measuring network delay

    公开(公告)号:US10374925B2

    公开(公告)日:2019-08-06

    申请号:US14669513

    申请日:2015-03-26

    Abstract: A method, an apparatus, and a system for measuring a network delay are disclosed. The method includes: acquiring delay measurement information obtained by measuring a service flow by at least one target logical port TLP, where the delay measurement information includes: timestamp information, a service flow identifier, and a TLP identifier; and transmitting the delay measurement information to a measurement control point MCP, so that the MCP determines details about a network delay according to the timestamp information, the service flow identifier, and the TLP identifier. Embodiments of the present application further provide an apparatus and a system for measuring a network delay. Embodiments of the present application achieve direct and accurate delay measurement of a service flow in scenarios of point to point transmission or point to multipoint transmission on the network, and reflect details about a real delay of the service flow.

    DATA PROCESSING METHOD AND ELECTRONIC DEVICE

    公开(公告)号:US20250103557A1

    公开(公告)日:2025-03-27

    申请号:US18973073

    申请日:2024-12-08

    Abstract: In a data processing method, an electronic device detects that a first file and a second file are duplicate files, with a first index node of the first file pointing to file data of the first file, and a second index node of the second file pointing to file data of the second file. The electronic device generates a target index node and configures the target index node to point to the file data of the first file. The electronic device associates the first index node with the target index node, and separately associates the second index node with the target index node. The electronic device then deletes the file data of the second file.

Patent Agency Ranking