12.07.2015 Views

RHEL Kernel Performance Optimization, Characterization ... - Red Hat

RHEL Kernel Performance Optimization, Characterization ... - Red Hat

RHEL Kernel Performance Optimization, Characterization ... - Red Hat

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RHEL</strong>4&5 NUMAstat and NUMActlEXAMPLESnumactl ­­interleave=all bigdatabase arguments Run big database withits memory interleaved on all CPUs.numactl ­­cpubind=0­­membind=0,1 process Run process on node 0 withmemory allocated on node 0 and 1.numactl ­­preferred=1 numactl ­­show Set preferred node 1 and show theresulting state.numactl ­­interleave=all ­­shmkeyfile /tmp/shmkey Interleave all of thesysv shared memory regiion specified by /tmp/shmkey over all nodes.numactl ­­offset=1G ­­length=1G ­­membind=1 ­­file /dev/shm/A ­­touchBind the second gigabyte in the tmpfs file /dev/shm/A to node 1.numactl ­­localalloc /dev/shm/file Reset the policy for the shared memoryfile file to the default localalloc policy.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!