View Single Post
Posts: 324 | Thanked: 739 times | Joined on Jun 2009 @ São Paulo, Brazil
#85
Originally Posted by jpfsn View Post
Hi Traysh,

Downloading and trying it now. Are you able to provide a little more information about what priorities you changed?
The cgroups are:


default:
root/system/applications (cpu.shares = 4*1024)
root/system/applications/standby (cpu.shares = 1024)
root/system/applications/standby/transient (cpu.shares = 1024)
root/system/desktop (cpu.shares = 3*1024)
root/system/background (cpu.shares = 1024)

fastern9:
root/system/applications (cpu.shares = 4*1024)
root/system/standby_ui (cpu.shares = 2)
root/system/standby_ui/transient (cpu.shares = 1024)
root/system/desktop (cpu.shares = 3*1024)
root/system/background (cpu.shares = 2)


So, what is the meaning of that?
Suppose only 2 apps want to use the CPU, one in the desktop group and another in the applications group. The one in the applications group will be allowed to use it for 4/7 of the time and the one in the desktop group will use it for 3/7 of the time.

Now suppose one app is in the standby group and the other is in the desktop group (in the original config). The app in the standby group will stil have 4/7 of the time and the one in the desktop, 3/7, because the stanby group is a child of the applications group. After my mod, the app in the standby_ui group will have 2/(3*1024+2) of the time and the one in the desktop group will have (3*1024)/(2+3*1024) of the time. Of course, if the app in the desktop group finishes using the CPU, the one in the standby will be alowed to use it for more time.

So, the desktop and the active apps have a higher priority. Also, some processes are by default moved to groups they shouldn't be in. For example, smartsearch is moved to standby shortly after reboot in the default config. I fixed that in my mod.

Originally Posted by jpfsn View Post
Also, just out of curiosity, did you consider doing an updated FasterN9 with slightly higher ram for background processes, say 20-30mb instead of 10mb?
The RAM of the background processes is back to it's original, 72MB.

Originally Posted by jpfsn View Post
p.s. I hope that your girlfriend is recovering?
She still can't walk and everything, but her bones are getting better. Another month and she will be good again, thanks for asking.