-
公开(公告)号:US09886313B2
公开(公告)日:2018-02-06
申请号:US14816480
申请日:2015-08-03
Applicant: SAP SE
Inventor: Mehul Wagle , Daniel Booss , Ivan Schreter
IPC: G06F9/50
CPC classification number: G06F9/5016
Abstract: A system includes a first node including a first processor and a first memory, and a second node including a second processor and a second memory. A worker thread of the first processor calls an allocation API to allocate a portion of the first memory, and calls a first allocator of a first memory manager associated with the first node to allocate a specified size of the first memory. The first memory manager calls an operating system function to reserve a memory segment of the specified size, sets a first Non-Uniform Memory Access policy of the first node to preferred, binds the reserved memory segment to the first node, adds the memory segment to a global freelist, and returns an address pointer of the reserved memory segment to the worker thread.
-
公开(公告)号:US20170357578A1
公开(公告)日:2017-12-14
申请号:US15181845
申请日:2016-06-14
Applicant: SAP SE
Inventor: Ivan Schreter , Daniel Booss
CPC classification number: G06F12/0276 , G06F12/0253 , G06F16/2282 , G06F16/2379 , G06F2212/1044
Abstract: A method for reclaiming memory resources may include segmenting a plurality of memory resources in an in-memory database into a first resource partition and a second resource partition; generating, for the first resource partition, a first heap containing a first plurality of memory resources sorted based on an age of data occupying the first plurality of memory resources; generating, for the second resource partition, a second heap containing a second plurality of memory resources sorted based on an age of data occupying the second plurality of memory resources; and when a shortage of memory resources is detected, identifying, from the first heap, a first memory resource containing a least recently used data, identifying, from the second heap, a second memory resource containing a least recently used data, and reclaiming the first memory resource and/or the second memory resource. Related systems and articles of manufacture are also disclosed.
-
公开(公告)号:US20160371194A1
公开(公告)日:2016-12-22
申请号:US14816480
申请日:2015-08-03
Applicant: SAP SE
Inventor: Mehul Wagle , Daniel Booss , Ivan Schreter
CPC classification number: G06F9/5016
Abstract: A system includes a first node including a first processor and a first memory, and a second node including a second processor and a second memory. A worker thread of the first processor calls an allocation API to allocate a portion of the first memory, and calls a first allocator of a first memory manager associated with the first node to allocate a specified size of the first memory. The first memory manager calls an operating system function to reserve a memory segment of the specified size, sets a first Non-Uniform Memory Access policy of the first node to preferred, binds the reserved memory segment to the first node, adds the memory segment to a global freelist, and returns an address pointer of the reserved memory segment to the worker thread.
Abstract translation: 系统包括包括第一处理器和第一存储器的第一节点以及包括第二处理器和第二存储器的第二节点。 第一处理器的工作线程调用分配API来分配第一存储器的一部分,并且调用与第一节点相关联的第一存储器管理器的第一分配器来分配第一存储器的指定大小。 第一个内存管理器调用操作系统功能来保留指定大小的内存段,设置首选节点的第一个非统一内存访问策略,将保留的内存段绑定到第一个节点,将内存段添加到 全局freelist,并将保留的内存段的地址指针返回给工作线程。
-
公开(公告)号:US20220382589A1
公开(公告)日:2022-12-01
申请号:US17818957
申请日:2022-08-10
Applicant: SAP SE
Inventor: Daniel Booss , Robert Kettler
IPC: G06F9/50 , G06F9/4401 , G06F12/0882 , G06N20/00
Abstract: A system for shutting down a process of a database is provided. In some aspects, the system performs operations including tracking, during startup of a process, code locations of a process in the at least one memory. The operations may further include tracking, during runtime of the process and in response to the tracking the code locations, memory segments of the at least one memory allocated to the process. The operations may further include receiving an indication for a shutdown of a process. The operations may further include waking, in response to the indication, at least one processing thread of a plurality of processing threads allocated to a database system. The operations may further include allocating a list of memory mappings to the plurality of processing threads. The operations may further include freeing, by the first processing thread, the physical memory assigned to the processing thread by the memory mappings.
-
公开(公告)号:US11442778B2
公开(公告)日:2022-09-13
申请号:US15930041
申请日:2020-05-12
Applicant: SAP SE
Inventor: Daniel Booss , Robert Kettler
IPC: G06F12/00 , G06F9/50 , G06F9/4401 , G06F12/0882 , G06N20/00
Abstract: A system for shutting down a process of a database is provided. In some aspects, the system performs operations including tracking, during startup of a process, code locations of a process in the at least one memory. The operations may further include tracking, during runtime of the process and in response to the tracking the code locations, memory segments of the at least one memory allocated to the process. The operations may further include receiving an indication for a shutdown of a process. The operations may further include waking, in response to the indication, at least one processing thread of a plurality of processing threads allocated to a database system. The operations may further include allocating a list of memory mappings to the plurality of processing threads. The operations may further include freeing, by the first processing thread, the physical memory assigned to the processing thread by the memory mappings.
-
公开(公告)号:US10545874B2
公开(公告)日:2020-01-28
申请号:US15900120
申请日:2018-02-20
Applicant: SAP SE
Inventor: Daniel Booss , Ivan Schreter
IPC: G06F12/00 , G06F12/0891 , G06F12/123
Abstract: A method may include dividing, into a first portion of memory resources and a second portion of memory resources, a plurality of memory resources included in a cache coupled with a database. The plurality of memory resources included in the cache may store data from the database. The first portion of memory resources may be occupied by data assigned to a first weight class. The second portion of memory resources may be occupied by data assigned to a second weight class. The first portion of memory resources may be selected based at least on the first weight class and an age of at least some of the data occupying the first portion of memory resources. In response to the selection of the first portion of memory resources, the first portion of memory resources may be reclaimed. Related systems and articles of manufacture, including computer program products, are also provided.
-
公开(公告)号:US20190354407A1
公开(公告)日:2019-11-21
申请号:US15980581
申请日:2018-05-15
Applicant: SAP SE
Inventor: Daniel Booss , Dirk Thomsen
Abstract: Resources are loaded into a resource container in an in-memory database system in which pages are loaded into memory and having associated physical disk storage. Each resource is assigned a new time stamp when such resource is loaded into the resource container. At least some of the references are subsequently accessed and time stamps associated with these accesses resources are selectively updated based on the type of access. These time stamps are later used to evict least recently used resources (as indicated by their time stamps) from the resource container.
-
公开(公告)号:US10152258B1
公开(公告)日:2018-12-11
申请号:US15621640
申请日:2017-06-13
Applicant: SAP SE
Inventor: Ismail Oukid , Daniel Booss
IPC: G06F3/06
CPC classification number: G06F3/0626 , G06F3/0631 , G06F3/068
Abstract: Disclosed herein are system, method, and computer program product embodiments for of big block allocation of persistent main memory. An embodiment operates by receiving an allocation request for memory of a requested size. A free memory block, that exceeds the requested size by a remainder and is available for allocation, is determined. A size of the free memory block is updated to indicate that the size of the free memory block is equal to the remainder size. A new block of the requested size is inserted with an indication that the new block is allocated. A memory address corresponding to the new block is returned.
-
公开(公告)号:US10108524B2
公开(公告)日:2018-10-23
申请号:US15489208
申请日:2017-04-17
Applicant: SAP SE
Inventor: Tobias Scheuer , Daniel Booss
Abstract: Computing threads can be sampled such that the samples hit each activity with a probability proportional to a time period of that activity. Therefore, the sampling can advantageously account for all activities, including activities that are smaller than the applicable sampling interval.
-
公开(公告)号:US20230325242A1
公开(公告)日:2023-10-12
申请号:US18333752
申请日:2023-06-13
Applicant: SAP SE
Inventor: Daniel Booss , Robert Kettler
IPC: G06F9/50 , G06F12/0882 , G06F9/4401 , G06N20/00
CPC classification number: G06F9/5016 , G06F12/0882 , G06F9/4418 , G06F2212/7201 , G06N20/00 , G06F9/5022 , G06F2209/5018 , G06F9/442
Abstract: A system for shutting down a process of a database is provided. In some aspects, the system performs operations including tracking, during startup of a process, code locations of a process in the at least one memory. The operations may further include tracking, during runtime of the process and in response to the tracking the code locations, memory segments of the at least one memory allocated to the process. The operations may further include receiving an indication for a shutdown of a process. The operations may further include waking, in response to the indication, at least one processing thread of a plurality of processing threads allocated to a database system. The operations may further include allocating a list of memory mappings to the plurality of processing threads. The operations may further include freeing, by the first processing thread, the physical memory assigned to the processing thread by the memory mappings.
-
-
-
-
-
-
-
-
-