Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Moved] Throttle down when in use feature #254

Open
dilshat opened this issue Sep 26, 2017 · 1 comment
Open

[Moved] Throttle down when in use feature #254

dilshat opened this issue Sep 26, 2017 · 1 comment

Comments

@dilshat
Copy link
Member

dilshat commented Sep 26, 2017

Moved from: https://github.com/subutai-io/base/issues/1252
While at Linux Foundation ContainerCon I was given some great advice on a throttle down feature which I think we should implement.

On a desktop system with a peer, if we detect through the tray that the user is active browsing and using the machine then we make sure to throttle down activities. I guess other user containers are limited through the VM and perhaps we do not need this feature. However maybe we can suspend the VM if the user wants, or just throttle down activities to not disturb the user or degrade their experience on their own desktop because they're sharing resources.

Something to think about. But the configuration for this should be managed by SS. This might need to be implemented by SS, subos, and tray through their interactions. Basically we have to prevent a degraded user experience on their own laptop/desktop when they're heavily using it. Of course this is only a concern of others' containers are heavily using the network, CPU and disk. Might not be a problem in most cases. Maybe we pass on this feature but we should have a discussion about it regardless.

@dilshat
Copy link
Member Author

dilshat commented Sep 26, 2017

Dilshat commented on Sep 5, 2016
Since SS resides inside VM, isn't it better for tray to control it?
akarasulu commented on Sep 5, 2016
Perhaps yes let's discuss this further. It's most likely going to need to be tray driven. Maybe tray can suspend the VM and then bring it back online based on user activity (keyboard + mouse). I know we cannot throttle a VM - need to turn it off to be able to throttle it down. However we might be able to suspend it. @Lezh1k any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant