We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2016-03-10 10:39:06 +0200

Stop prioritizing foreground threads

Windows NT used to have the slider to configure how to prioritize foreground over background threads. You could set to zero to not prioritize at all. From my experience prioritizing foreground threads works only well with single threaded applications. In old times apps were single threaded, but since internet browser age is no longer true. Right now most apps require network communication, and frontend uses minimum compared to all background threads. Frontend tends to block until network dwlivers data, so if you prioritize fronted you get glitches - the ux sucks! it feels like ui hang ups, just because it's waiting for background thread, to which you gave low priority because its background. If I open Opera and start loading some big web page, and I switch task, opera will not be loading that page in background as fast as it could.

My recommendation is to remove foreground thread prioritization totally. I'm ok with 10fps ui, and I'm not ok with ui hanging in the middle of me typing login or url!

Stop prioritizing foreground threads

Windows NT used to have the slider to configure how to prioritize foreground over background threads. You could set to zero to not prioritize at all. From my experience prioritizing foreground threads works only well with single threaded applications. In old times apps were single threaded, but since internet browser age is no longer true. Right now most apps require network communication, and frontend uses minimum compared to all background threads. Frontend tends to block until network dwlivers data, so if you prioritize fronted you get glitches - the ux sucks! it feels like ui hang ups, just because it's waiting for background thread, to which you gave low priority because its background. If I open Opera and start loading some big web page, and I switch task, opera will not be loading that page in background as fast as it could.

My recommendation is to remove foreground thread prioritization totally. I'm ok with 10fps ui, and I'm not ok with ui hanging in the middle of me typing login or url!