search for: sched_credit

Displaying 20 results from an estimated 22 matches for "sched_credit".

2013 Nov 13
3
[Patch] credit: Update other parameters when setting tslice_ms
...ing the timeslice to a value higher than the default would result in a domain not utilizing its full capacity and changing the timeslice to a value lower than the default would result in a domain exceeding its capacity. Signed-off-by: Nate Studer <nate.studer@dornerworks.com> --- xen/common/sched_credit.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) mode change 100644 => 100755 xen/common/sched_credit.c diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c old mode 100644 new mode 100755 index 28dafcf..db5512e --- a/xen/common/sched_credit.c +++ b...
2013 Sep 17
1
[PATCH v2] xen: sched_credit: filter node-affinity mask against online cpus
...he splat. Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com> Cc: George Dunlap <George.Dunlap@eu.citrix.com> Cc: Jan Beulich <JBeulich@suse.com> Cc: Keir Fraser <keir@xen.org> --- Changes from v1: * improved code comments, as suggested during review; --- xen/common/sched_credit.c | 54 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 11 deletions(-) diff --git a/xen/common/sched_credit.c b/xen/common/sched_credit.c index dbe6de6..d7afa50 100644 --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -296,15 +296,25 @@ static vo...
2010 Aug 05
0
printk does not work in sched_credit.c
Hi, I was trying to add some printk in the credit scheduler to see how it works, but the printk seems not working. (it gives no output) But when I add printk in scheduler.c, it works pretty well. Does anyone know why? do I need to change some configuration file or something? Thanks very much! Best! Yours, Sisu _______________________________________________ Xen-devel mailing list
2011 Sep 01
4
[PATCH] xen,credit1: Add variable timeslice
Add a xen command-line parameter, sched_credit_tslice_ms, to set the timeslice of the credit1 scheduler. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> diff -r 4a4882df5649 -r 782284c5b1bc xen/common/sched_credit.c --- a/xen/common/sched_credit.c Wed Aug 31 15:23:49 2011 +0100 +++ b/xen/common/sched_credit.c Thu Sep 01 16:29...
2012 Dec 03
17
[PATCH 0 of 3] xen: sched_credit: fix tickling and add some tracing
Hello, This small series deals with some weirdness in the mechanism with which the credit scheduler choses what PCPU to tickle upon a VCPU wake-up. Details are available in the changelog of the first patch. The new approach has been extensively benchmarked and proved itself either beneficial or harmless. That means it does not introduce any significant amount of overhead and/or performances
2013 Sep 02
5
[BUG] unfairness in Xen's credit scheduler
...e ''cap'' of one VM to 50 (a half core), -when setting the time slice to be *greater* than 30ms, the VM gets much *less* CPU cycles than its allocation -when setting the time slice to be *smaller* than 30ms, the VM gets much *more* CPU cycles than its allocation Problem happens in sched_credit.c/csched_sys_cntl(): -------------------- after changing prv->tslice_ms, other parameters *should* also be changed accordingly: csched_sys_cntl() { ... prv->tslice_ms = params->tslice_ms; prv->ratelimit_us = params->ratelimit_us; ------- /* my patch: these parame...
2010 Aug 09
2
[PATCH 0 of 2] Scheduler: Implement yield for credit scheduler
As discussed in a previous e-mail, this patch series implements yield for the credit scheduler. This allows a VM to actually yield (give up the cpu to another VM) when it wants to. This has been shown to be effective when used in the spinlock code to avoid wasting time spinning when another vcpu is not currently scheduled. _______________________________________________ Xen-devel mailing list
2007 Apr 26
4
FATAL PAGE FAULT - xen-3.0.5-rc2 and xen-3.0.5-rc3
Hi, I have the following errors: Panic on CPU0: FATAL PAGE FAULT [error_code=0002] Faulting linear address: fbfb1100 More details in snapshots as below as I don''t have serial console cables thus unable to get full details of the errors which I will try to get one and send the full error if needed: http://choon.net/xenerrors/Image000.jpg http://choon.net/xenerrors/Image001.jpg
2011 Mar 14
0
[PATCH 3/3] _csched_cpu_pick(): simplify sched_smt_power_savings dependent condition
At least to me, using ?: instead of the (a && ...) || (!a && ...) construct is far easier to grok with a single look. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/xen/common/sched_credit.c +++ b/xen/common/sched_credit.c @@ -526,10 +526,9 @@ _csched_cpu_pick(const struct scheduler weight_cpu = cpus_weight(cpu_idlers); weight_nxt = cpus_weight(nxt_idlers); /* smt_power_savings: consolidate work rather than spreading it */ - if ( ( sched_smt_power_s...
2010 Jun 28
8
[PATCH] add xl ocaml bindings
...sitranslate : bool; + power_mgmt : bool; +} + +type physinfo = +{ + threads_per_core: int; + cores_per_socket: int; + max_cpu_id: int; + nr_cpus: int; + cpu_khz: int; + total_pages: int64; + free_pages: int64; + scrub_pages: int64; + nr_nodes: int; + hwcap: int32 array; + physcap: int32; +} + +type sched_credit = +{ + weight: int; + cap: int; +} + +external domain_make : create_info -> domid = "stub_xl_domain_make" +external domain_build : build_info -> domid -> build_state = "stub_xl_domain_build" + +external disk_add : disk_info -> domid -> unit = "stub_xl_disk_ad...
2011 Feb 08
0
Explain Structure csched_dom
Hello, Can anyone explain the need/purpose for the following variables in the structure csched_dom found in sched_credit.c file struct csched_dom { *struct list_head active_vcpu; struct list_head active_sdom_elem; struct domain *dom;* . . Thank you _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 Aug 19
1
Credit Scheduler code question
...derstand the credit scheduler code and I don''t quite get in which part of it a pcpu starts running a vcpu. I need to keep track of when a vpcu starts running in a cpu and when it stops. Any hint on that? I think that it would also be helpfull to know how functions in the* struct scheduler sched_credit_def* are called. Thanks, Marco. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Sep 27
19
preparing for 4.3.1
Aiming at a release later in October (before Xen Summit I would hope), I''d like to cut RC1 next week. Please indicate any bug fixes that so far may have been missed in the backports already done. Jan
2011 Dec 06
1
Re: [RFC/RFT][PATCH 0 of 3] rework locking in sched_adjust
...This makes the patch bigger, but it avoids a regression. The two things are related anwyay: the reason you now need scheduling locks around EDOM_INFO variables is because you''re getting rid of the pausing and the lock in schedule.c. Thoughts? -George > > -- > > xen/common/sched_credit.c  |   10 +++++++--- > xen/common/sched_credit2.c |   21 +++++++++++---------- > xen/common/sched_sedf.c    |  131 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- > xen/common/schedule.c      |   34 ++-----...
2009 Mar 01
4
Explore the source code
Hello, I have a lots of questions about xen. Also, i would like to explore the code in order to have a better understand of (i hope) how xen works. I have untar the source code, but i''m really lost. I''m a newbie in thatbut i want to learn how to read the code. Can someone tell me how the archive is organized ? What folders are important or not ? In fact, i would
2008 Dec 08
10
[PATCH] Accurate vcpu weighting for credit scheduler
...v1, d2v1, d3v1) In my case, xentop shows following % for each domain. dom1 27 dom2 28 dom3 53 dom4 88 After this patch applied, each domain has following %. dom1 25 dom2 25 dom3 49 dom4 99 This patch adds condition that "credit clear function" should work when vcpu is not runnable. sched_credit.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com> Thanks Atsushi SAKAI _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2006 Jun 20
1
Re: [Xen-ia64-devel] Weekly benchmark results [ww24]
...uler main route. so we want to avoid using the lock. This proposal assumes pausecnt policy is loosely locked. 2)Implement Strict Lock Policy in scheduler Implement v->pausecnt policy within the lock of schedule_data[cpu].schedule_lock. >I got a trace log. > >(XEN) BUG at sched_credit.c:1075 >(XEN) die_if_kernel: bug check 0 >(XEN) d 0xf0000000041d00c8 domid 7 >(XEN) vcpu 0xf0000000041c0000 vcpu 0 >(XEN) >(XEN) CPU 1 >(XEN) psr : 0000101008222018 ifs : 8000000000000a98 ip : >[<f0000000040375a0>] >(XEN) ip is at csched_schedule+0x970/0xf70 >(XEN...
2013 Mar 13
67
High CPU temp, suspend problem - xen 4.1.5-pre, linux 3.7.x
Hi, I''ve still have problems with ACPI(?) on Xen. After some system startup or resume CPU temperature goes high although all domUs (and dom0) are idle. On "good" system startup it is about 50-55C, on "bad" - above 67C (most time above 70C). I''ve noticed difference in C-states repored by Xen (attached files). On "bad" startups in addition suspend
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
...xen/common/keyhandler.c | 5 +- xen/common/lib.c | 9 +- xen/common/libelf/libelf-dominfo.c | 6 + xen/common/libelf/libelf-loader.c | 21 +- xen/common/memory.c | 4 +- xen/common/sched_credit.c | 7 +- xen/common/sched_credit2.c | 11 +- xen/common/sched_sedf.c | 30 +- xen/common/shutdown.c | 4 + xen/common/spinlock.c | 1 + xen/common/timer.c...