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

Throttle down when in use feature #1252

Closed
akarasulu opened this issue Aug 23, 2016 · 3 comments
Closed

Throttle down when in use feature #1252

akarasulu opened this issue Aug 23, 2016 · 3 comments
Assignees

Comments

@akarasulu
Copy link
Contributor

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

dilshat commented Sep 5, 2016

Since SS resides inside VM, isn't it better for tray to control it?

@akarasulu
Copy link
Contributor Author

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?

@dilshat
Copy link
Member

dilshat commented Sep 26, 2017

Will be handled in the course of subutai-io/control-center#254

@dilshat dilshat closed this as completed Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants