LightBlog

lundi 30 mai 2016

[S7390][Kernel][V1]M99 custom kernel

A custom kernel made for better performance:)

Features:
  • Sources upgraded to 3.4.112
  • added ROW and deadline i/o scheduler
  • Compiled with gcc linaro 4.8

ROW
ROW stands for "READ Over WRITE"which is the main requests dispatch policy of this algorithm. The ROW IO scheduler was developed with the mobile devices needs in mind. In mobile devices we favor user experience upon everything else,thus we want to give READ IO requests as much priority as possible. In mobile devices we won¡¯t have as much parallel threads as on desktops. Usually it¡¯s a single thread or at most 2 simultaneous working threads for read & write. Favoring READ requests over WRITEs decreases the READ latency greatly.


Deadline
The goal of the Deadline scheduler is to attempt to guarantee a start service time for a request. It does that by imposing a deadline on all I/O operations to prevent starvation of requests. It also maintains two deadline queues, in addition to the sorted queues (both read and write). Deadline queues are basically sorted by their deadline (the expiration time), while the sorted queues are sorted by the sector number.

Before serving the next request, the Deadline scheduler decides which queue to use. Read queues are given a higher priority, because processes usually block on read operations. Next, the Deadline scheduler checks if the first request in the deadline queue has expired. Otherwise, the scheduler serves a batch of requests from the sorted queue. In both cases, the scheduler also serves a batch of requests following the chosen request in the sorted queue.


Download
V1

Installation
-go into recovery
-install m99-kernel.zip
-reboot

In future version:
-i will add some other i/o scheduler
-i will try to upgrade more
-i wont add any cpu governor, because this device is poor and for be usable need all cpu power(this is why performance is the default governor)
-i will add s7392 version

Source code


from xda-developers http://ift.tt/25u8EYr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire