LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2017, 02:37 PM   #1
mbrose1994
LQ Newbie
 
Registered: May 2010
Location: Huntsville, AL
Distribution: Fedora, RHE 5
Posts: 16

Rep: Reputation: 0
Question App is moved to different NUMA node, how is shared memory handled?


I need to improve the performance of a very large application that is heavily threaded.

My hardware is a HP ProLient, 96 Gig RAM, 8 NUMA nodes, 64 CPUs, 8 per node, RHEL Linux 6.8 x86_64.

The tech materials have no mentioned if shared memory is moved when I move an application from say NUMA node 0 to NUMA node 4. I am using TUNA to do the adjustments of applications.

If anyone has experience and/or insight using TUNA, numactl and other such tools, I would love to learn from your experiences.
 
Old 01-24-2017, 08:05 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,295

Rep: Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994Reputation: 2994
When moving a task, the memory will be handled automatically - in time it may all migrate to the new nodes local memory.
Or not. Depending on memory pressure.

A better strategy is to start the application on the preferred node. Then memory will be allocated from that nodes local memory first. Easiest done using cgroups or namespace containers like LXC. Due to inheritance, all child processes will use the same nodes resouces.
 
  


Reply

Tags
memory management, rhel 6, shared memory


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable specific node on NUMA system dummypatch Linux - Server 1 07-17-2013 06:52 PM
how to make link list and add and delete list node in shared memory golden_boy615 Programming 1 12-18-2011 07:52 AM
Maximum memory handled by kernel Linux version 2.6.8-3-686-smp sinister1 Linux - General 9 11-12-2007 08:03 PM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 05:05 AM
LXer: This week at LWN: Memory part 4: NUMA support LXer Syndicated Linux News 0 10-25-2007 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration