Home
last modified time | relevance | path

Searched refs:cpupool (Results 1 – 25 of 32) sorted by relevance

12

/xen/xen/common/sched/
A Dcpupool.c169 struct cpupool *c = xzalloc(struct cpupool); in alloc_cpupool_struct()
192 struct cpupool **q; in __cpupool_find_by_id()
210 struct cpupool *c; in __cpupool_get_by_id()
248 struct cpupool *c; in cpupool_create()
249 struct cpupool **q; in cpupool_create()
318 struct cpupool **q; in cpupool_destroy()
586 struct cpupool *c; in cpupool_add_domain()
602 d->cpupool = c; in cpupool_add_domain()
625 d->cpupool = NULL; in cpupool_rm_domain()
762 struct cpupool *c; in cpupool_do_sysctl()
[all …]
A Dprivate.h45 struct cpupool *cpupool; member
278 struct cpupool *cpupool;/* points to this scheduler's pool */ member
506 struct cpupool struct
513 struct cpupool *next; argument
525 ASSERT(d->cpupool != NULL); in cpupool_domain_master_cpumask()
526 return d->cpupool->res_valid; in cpupool_domain_master_cpumask()
595 void schedule_dump(struct cpupool *c);
600 int schedule_cpu_add(unsigned int cpu, struct cpupool *c);
602 int sched_move_domain(struct domain *d, struct cpupool *c);
603 struct cpupool *cpupool_get_by_id(int poolid);
[all …]
A Dcore.c162 return d->cpupool->sched; in dom_scheduler()
182 return d->cpupool->sched; in unit_scheduler()
678 d->cpupool = c; in sched_move_domain()
765 ASSERT(d->cpupool == NULL); in sched_init_domain()
792 if ( d->cpupool ) in sched_destroy_domain()
1185 const struct cpupool *c; in cpu_disable_scheduler()
1259 const struct cpupool *c; in cpu_disable_scheduler_check()
2021 struct cpupool *pool; in sched_adjust_global()
3094 sr->cpupool = c; in schedule_cpu_add()
3159 ASSERT(sr->cpupool != NULL); in schedule_cpu_rm()
[all …]
A DMakefile1 obj-y += cpupool.o
A Dcredit.c1674 const struct cpupool *c = get_sched_res(cpu)->cpupool; in csched_load_balance()
A Dcredit2.c1000 if ( rqd->refcnt < max_cpus_runq && (ops->cpupool->gran != SCHED_GRAN_cpu || in cpu_add_to_runqueue()
1929 update_load(svc->sdom->dom->cpupool->sched, svc->rqd, svc, -1, NOW()); in park_unit()
2136 unpark_parked_units(sdom->dom->cpupool->sched, &parked); in replenish_domain_budget()
A Drt.c763 cpumask_t *online = get_sched_res(cpu)->cpupool->res_valid; in rt_deinit_pdata()
/xen/tools/examples/
A Dcpupool2 # Configuration setup for 'xm cpupool-create' or 'xl cpupool-create'.
3 # This script sets the parameters used when a cpupool is created using
4 # 'xm cpupool-create' or 'xl cpupool-create'.
5 # You use a separate script for each cpupool you want to create, or
6 # you can set the parameters for the cpupool on the xm command line.
9 # the name of the new cpupool
A DREADME16 cpupool - example configuration script for 'xl cpupool-create'
A DMakefile11 XEN_CONFIGS += cpupool
/xen/tools/xl/
A Dxl_sched.c360 if (cpupool) { in sched_domain_output()
412 if (cpupool) { in sched_vcpu_output()
471 const char *cpupool = NULL; in main_sched_credit() local
518 cpupool = optarg; in main_sched_credit()
541 if (cpupool) { in main_sched_credit()
573 cpupool)) in main_sched_credit()
603 const char *cpupool = NULL; in main_sched_credit2() local
641 cpupool = optarg; in main_sched_credit2()
659 if (cpupool) { in main_sched_credit2()
722 const char *cpupool = NULL; in main_sched_rtds() local
[all …]
A Dxl_info.c364 bool cpupool, const libxl_dominfo *info, int nb_domain) in list_domains() argument
378 if (cpupool) printf(" Cpupool"); in list_domains()
423 if (cpupool) { in list_domains()
424 char *poolname = libxl_cpupoolid_to_name(ctx, info[i].cpupool); in list_domains()
508 bool cpupool = false; in main_list() local
534 cpupool = true; in main_list()
572 list_domains(verbose, context, false /* claim */, numa, cpupool, in main_list()
/xen/docs/man/
A Dxlcpupool.cfg.5.pod11 To create a Cpupool with xl requires the provision of a cpupool config
13 the name of the cpupool.
17 A cpupool config file consists of a series of C<KEY=VALUE> pairs.
45 The following key is mandatory for any cpupool:
51 Specifies the name of the cpupool. Names of cpupools existing on a
64 Specifies the scheduler which is used for the cpupool. Valid
89 a list of integers) to be member of the cpupool. The free cpus in the
90 specified nodes are allocated in the new cpupool.
102 means that cpus 2,3,5 will be member of the cpupool.
109 of cpus 10,11,12,13 will be memeber of the cpupool.
[all …]
A Dxl.1.pod.in315 =item B<-c>, B<--cpupool>
317 Also displays the cpupool the domain belongs to.
1073 =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL>
1158 =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL>
1211 =item B<-c CPUPOOL>, B<--cpupool=CPUPOOL>
1326 =item B<cpupool-destroy> I<cpu-pool>
1331 =item B<cpupool-rename> I<cpu-pool> <newname>
1342 (a) xl cpupool-cpu-add mypool 4
1343 (b) xl cpupool-cpu-add mypool 1,5,10-16,^13
1354 =item B<cpupool-cpu-remove> I<cpus|node:nodes>
[all …]
/xen/docs/features/
A Dsched_credit2.pandoc33 Once the system is live, for creating a cpupool with Credit2 as
34 its scheduler, either compile a cpupool configuration file, as
36 in `tools/examples/cpupool`), or use just `xl` directly:
38 xl cpupool-create name=\"pool1\" sched=\"credit2\" cpus=[1,2]
73 where Credit2 is used as the scheduler of a cpupool, and by also doing the
76 * move a virtual machine inside and outside a Credit2 cpupool.
A Dsched_rtds.pandoc29 Once the system is live, for creating a cpupool with RTDS as its
30 scheduler, either compile a cpupool configuration file, as described
32 `tools/examples/cpupool`), or use just `xl` directly:
34 xl cpupool-create name=\"pool-rt\" sched=\"rtds\" cpus=[4,5,6,8]
77 * create a cpupool with RTDS as its scheduler,
90 * create a VM with 1 vCPU and put it in the RTDS cpupool,
A Dsched_credit.pandoc28 Once the system is live, for creating a cpupool with Credit as its
29 scheduler, either compile a cpupool configuration file, as described
31 `tools/examples/cpupool`), or use just `xl` directly:
33 xl cpupool-create name=\"pool1\" sched=\"credit\" cpus=[4,8]
A Dhypervisorfs.pandoc76 * Entries per domain and/or per cpupool
/xen/xen/include/xen/
A Dsched.h53 extern struct cpupool *cpupool0;
353 struct cpupool *cpupool; member
784 static inline struct domain *first_domain_in_cpupool(const struct cpupool *c) in first_domain_in_cpupool()
787 for (d = rcu_dereference(domain_list); d && d->cpupool != c; in first_domain_in_cpupool()
792 struct domain *d, const struct cpupool *c) in next_domain_in_cpupool()
794 for (d = rcu_dereference(d->next_in_list); d && d->cpupool != c; in next_domain_in_cpupool()
1092 int cpupool_move_domain(struct domain *d, struct cpupool *c);
1095 const cpumask_t *cpupool_valid_cpus(const struct cpupool *pool);
/xen/tools/libxl/
A Dlibxl_numa.c211 int cpupool; in nr_vcpus_on_nodes() local
215 cpupool = libxl__domain_cpupool(gc, dinfo[i].domid); in nr_vcpus_on_nodes()
216 if (cpupool < 0) in nr_vcpus_on_nodes()
218 if (libxl_cpupool_info(CTX, &cpupool_info, cpupool)) in nr_vcpus_on_nodes()
A Dlibxl_dom.c87 return info.cpupool; in libxl__domain_cpupool()
92 int cpupool = libxl__domain_cpupool(gc, domid); in libxl__domain_scheduler() local
97 if (cpupool < 0) in libxl__domain_scheduler()
101 rc = libxl_cpupool_info(CTX, &poolinfo, cpupool); in libxl__domain_scheduler()
150 int i, cpupool, rc = 0; in numa_place_domain() local
163 rc = cpupool = libxl__domain_cpupool(gc, domid); in numa_place_domain()
166 rc = libxl_cpupool_info(CTX, &cpupool_info, cpupool); in numa_place_domain()
/xen/tools/python/xen/lowlevel/xc/
A Dxc.c383 "cpupool", (int)info[i].cpupool); in pyxc_domain_getinfo()
1595 return PyLongOrInt_FromLong(cpupool); in pyxc_cpupool_create()
1601 uint32_t cpupool; in pyxc_cpupool_destroy() local
1603 if (!PyArg_ParseTuple(args, "i", &cpupool)) in pyxc_cpupool_destroy()
1606 if (xc_cpupool_destroy(self->xc_handle, cpupool) != 0) in pyxc_cpupool_destroy()
1652 uint32_t cpupool; in pyxc_cpupool_addcpu() local
1658 &cpupool, &cpu) ) in pyxc_cpupool_addcpu()
1672 uint32_t cpupool; in pyxc_cpupool_removecpu() local
1678 &cpupool, &cpu) ) in pyxc_cpupool_removecpu()
1692 uint32_t cpupool, domid; in pyxc_cpupool_movedomain() local
[all …]
/xen/xen/include/public/
A Ddomctl.h146 uint32_t cpupool; member
/xen/xen/common/
A Ddomctl.c202 info->cpupool = cpupool_get_id(d); in getdomaininfo()
/xen/tools/libxc/
A Dxc_domain.c401 info->cpupool = domctl.u.getdomaininfo.cpupool; in xc_domain_getinfo()

Completed in 63 milliseconds

12