Memory management of data processing systems

    公开(公告)号:US10956172B2

    公开(公告)日:2021-03-23

    申请号:US15962298

    申请日:2018-04-25

    Applicant: Apple Inc.

    Abstract: Techniques for memory management of a data processing system are described herein. According to one embodiment, a memory usage monitor executed by a processor of a data processing system monitors memory usages of groups of programs running within a memory of the data processing system. In response to determining that a first memory usage of a first group of the programs exceeds a first predetermined threshold, a user level reboot is performed in which one or more applications running within a user space of an operating system of the data processing system are terminated and relaunched. In response to determining that a second memory usage of a second group of the programs exceeds a second predetermined threshold, a system level reboot is performed in which one or more system components running within a kernel space of the operating system are terminated and relaunched.

    ADAPTIVE RESOURCE MANAGEMENT OF A DATA PROCESSING SYSTEM
    3.
    发明申请
    ADAPTIVE RESOURCE MANAGEMENT OF A DATA PROCESSING SYSTEM 审中-公开
    数据处理系统的自适应资源管理

    公开(公告)号:US20150286500A1

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

    申请号:US14620905

    申请日:2015-02-12

    Applicant: Apple Inc.

    Abstract: A method for resource management of a data processing system is described herein. According to one embodiment, a token is periodically pushed into a memory usage queue, where the token includes a timestamp indicating time entering the memory usage queue. The memory usage queue stores a plurality of memory page identifiers (IDs) identifying a plurality of memory pages currently allocated to a plurality of programs running within the data processing system. In response to a request to reduce memory usage, a token is popped from the memory usage queue. A timestamp of the popped token is then compared with current time to determine whether a memory usage reduction action should be performed.

    Abstract translation: 这里描述了数据处理系统的资源管理方法。 根据一个实施例,令牌被周期地推入存储器使用队列中,其中令牌包括指示进入存储器使用队列的时间的时间戳。 存储器使用队列存储识别当前分配给在数据处理系统内运行的多个程序的多个存储器页的多个存储器页标识符(ID)。 响应于减少内存使用的请求,令牌从内存使用队列弹出。 然后将弹出的令牌的时间戳与当前时间进行比较,以确定是否应执行内存使用减少动作。

    Resource management with dynamic resource policies

    公开(公告)号:US11586451B2

    公开(公告)日:2023-02-21

    申请号:US17201640

    申请日:2021-03-15

    Applicant: Apple Inc.

    Abstract: A method and apparatus of a device for resource management by using a hierarchy of resource management techniques with dynamic resource policies is described. The device terminates several misbehaving application programs when available memory on the device is running low. Each of those misbehaving application programs consumes more memory space than a memory consumption limit assigned to the application program. If available memory on the device is still low after terminating those misbehaving application programs, the device further sends memory pressure notifications to all application programs. If available memory on the device is still running low after sending the memory pressure notifications, the device further terminates background, idle, and suspended application programs. The device further terminates foreground application programs when available memory on the device is still low after terminating the background, idle, and suspended application programs.

    MEMORY MANAGEMENT IN DATA PROCESSING SYSTEMS

    公开(公告)号:US20200379810A1

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

    申请号:US16808021

    申请日:2020-03-03

    Applicant: Apple Inc.

    Abstract: Memory management in a data processing system can learn one or more behaviors of software processes such as daemon software processes and application processes, and based on information learned about the behaviors, the memory management can adjust how it controls memory usage in the system. For example, a memory management system can learn how software processes react (e.g. how quickly they relaunch) to memory recovery methods, such as system initiated terminations of one or more software processes that are performed to reclaim memory to increase available volatile memory, and based on information about how they react, the memory recovery methods can operate differently depending upon how the software reacted previously.

    Method and apparatus for managing kernel memory of data processing systems

    公开(公告)号:US10649889B2

    公开(公告)日:2020-05-12

    申请号:US15996109

    申请日:2018-06-01

    Applicant: Apple Inc.

    Abstract: According to one embodiment, it is determined whether data stored in a compressor pool exceeds a first predetermined threshold, the compressor pool being a fixed-size memory pool maintained in a kernel of an operating system. The compressor pool stores a plurality of compressed memory pages, each memory page storing compressed data pages that can be paged out to or paged in from a persistent storage device. The compressed memory pages are associated with a plurality of processes. A memory consumption reduction action is performed to reduce memory usage, including terminating at least one of the processes to reclaim a memory space occupied by the process, in response to determining that the data stored in the compressor pool exceeds the first predetermined threshold.

    COMPRESSED FREEZER FILES
    7.
    发明申请

    公开(公告)号:US20180046396A1

    公开(公告)日:2018-02-15

    申请号:US15662908

    申请日:2017-07-28

    Applicant: Apple Inc.

    Abstract: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.

    COMPRESSED FREEZER FILES
    8.
    发明申请
    COMPRESSED FREEZER FILES 有权
    压缩冷冻文件

    公开(公告)号:US20160357478A1

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

    申请号:US14728971

    申请日:2015-06-02

    Applicant: Apple Inc.

    Abstract: In one embodiment, when a secondary application on an electronic device is selected for deactivation, the memory associated with the application can be gathered, compacted and compressed into a memory freezer file. The memory freezer file can be stored in non-volatile memory with a reduced storage footprint compared to a memory stored in a conventional swap file. When the selected application is to be reactivated, the compressed memory in the memory freezer file can be quickly restored to process memory.

    Abstract translation: 在一个实施例中,当电子设备上的辅助应用被选择用于去激活时,与应用相关联的存储器可以被收集,压缩并压缩到存储器冷冻文件中。 与存储在常规交换文件中的存储器相比,存储器冷藏文件可以存储在具有减少的存储空间的非易失性存储器中。 当所选择的应用程序重新激活时,可以快速恢复存储器冷冻文件中的压缩内存以处理内存。

    Memory management based on classification of a software process

    公开(公告)号:US11301296B2

    公开(公告)日:2022-04-12

    申请号:US16808021

    申请日:2020-03-03

    Applicant: Apple Inc.

    Abstract: Memory management in a data processing system can learn one or more behaviors of software processes such as daemon software processes and application processes, and based on information learned about the behaviors, the memory management can adjust how it controls memory usage in the system. For example, a memory management system can learn how software processes react (e.g. how quickly they relaunch) to memory recovery methods, such as system initiated terminations of one or more software processes that are performed to reclaim memory to increase available volatile memory, and based on information about how they react, the memory recovery methods can operate differently depending upon how the software reacted previously.

    Memory page reclamation in a user idle mode

    公开(公告)号:US10977172B2

    公开(公告)日:2021-04-13

    申请号:US16147673

    申请日:2018-09-29

    Applicant: Apple Inc.

    Abstract: Techniques are disclosed relating to virtual memory page reclamation policies. In some embodiments, an operating system of a computing device implements, during a first operating mode, a first page reclamation policy for pages corresponding to user processes and non-user processes. The computing device may then enter a second operating mode upon detecting some indication of user inactivity. The operating system may then implement, during the second operating mode, a second page reclamation policy for pages corresponding to user processes and non-user processes, where the second page reclamation policy prioritizes, relative to the first page reclamation policy, eviction of pages corresponding to non-user processes.

Patent Agency Ranking