login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
25
Re: [git] CFS-devel, latest code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Mike Galbraith <efault@...>
To: <vatsa@...>
Cc: Ingo Molnar <mingo@...>, <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>, Dhaval Giani <dhaval@...>, Dmitry Adamushko <dmitry.adamushko@...>, Andrew Morton <akpm@...>
Subject:
Re: [git] CFS-devel, latest code
Date: Tuesday, September 25, 2007 - 9:35 am
On Tue, 2007-09-25 at 18:21 +0530, Srivatsa Vaddagiri wrote:
quoted text
> On Tue, Sep 25, 2007 at 12:36:17PM +0200, Ingo Molnar wrote: > > hm. perhaps this fixup in kernel/sched.c:set_task_cpu(): > > > > p->se.vruntime -= old_rq->cfs.min_vruntime - new_rq->cfs.min_vruntime; > > This definitely does need some fixup, even though I am not sure yet if > it will solve completely the latency issue. > > I tried the following patch. I *think* I see some improvement, wrt > latency seen when I type on the shell. Before this patch, I noticed > oddities like "kill -9 chew-max-pid" wont kill chew-max (it is queued in > runqueue waiting for a looong time to run before it can acknowledge > signal and exit). With this patch, I don't see such oddities ..So I am hoping > it fixes the latency problem you are seeing as well.
http://lkml.org/lkml/2007/9/25/117
plus the below seems to be the SIlver Bullet for the latencies I was seeing.
quoted text
> Index: current/kernel/sched.c > =================================================================== > --- current.orig/kernel/sched.c > +++ current/kernel/sched.c > @@ -1039,6 +1039,8 @@ void set_task_cpu(struct task_struct *p, > { > int old_cpu = task_cpu(p); > struct rq *old_rq = cpu_rq(old_cpu), *new_rq = cpu_rq(new_cpu); > + struct cfs_rq *old_cfsrq = task_cfs_rq(p), > + *new_cfsrq = cpu_cfs_rq(old_cfsrq, new_cpu); > u64 clock_offset; > > clock_offset = old_rq->clock - new_rq->clock; > @@ -1051,7 +1053,8 @@ void set_task_cpu(struct task_struct *p, > if (p->se.block_start) > p->se.block_start -= clock_offset; > #endif > - p->se.vruntime -= old_rq->cfs.min_vruntime - new_rq->cfs.min_vruntime; > + p->se.vruntime -= old_cfsrq->min_vruntime - > + new_cfsrq->min_vruntime; > > __set_task_cpu(p, new_cpu); > } > > > -- > Regards, > vatsa
-
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[git] CFS-devel, latest code
, Ingo Molnar
, (Mon Sep 24, 5:45 pm)
Re: [git] CFS-devel, latest code
, Andrew Morton
, (Tue Sep 25, 3:41 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 4:43 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 7:00 am)
Re: [git] CFS-devel, latest code
, Andrew Morton
, (Tue Sep 25, 4:48 am)
Re: [git] CFS-devel, latest code
, S.Çağlar
, (Tue Sep 25, 2:50 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 5:17 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 2:10 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 3:35 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 4:33 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 5:13 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 5:44 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 5:40 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 6:10 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 6:28 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 8:28 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 8:54 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 6:36 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 8:51 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 9:35 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 10:07 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 7:33 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 10:48 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 5:17 am)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 5:47 am)
Re: [git] CFS-devel, latest code
, Bill Davidsen
, (Fri Sep 28, 5:46 pm)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Wed Sep 26, 4:04 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 6:02 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 4:53 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 5:12 am)
Re: [git] CFS-devel, latest code
, Srivatsa Vaddagiri
, (Tue Sep 25, 5:11 am)
Re: [git] CFS-devel, latest code
, Mike Galbraith
, (Tue Sep 25, 5:15 am)
Re: [git] CFS-devel, latest code
, Daniel Walker
, (Mon Sep 24, 8:08 pm)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Tue Sep 25, 2:45 am)
Re: [git] CFS-devel, latest code
, Daniel Walker
, (Tue Sep 25, 11:17 am)
Re: [git] CFS-devel, latest code
, Andrew Morton
, (Mon Sep 24, 5:55 pm)
Re: [git] CFS-devel, latest code
, Ingo Molnar
, (Mon Sep 24, 5:59 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jeff Garzik
[PATCH 1/9] irq-remove: core
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Dave Young
Re: 2.6.24-rc3-mm1
Willy Tarreau
Re: From 2.4 to 2.6 to 2.7?
git
:
linux-activists
:
Dan Miner
Compilation speeds (was Re: No patchlevel 3.}
Ian Jackson
RFD: comp.os.linux split
X X
X11 GIf viewer somewhere?
root
Broken pipe when using reboot/halt, etc.
linux-netdev
:
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Colocation donated by:
Who's online
There are currently
2 users
and
907 guests
online.
Online users
decoracionfies
regalosorigtt
Syndicate