Rotary Interactivity Favor Scheduler (RIFS)

News dal mondo dell' I.T.C. Partecipa anche tu.
Post Reply
User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

Rotary Interactivity Favor Scheduler (RIFS)

Post by NicCo »

Rotary Interactivity Favor Scheduler (RIFS)

Source:
http://www.phoronix.com/scan.php?page=n ... px=MTEwMjQ

https://groups.google.com/forum/?fromgr ... YH37JZpL9Q
https://groups.google.com/forum/?fromgr ... It7I6nPa8o
Version 2 of the Rotary Interactivity Favor Scheduler (RIFS) was published on Friday. The RIFS scheduler for the Linux kernel is designed for driving a low-latency Linux desktop.

The Rotary Interactivity Favor Scheduler places the priority of interactive tasks prior to that of CPU bound tasks. All interactive tasks get first stabs to allow for low-latency interaction. The design of RIFS is based upon the multiple feedback queue algorithm.

Details -- along with a patch for RIFSv2 -- can be found on the kernel mailing list.


Benchmarks provided by Mou Chen, the author of the Rotary Interactivity Favor Scheduler, on the mailing list claims even better performance than the Brain Fuck Scheduler.
In the meanwhile

Code: Select all

utente ~ $ time rpmbuild --bs /home/utente/rpmbuild/SPECS/kernel-3.6.9-0.spec
Wrote: /home/utente/rpmbuild/SRPMS/kernel-bfqrifs-3.6.9-1.src.rpm

real    0m5.527s
user    0m4.037s
sys     0m0.421s 

$ time rpmbuild --bb /home/utente/rpmbuild/SPECS/kernel-3.6.9-0.spec
...............................................................
Wrote: /home/utente/rpmbuild/RPMS/x86_64/kernel-bfqrifs-nrj-desktop-3.6.9-0rosa.lts-1-1-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/kernel-bfqrifs-nrj-desktop-devel-3.6.9-0rosa.lts-1-1-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/kernel-bfqrifs-nrj-desktop-latest-3.6.9-0-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/kernel-bfqrifs-nrj-desktop-devel-latest-3.6.9-0-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/noarch/kernel-bfqrifs-source-3.6.9-0rosa.lts-1-1-rosa.lts2012.0.noarch.rpm
Wrote: /home/utente/rpmbuild/RPMS/noarch/kernel-bfqrifs-source-latest-3.6.9-0-rosa.lts2012.0.noarch.rpm
Wrote: /home/utente/rpmbuild/RPMS/noarch/kernel-bfqrifs-doc-3.6.9-0-rosa.lts2012.0.noarch.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/perf-3.6.9-0-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/cpupower-3.6.9-0-rosa.lts2012.0.x86_64.rpm
Wrote: /home/utente/rpmbuild/RPMS/x86_64/cpupower-devel-3.6.9-0-rosa.lts2012.0.x86_64.rpm
Esecuzione(%clean): /bin/sh -e /var/tmp/rpm-tmp.67232
+ umask 022
+ cd /home/utente/rpmbuild/BUILD
+ cd kernel-bfqrifs-x86_64
+ /bin/rm -rf /home/utente/rpmbuild/BUILDROOT/kernel-bfqrifs-3.6.9-0-rosa.lts2012.0.x86_64-buildroot

real    59m19.020s
user    76m39.357s
sys     9m42.398s
utente ~ $ 
This is only the first attempt, where:
NRJ2 preempt + BFQ (replace CFQ) + RIFS (replace CFS)

It this will perform fine, I would like to do a mega merge with the QL branch

I'm thinking something about:
NRJ2 + CK1 + BFS + RIFS + TOI + UKSM

bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
oiram73
Utente senior
Utente senior
Posts: 405
Joined: 5 January 2009, 13:33
ROSA: -
OpenMandriva: 2014
Kernel: 3.19.8-nrjQL-realtim
Desktop: KDE 4.14.3
country: Italia
Location: Perugia
Contact:

Re: Rotary Interactivity Favor Scheduler (RIFS)

Post by oiram73 »

WOW! When I can I try?
OMA-2014
oiram/bin/selom
Da ognuno secondo le proprie capacità ad ognuno secondo i propri bisogni!

User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

Re: Rotary Interactivity Favor Scheduler (RIFS)

Post by NicCo »

oiram73 wrote:WOW! When I can I try?
Main path is
http://abf.rosalinux.ru/downloads/kerne ... _personal/


An example:

Rosa 2012.1 - x86_64

Code: Select all

urpmi http://abf.rosalinux.ru/downloads/kernels_experiments_personal/repository/rosa2012.1/x86_64/main/release/kernel-bfqrifs-nrj-desktop-devel-3.6.9-1rosa-1-1-rosa2012.1.x86_64.rpm
urpmi http://abf.rosalinux.ru/downloads/kernels_experiments_personal/repository/rosa2012.1/x86_64/main/release/kernel-bfqrifs-nrj-desktop-3.6.9-1rosa-1-1-rosa2012.1.x86_64.rpm
#
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

Post Reply