On Jan 28, 2020, at 11:29 AM, Piotr Balcer <pi...@balcer.eu> wrote:Hi,There's no one easy answer to you first question. Any memory allocator, libpmemobj included, will have multiple policies according to which memory addresses will be given out.
As for the second question, one of the unique things about our memory allocator is that it only relies on the kernel for the initial mapping of the pool. Once that's done, there are no additional syscalls made.
--
You received this message because you are subscribed to the Google Groups "pmem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pmem+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pmem/5CC2EFA1-8C43-4EF6-82D5-6B098771568B%40gmail.com.
Thank you for the quick response.On Jan 28, 2020, at 11:29 AM, Piotr Balcer <pi...@balcer.eu> wrote:Hi,There's no one easy answer to you first question. Any memory allocator, libpmemobj included, will have multiple policies according to which memory addresses will be given out.Does this mean, there might be some policy which enables my application to specify the memory address to allocate objects in pm pool.
As for the second question, one of the unique things about our memory allocator is that it only relies on the kernel for the initial mapping of the pool. Once that's done, there are no additional syscalls made.At every cost, I need to hit kernel for pool mappings? e.g., in case of pool resizing I need to touch kernel to modify?
Regards,Awais Khan
pon., 27 sty 2020, 18:18 użytkownik Awais khan <awaisk...@gmail.com> napisał:
Hi,
I am a beginner to PMDK and wants to investigate some low-level details about PMDK espc. libpmemobj. I have a few quick questions and will appreciate if anyone can respond.
1. When you call pmalloc(); what does PMDK library do for it. where will the memory object be allocated on PM address space? Do you have to specify address of memory where the memory object is allocated?
2. Is there any role of OS memory management module when I am using PMDK.
Can anyone point me to some materials where i can find answers to these questions.
Thanks in advance.
Regards,
Awais Khan
--
You received this message because you are subscribed to the Google Groups "pmem" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pm...@googlegroups.com.