Re: [rvm-research] numa-aware memory allocation

Steve Blackburn <[email protected]> Sun, 5 Nov 2017 07:34:02 +0000
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi Shoaib,

Yes, this should be quite do-able.

You’ll see that MMTk has very general mechanisms for space reservation.   Take a look at the following line:

	https://github.com/JikesRVM/JikesRVM/blob/master/MMTk/src/org/mmtk/plan/generational/Gen.java#L102

In that case, the nursery space is being set up, with virtual memory set aside according to a simple policy (grab a fraction of the available address space, taking the highest address ranges available).

If what you need is not already there, you should be able to make modest changes to VMRequest to make it happen (https://github.com/JikesRVM/JikesRVM/blob/master/MMTk/src/org/mmtk/utility/heap/VMRequest.java).

Cheers,

--Steve

On 4/11/17, 11:22 pm, "Shoaib Akram" <[email protected]> wrote:

    Hi All,
    
    I want to explore how NUMA in modern servers impacts GC performance. As a start, I want to control where the various spaces in JikesRVM get allocated. For instance, I would like to map the virtual address space of the nursery in one NUMA node, and the mature and large object spaces in a different NUMA node. 
    
    Is it something do-able with JikesRVM? Any one with prior experiences?
    
    I suspect JikesRVM reserves the entire heap memory asked by the user at once using mmap. If I want to do the above, which portions of the code should I look? 
    
    Thanks a lot! 
    
    Regards,
    Shoaib.
    ------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    Jikesrvm-researchers mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
    

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers