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

First draft of a MVP gRPC API for the GEOPM Runtime #3362

Draft
wants to merge 50 commits into
base: dev
Choose a base branch
from

Conversation

cmcantalupo
Copy link
Contributor

@cmcantalupo cmcantalupo commented Feb 28, 2024

This is a proposal for a GEOPM Runtime Service API which enables remote control and sampling of optimization algorithms over TCP/IP. The PoC and protobuffer definition is posted here.

The runtime.py script which is an example client code that uses the service to populate a database with energy and power information gathered from the compute node. This serves as an example use case, and will likely change over time.

  • Adding a gRPC service that supports some of the features of the GEOPM runtime
  • WIP: this is a proof of concept and not ready to be merged
  • Feedback is welcome, but the implementation is incomplete

@cmcantalupo cmcantalupo force-pushed the runtime-service branch 4 times, most recently from 2e82dc2 to 2f68e75 Compare February 29, 2024 20:56
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
src/RuntimeService.hpp Outdated Show resolved Hide resolved
geopm_runtime.proto Outdated Show resolved Hide resolved
cmcantalupo and others added 13 commits March 21, 2024 13:29
…tch()

Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
- Also make reports a strict function of the "agent" selected.

Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Co-authored-by: Brad Geltz <brgeltz@gmail.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
- These are least squqres estimates regressing against time
- May want quadratic or cubic LSE regressions in the future

Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
- Add a script to run client and server on local host.

Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
cmcantalupo and others added 5 commits March 22, 2024 14:54
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants