On Wednesday, April 25, 2012 11:57:37 AM UTC-4, tbird20d wrote:
>
> > However what I am trying to achieve is context-aware scheduling. By
> > context I mean office, home, driving etc. So under that context to
> > pre-schedule some applications I have predefined for those contexts,
> > or give hi
Thanks Tim for the insights. I thought pre-scheduling would, putting
it into the run queue would load the apps in to memory because they
are in the running state(not actually running but ready to run) isn't
that the case. My question dosen't pre-scheduling do the read ahead?
Thanks for pointing th
On 4/25/12 1:49 AM, Kanishka Ariyapala wrote:
My goal is to make those processes(apps defined for that context) in
the running sate(high priority) ready to be run(when the user clicks
on it) and to decrease the priority of other apps(not defined for that
contexts) along with the other normal OS p
On 04/25/2012 01:09 AM, Kanishka Ariyapala wrote:
> Yes you have a point there, once other user applications are starting
> and the process I have added may be pushed to sleep (waiting for some
> resource) it will not be in the rb tree.
>
> However what I am trying to achieve is context-aware sche
Yes you have a point there, once other user applications are starting
and the process I have added may be pushed to sleep (waiting for some
resource) it will not be in the rb tree.
However what I am trying to achieve is context-aware scheduling. By
context I mean office, home, driving etc. So unde
Thanks Tim for the detailed answer and the questions. It shed some
light on me too. I didn't tell why I wanted to pre -schedule a
process.
My final year project is a context-aware OS, which is too big to
handle so I scaled it down to only one aspect of the OS, scheduling.
So am trying to achieve c
I think it may not reasonable to do this, because you have to make
sure the process that you would like to add to rb-tree (run queue)
will not go to "sleep" (once you call some kernel APIs that may get
into sleep). When this process uses this kind of kernel API and yield
the CPU resources, the sche
On 04/24/2012 10:12 AM, Kanishka Ariyapala wrote:
> Hi Deborah,
>
> Thanks for the reply and the reference link,
> What I want to do is something like this, tell the scheduler about a
> process(which is not started yet) and the scheduler adding it to the
> rbtree. Any reference material you know o
Hi Deborah,
Thanks for the reply and the reference link,
What I want to do is something like this, tell the scheduler about a
process(which is not started yet) and the scheduler adding it to the
rbtree. Any reference material you know of achieving this?
Regards,
Kanishk
On 4/24/12, Deborah Falco
Hi Gaggery,
Thanks for the reply.
Sori for the miss understanding. init.rc won't work I guess. I want
some thing done at the kernel level(scheduler) I mean like telling the
scheduler about a process and the scheduler adding it to the red-black
tree of the CFS.
Regards,
Kanishka
On 4/23/12, Tsai G
Hi Kanishka,
Thanks Deborah,
>
> What are these five files - sched.c, sched.h, sched_fair.c ??
>
>
I read part of Android source code and I find notice about scheduler
in *sched.h,
sched_policy.h, sched_policy.c*!
file:///C:/Users/Deborah/Desktop/SCHEDULER%20ANDROID/scheduler%20-%20Android%20Pro
Hi DK,
I said Android "DOES NOT" has its own scheduler, it relies on the
Linux kernel to do process scheduling. I am not sure why you want to
add a process before user starts the process. But, if you just want to
execute a process before other user's application, you may modify the
init.rc or i
Thanks Deborah,
What are these five files - sched.c, sched.h, sched_fair.c ??
Yes, rbtree sorts according to vruntime, and smallest is the left most
node and the scheduler just selects the left most node. right?
Any ideas on how to add a process to the rbtree? usually when a user
starts a proces
Thanks Gaggery,
U mean Android has its own scheduler? Do you know how to add a process
to the CFS scheduler(rbtree). I mean if a user starts a process it
will be automatically added, but want to add it before the user starts
the process.
Regards,
Kanishka
On Apr 23, 8:07 pm, Tsai Gaggery wrote:
14 matches
Mail list logo