Your SlideShare is downloading. ×
NUMA and scaleup
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

NUMA and scaleup

195
views

Published on

Published in: Technology, Education

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
195
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. NUMA and Scale UpZhongke ChenJuly 2012
  • 2. SMP VS NUMA (NON-UNIFORM MEMORYARCHITECTURE) SMP NUMA (!=MPP) Technology Education Confidential and Proprietary 2
  • 3. HOW LINUX HANDLES NUMALinux detects NUMA and deals it differently from SMPDefault Policy: One process is fixed to one node. Confidential and Proprietary 3
  • 4. SCALE UP PROBLEMWhat happens if one process uses large memory? (larger than the memory in one node) Confidential and Proprietary 4
  • 5. WHAT HAPPENSOnly memory on one node is used.The system starts to swap heavily. Confidential and Proprietary 5
  • 6. WORKAROUNDS numactl --interleave=all (inefficient to access remote memory) Confidential and Proprietary 6
  • 7. TRUE SOLUTIONS 1. Multiple Smaller Processes 2. Control Policy via libnuma API 3. Another workaround: Virtualization Confidential and Proprietary 7
  • 8. REFERENCE• http://en.wikipedia.org/wiki/Non-Uniform_Memory_Access• http://developer.amd.com/assets/LibNUMA-WP-fv1.pdf• http://www.kernel.org/doc/Documentation/vm/numa_memor y_policy.txt• http://linux.die.net/man/8/numactl• http://linux.die.net/man/3/numa Confidential and Proprietary 8