Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 21 of 21) sorted by relevance

/xen/docs/man/
A Dxl-numa-placement.7.pod30 =head2 Xen and NUMA machines: the concept of I<node-affinity>
33 I<node-affinity>. The node-affinity of a domain is the set of NUMA nodes
41 subsystems, the domain node-affinity and the vCPUs affinity are not
45 basing on the vCPUs' scheduling affinity.
87 soft affinity of the vCPUs of a domain with its node-affinity.
113 affinity;
121 that also forms its soft affinity. In case pinning and soft affinity
164 to the nodes to which the pCPUs in the soft affinity mask belong;
171 soft affinity belong.
271 soft affinity.
[all …]
A Dxl.conf.5.pod.in212 The hard affinity of guest's vcpus are logical-AND'ed with respective
213 masks. If the resulting affinity mask is empty, operation will fail.
215 Use --ignore-global-affinity-masks to skip applying global masks.
220 concerning CPU affinity. One example is CPU pools. Users should always double
221 check that the required affinity has taken effect.
A Dxl.1.pod.in324 Also displays the domain NUMA node affinity.
806 Set hard and soft affinity for a I<vcpu> of <domain-id>. Normally VCPUs
810 Hard affinity can be used to restrict this, by ensuring certain VCPUs
811 can only run on certain physical CPUs. Soft affinity specifies a I<preferred>
812 set of CPUs. Soft affinity needs special support in the scheduler, which is
815 The keyword B<all> can be used to apply the hard and soft affinity masks to
817 hard or soft affinity alone.
823 will set soft affinity for vCPU 3 of domain 0 to pCPUs 6,7,8 and 9,
824 leaving its hard affinity untouched. On the other hand:
828 will set both hard and soft affinity, the former to pCPUs 3 and 4, the
[all …]
A Dxl.cfg.5.pod.in189 here, and the soft affinity mask, if provided via B<cpus_soft=>,
190 is utilized to compute the domain node-affinity for driving memory
195 Exactly as B<cpus=>, but specifies soft affinity, rather than pinning
196 (hard affinity). When using the credit scheduler, this means what CPUs
204 the intersection of the soft affinity mask, provided here, and the vCPU
206 domain node-affinity for driving memory allocations.
213 host CPUs and memory. In that case, the soft affinity of all the vCPUs
/xen/xen/common/
A Dirq.c26 if ( !alloc_cpumask_var(&desc->affinity) ) in init_one_irq_desc()
32 cpumask_setall(desc->affinity); in init_one_irq_desc()
38 free_cpumask_var(desc->affinity); in init_one_irq_desc()
A Ddomain.c876 int domain_set_node_affinity(struct domain *d, const nodemask_t *affinity) in domain_set_node_affinity() argument
879 if ( !nodes_intersects(*affinity, node_online_map) ) in domain_set_node_affinity()
888 if ( nodes_full(*affinity) ) in domain_set_node_affinity()
895 d->node_affinity = *affinity; in domain_set_node_affinity()
/xen/xen/common/sched/
A Dcore.c1820 if ( !affinity ) in domain_update_node_aff()
1822 affinity = &masks; in domain_update_node_aff()
1827 cpumask_clear(affinity->hard); in domain_update_node_aff()
1828 cpumask_clear(affinity->soft); in domain_update_node_aff()
1850 cpumask_or(affinity->hard, affinity->hard, unit->cpu_hard_affinity); in domain_update_node_aff()
1851 cpumask_or(affinity->soft, affinity->soft, unit->cpu_soft_affinity); in domain_update_node_aff()
1854 cpumask_and(affinity->hard, affinity->hard, online); in domain_update_node_aff()
1857 cpumask_and(affinity->soft, affinity->soft, affinity->hard); in domain_update_node_aff()
1863 dom_affinity = cpumask_empty(affinity->soft) ? affinity->hard in domain_update_node_aff()
1873 if ( affinity == &masks ) in domain_update_node_aff()
[all …]
A Dprivate.h639 bool alloc_affinity_masks(struct affinity_masks *affinity);
640 void free_affinity_masks(struct affinity_masks *affinity);
644 struct affinity_masks affinity; member
A Dcpupool.c479 struct affinity_masks *masks = mem ? &mem->affinity : NULL; in cpupool_unassign_cpu_finish()
/xen/xen/arch/x86/
A Dirq.c347 cpumask_setall(desc->affinity); in destroy_irq()
726 cpumask_setall(desc->affinity); in assign_irq_vector()
922 cpumask_copy(desc->affinity, mask); in set_desc_affinity()
927 cpumask_setall(desc->affinity); in set_desc_affinity()
1667 affinity = &cpumask_all; in pirq_guest_bind()
1671 affinity = desc->affinity; in pirq_guest_bind()
1672 if ( affinity ) in pirq_guest_bind()
2639 affinity); in fixup_irqs()
2702 cpumask_setall(affinity); in fixup_irqs()
2705 cpumask_copy(affinity, desc->affinity); in fixup_irqs()
[all …]
/xen/xen/arch/arm/
A Dgic-v3.c619 uint64_t affinity; in gicv3_dist_init() local
668 affinity = gicv3_mpidr_to_affinity(smp_processor_id()); in gicv3_dist_init()
670 affinity &= ~GICD_IROUTER_SPI_MODE_ANY; in gicv3_dist_init()
673 writeq_relaxed_non_atomic(affinity, GICD + GICD_IROUTER + i * 8); in gicv3_dist_init()
1275 uint64_t affinity; in gicv3_irq_set_affinity() local
1282 affinity = gicv3_mpidr_to_affinity(cpu); in gicv3_irq_set_affinity()
1284 affinity &= ~GICD_IROUTER_SPI_MODE_ANY; in gicv3_irq_set_affinity()
1287 writeq_relaxed_non_atomic(affinity, (GICD + GICD_IROUTER + desc->irq * 8)); in gicv3_irq_set_affinity()
/xen/tools/libs/light/
A Dlibxl_vnuma.c44 const libxl_bitmap *affinity, in check_vnuma_affinity() argument
58 rc = libxl_cpumap_to_nodemap(CTX, affinity, &nodemap); in check_vnuma_affinity()
A Dlibxl_types.idl1144 ("cpumap", libxl_bitmap), # current hard cpu affinity
1145 ("cpumap_soft", libxl_bitmap), # current soft cpu affinity
/xen/xen/include/xen/
A Dirq.h101 cpumask_var_t affinity; member
A Dsched.h709 int domain_set_node_affinity(struct domain *d, const nodemask_t *affinity);
710 void domain_update_node_aff(struct domain *d, struct affinity_masks *affinity);
1065 int vcpu_set_hard_affinity(struct vcpu *v, const cpumask_t *affinity);
/xen/docs/misc/arm/
A Dbig.LITTLE.txt25 scheduler, it is only safe if the cpu affinity of all domains is
/xen/docs/features/
A Dsched_credit.pandoc57 soft-affinity).
A Dsched_credit2.pandoc106 2017-11-6 2 Xen 4.10 Soft-affinity and caps implemented
/xen/docs/misc/
A Dvtd-pi.txt247 cpu affinity, or the vector, we need to update the associated IRTE accordingly.
A Dxen-command-line.pandoc1380 platform, unless you manually specify the cpu affinity of all domains so
1905 Disable software IRQ balancing and affinity. This can be used on
/xen/
A DSUPPORT.md459 ### NUMA scheduler affinity

Completed in 64 milliseconds