ITISFoundation / osparc-issues

🐼 issue-only repo for the osparc project
3 stars 5 forks source link

personalizable resource limits #618

Open esraneufeld opened 2 years ago

esraneufeld commented 2 years ago

To avoid overscheduling of nodes, services should be scheduled with minimal resource requirements. In order not to limit "power users", those requirements can be dynamically be overwritten by users via the osparc user interface. Possibility to override is tied to users/group permissions. (computational backend for now, also keep in mind https://github.com/ITISFoundation/osparc-issues/issues/576)

### Tasks
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/4515
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/4516
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/4357
### Sundae
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/4468
esraneufeld commented 2 years ago

To avoid overscheduling of nodes, services should be scheduled with minimal resource requirements. In order not to limit "power users", those requirements can be dynamically be overwritten by users via the osparc user interface. Possibility to override is tied to users/group permissions. (computational backend for now, also keep in mind ITISFoundation/osparc-issues#576)

sanderegg commented 2 years ago

Update on sprint Macarons

Done

Todo

sanderegg commented 2 years ago

Update on sprint Croissant

Done

Ongoing

Open

elisabettai commented 2 years ago

@mguidon, could something be done this sprint to prevent the case MS was hitting see this message in Mattermost? For the POs this is still very important and needed for s4l upcoming releases. Could you please discuss with the backend team and see what can be done?

mguidon commented 2 years ago

Hi. Strictly speaking, personalized resources are not required for s4l:web:lite. Melanies problem is related to her using a very outdated legacy service (with strict resource limits of outrageous 96 GB RAM) and her needing more RAM than the default one for the newer version (16GB). If we want to work on that I suggest to do a minimal thing that allows us to override the limits but not yet the users. (e.g. enhancing the services_specifications table in the db.) @sanderegg @GitHK any thoughts on this?

sanderegg commented 2 years ago

Goal for sprint Athena

sanderegg commented 1 year ago

Update on sprint Athena

Done

sanderegg commented 1 year ago

Goal for sprint Mithril

sanderegg commented 1 year ago

Update on sprint Mithril

Done

sanderegg commented 1 year ago

Some notes

current implementation

If the user need to dynamically change a service resources I see the following requirements:

sanderegg commented 1 year ago

Goal for sprint Jelly Beans

Write down in details how this will be surfaced to the users

Potential first use case: Melanie can choose how much RAM the ti jupyter smash has available. Default will be what is on the label. If the admin allows it, she can individually change the settings upon starting of the service.

sanderegg commented 1 year ago

Update on sprint Jelly Beans

Towards user-defined resources on services plan

1. Running a service with dynamically changed resources

Use-case:

after discussion with @mguidon the idea is to go with 1. first and wait with 2. until capabilities of dynamic clusters are better defined. 3. could be implemented once 1. is done.

mguidon commented 1 year ago
sanderegg commented 1 year ago
sanderegg commented 1 year ago

Update for sprint Pastel de Nata

Ongoing

sanderegg commented 1 year ago

Update Watermelon

Done:

Summary: The user can now change a service required resources (CPUs, RAM) through the oSparc GUI. These changes are persisted within the project. There are currently no upper bound for resources. The platform will try to start the service using the defined required resources.

Open:

sanderegg commented 1 year ago

Update Sundae

Ongoing