Speed Patch v4.0

No screenshot
*****
Stable Quality
Downloads: 108781
Votes: 2
Free & Open Source license
Click here to install this application





SpeedPatch

The CFS (completely fair scheduler) in our phone's kernel manages the allocation of resources (cpu/mem) between tasks. It was designed to cope with server-class machines such as web servers and databases, giving all tasks equal access to resources. This means if a server is really busy, then all tasks on the machine slow down equally. Desktop/mobile class machines shouldn't work the same way as servers though. They have a human user who expects the machine to respond and give feedback within a certain time. If a machine is slow to respond, the user loses some sense of control over the machine. This patch addresses the problem by taking note of what the user is doing right now, and using that information to accelerate the current task, and decelerate other tasks on the system. The user won't notice the background stuff going slower, they will just see their app working fast. The patch does this by creating multiple classes of task


/dev/cgroup/cpu/tasks /dev/cgroup/cpu/desktop/tasks /dev/cgroup/cpu/applications/tasks /dev/cgroup/cpu/applications/standby/tasks /dev/cgroup/cpu/applications/launcher/tasks
If you look at the contents of these files, you'll see the process IDs of all the tasks in each class. CPU and memory are shared out to these classes using the files "cpu.shares", and "memory_limit_in_bytes". When lots of tasks are demanding CPU/memory at once, the resources are handed out to tasks depending on their share. This is why your phone feels nicer when you have this patch - the kernel automatically classifies tasks and devotes more of cpu/mem to the "application" and "desktop" class tasks, and much less to other classes like "standby".

Updated 2012-02-29 05:15 UTC
Author karam baki

Links

Comments

karam baki
Karma: 56
*****

Just answering pre asked questions:

1- why is this better than ohmd : because ohmd loads freezer while speedpatch doesn't and speedpatch creates a new cgroup for each and every script launched

2- does it have effect on battery life : absolutely not it improves the performance only

3- does it have conflicts/installing/uninstalling problems : previous versions did but this one doesn't have any

4- Does it REALY improve the performance: check TMO and it's dedicated thread

Hope You Enjoy everyone

2012-02-29 11:22 UTC
previous 1 2

Comments:

You must be logged in to make comments.