Re: Linux Kernel Group Scheduling Feature of CFS

2016-03-21 Thread SUNITA
Hello,
I want to test the properties of CFS scheduler on a beaglebone.

I tested the number of voluntary and involuntary context switches that
occur while execution of a program.

How to test fairness, throughput, latency.
Hello,

Completely Fair Scheduler uses group Scheduling.  That is every
process gets an equal share of CPU time no matter how many threads are
there.

How to measure that CFS uses Group Scheduling Feature.  Which
performance tools like time, vmstat will help to prove this.

Regards,
Suniita
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Linux Kernel Group Scheduling Feature of CFS

2016-03-03 Thread SUNITA
Hello,

Completely Fair Scheduler uses group Scheduling.  That is every
process gets an equal share of CPU time no matter how many threads are
there.

How to measure that CFS uses Group Scheduling Feature.  Which
performance tools like time, vmstat will help to prove this.

Regards,
Suniita

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Project Idea..

2016-03-01 Thread SUNITA
I located the following implementations on lwn.net  for finding the
energy consumption pattern

http://lwn.net/Articles/603504/
http://lwn.net/Articles/597279/
http://lwn.net/Articles/558234/
http://lwn.net/Articles/557822/

Are there any more articles which i have missed.

Regards
Sunita

On 2/22/16, Greg KH  wrote:
> On Mon, Feb 22, 2016 at 10:54:54AM +0530, SUNITA wrote:
>> Respected Sir/Madam,
>> I am trying to study the effect of Scheduler Policies on Energy
>> Consumption of Portable Device.
>
> There are lots of people currently working on this, and have been for
> many years.  I know of at least 3 complete implementations at the
> moment (two of which ship in some Android phones), so I would suggest
> working with one of those groups to try to get their code merged into
> the Linux kernel.  To create a 4th implementation would seem like a bit
> of a redundant effort.
>
> Search the archives of lwn.net for details about this if you are
> interested.
>
> good luck!
>
> greg k-h
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Project Idea..

2016-02-29 Thread SUNITA
There are four scheduling policies.  Is it feasible if i design a
scheduling policy which will overcome the drawbacks of sched_RR.
The purpose is to reduce the number of context switches.
I have to modify fair.c

Regards,
Sunita
On 25 Feb 2016 08:10, "SUNITA"  wrote:

> Hello,
>
> I want to measure the battery usage of various  applications in linux.
> I executed powerstat and powertop tools.  Are there any other tools
> which indicate the power consumption by programs in linux.
>
> I want to calculate the power used by various scheduling programs.
>
> Also can Sysbench be an alternative to Mibench.
>
> Regards,
> Sunita
>
>
> On 2/22/16, Greg KH  wrote:
> > On Mon, Feb 22, 2016 at 10:54:54AM +0530, SUNITA wrote:
> >> Respected Sir/Madam,
> >> I am trying to study the effect of Scheduler Policies on Energy
> >> Consumption of Portable Device.
> >
> > There are lots of people currently working on this, and have been for
> > many years.  I know of at least 3 complete implementations at the
> > moment (two of which ship in some Android phones), so I would suggest
> > working with one of those groups to try to get their code merged into
> > the Linux kernel.  To create a 4th implementation would seem like a bit
> > of a redundant effort.
> >
> > Search the archives of lwn.net for details about this if you are
> > interested.
> >
> > good luck!
> >
> > greg k-h
> >
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Project Idea..

2016-02-24 Thread SUNITA
Hello,

I want to measure the battery usage of various  applications in linux.
I executed powerstat and powertop tools.  Are there any other tools
which indicate the power consumption by programs in linux.

I want to calculate the power used by various scheduling programs.

Also can Sysbench be an alternative to Mibench.

Regards,
Sunita


On 2/22/16, Greg KH  wrote:
> On Mon, Feb 22, 2016 at 10:54:54AM +0530, SUNITA wrote:
>> Respected Sir/Madam,
>> I am trying to study the effect of Scheduler Policies on Energy
>> Consumption of Portable Device.
>
> There are lots of people currently working on this, and have been for
> many years.  I know of at least 3 complete implementations at the
> moment (two of which ship in some Android phones), so I would suggest
> working with one of those groups to try to get their code merged into
> the Linux kernel.  To create a 4th implementation would seem like a bit
> of a redundant effort.
>
> Search the archives of lwn.net for details about this if you are
> interested.
>
> good luck!
>
> greg k-h
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Fwd: Re: Project Idea..

2016-02-23 Thread SUNITA
-- Forwarded message --
From: "SUNITA" 
Date: 23 Feb 2016 17:23
Subject: Re: Project Idea..
To: "Mulyadi Santosa" 
Cc:

Dear Mulyadi,

Thank you for your reply.  I m proceeding with the modification in
CFS.  Hope this will be useful research.

Regards,
Sunita

On 2/22/16, Mulyadi Santosa  wrote:
> On Mon, Feb 22, 2016 at 12:24 PM, SUNITA  wrote:
>
>> Respected Sir/Madam,
>> I am trying to study the effect of Scheduler Policies on Energy
>> Consumption of Portable Device.
>>
>> This will be achieved by modifying the current Completely Fair
>> Scheduler by changing the range of nice values from 40 to 100 and
>> adding a new scheduing policy.
>> CFS uses SCHED_RR, SCHED_FCFS, SCHED_OTHER, SCHED_BATCH Policy for
>> scheduling any process.  The idea is to insert a new scheduling policy
>> by modifying the header files.
>>
>> Can this be a good topic to carry out research.I welcome any other
>> idea related Linux Kernel CFS.
>>
>> Regards,
>> SUNIITA
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
> Hi Suniita
>
> Sounds challenging.
>
> It might be good topic. Just make sure you understand how to measure power
> consumption and prepare various scenario of load simulation to mimic real
> power consumption pattern.
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> This email has been sent from a virus-free computer protected by Avast.
> www.avast.com <https://www.avast.com/sig-email>
> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Project Idea..

2016-02-23 Thread SUNITA
On 22 Feb 2016 21:48, "Greg KH"  wrote:

> On Mon, Feb 22, 2016 at 10:54:54AM +0530, SUNITA wrote:
> > Respected Sir/Madam,
> > I am trying to study the effect of Scheduler Policies on Energy
> > Consumption of Portable Device.
>
> There are lots of people currently working on this, and have been for
> many years.  I know of at least 3 complete implementations at the
> moment (two of which ship in some Android phones), so I would suggest
> working with one of those groups to try to get their code merged into
> the Linux kernel.  To create a 4th implementation would seem like a bit
> of a redundant effort.
>
> Search the archives of lwn.net for details about this if you are
> interested.
>
> good luck!
>
> greg k-h
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Project Idea..

2016-02-21 Thread SUNITA
Respected Sir/Madam,
I am trying to study the effect of Scheduler Policies on Energy
Consumption of Portable Device.

This will be achieved by modifying the current Completely Fair
Scheduler by changing the range of nice values from 40 to 100 and
adding a new scheduing policy.
CFS uses SCHED_RR, SCHED_FCFS, SCHED_OTHER, SCHED_BATCH Policy for
scheduling any process.  The idea is to insert a new scheduling policy
by modifying the header files.

Can this be a good topic to carry out research.I welcome any other
idea related Linux Kernel CFS.

Regards,
SUNIITA

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies