xpds13: gnome outreach - destination xen - elena ufimtseva
Post on 25-Jun-2015
522 Views
Preview:
DESCRIPTION
TRANSCRIPT
OPW - Xen vNUMA
OPW - outreach program for women
Me – Elena - Linux kernel XenProject Intern
vNUMA – virtual NUMA
Xen – you know...was working on OPW all summer 2013, had fun and really enjoyed coding, best mentors in town
+ +
Outreach program for women
Mentors
OPW Mentors
Xen and kernelmentors
NUMA and Linux
NUMA topology parsing NUMA aware scheduling
Automatic NUMA balancing libnuma
Xen vNUMA
● 'enlighten' guest with vNUMA topology● performance in mind● let user decide on virtual topology
pNUMA + vNUMA
A B CA B
BA A B C
VM 1 VM 2 VM 3
A B
A B
Physical NUMA nodesPhysical NUMA nodes
node1 node2
virtual NUMA nodes
OPW internship
● OPW, Linux Foundation, XenProject● Meet my mentors● development community● Learn source code● Xen and kernel● vNUMA
What was done
● Xen and Linux patches● Understand code● Comments from community● vNUMA in Xen rc 4.4
name = "vm1"memory = 4096vcpus = 4vnodes = 2vnumamem = [2048, 2048]vdistance = [10, 20]vnuma_vcpumap =[1, 0, 1, 0]vnuma_vnodemap = [0, 1, 1, 0, 1, 1]
PV guest with vNUMA
Configure vNUMA topology
Or leave it automaticname = "vm2"memory = 4096vnodes = 2
Boot vNUMA aware guest
name = "vm1"memory = 4096vcpus = 4vnodes = 2vnumamem = [2048, 2048]vdistance = [10, 20]vnuma_vcpumap =[1, 0, 1, 0]vnuma_vnodemap = [0, 1, 1, 0, 1, 1]
PV guest with vNUMAConfigure vNUMA topology Boot vNUMA aware guest
What has to be done
● A lot! :)● Dom0/HVM NUMA awareness● Automatic NUMA balancing support● Performance evaluations● Heuristics/Statistics
What I have learned
● Source code● Patches● Coding styles● Xen and para-virtual guests● Linux, booting, memory management
Thank you
● Linux Foundation and GNOME● XenProject, Citrix, Oracle
● Xen project mentors and Linux Kernel Mentors
Dario Steffano GeorgeGeorge Konrad Sarah Greg
top related