Registered Member
|
At least at startup, my cpu goes to 100% for about 30s being the bottleneck of my pc. Most of this high cpu usage is due to a lot of applications that are being resumed from the last Session.
Given this bottleneck, I'd like that my cpu is used more on my current activity and desktop's applications than on the applications that I can't see from other activities and desktops. Maybe the user should be able to whitelist the programs than can have its niceness adjusted. I think that by doing this (and fixing that NetworkManager/polkit issue), sessions restores would be blazing fast :3 |
Registered Member
|
Definitely an interesting idea worth considering - processes associated with the current activity are of more interest to me than processes associated with other activities and should therefore be given priority.
Another option which would also help in reducing CPU load at startup would be to delay starting applications on other activities until after everything on the current activity has been loaded, or until after a certain delay. Or start all activities other than the current one in the stopped state rather than in their last state.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
I think that arbitrary delays would only cause the system to start slower, the problem here isn't loading the CPU (an amount of "work" is required to start every app, so we are using that CPU anyways). The real problem is assuring responsiveness on the current desktop&activity, and that require us to tell the CPU scheduler (The monkey inside the kernel that splits the CPU between the programs) which applications are more valuable. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]