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

Run Experiment on Openwhisk raise NotImplementedError #104

Open
DaY1zz opened this issue Dec 26, 2022 · 5 comments
Open

Run Experiment on Openwhisk raise NotImplementedError #104

DaY1zz opened this issue Dec 26, 2022 · 5 comments
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers

Comments

@DaY1zz
Copy link

DaY1zz commented Dec 26, 2022

When I tried to run the Experiment following the instruction (https://github.com/spcl/serverless-benchmarks/blob/master/docs/usage.md#experiment) at the deployment of Openwhisk.
./sebs.py experiment process perf-cost --config example.json --deployment openwhisk
It raised a NotImplementedError as below.

image

And I looked for this method in the source code. It directly raised the Error. So how can I run the Experiment correctly?

image

@mcopik
Copy link
Collaborator

mcopik commented Dec 29, 2022

@DaY1zz Thanks for raising the issue! Indeed, the enforcement of cold start is not implemented on OpenWhisk.

Let me check if this feature can be added easily. Meanwhile, you can run the perf-cost experiment for warm instances.

@DaY1zz
Copy link
Author

DaY1zz commented Dec 30, 2022

@mcopik Thanks for your reply. So, can you tell me which experiments are implemented on OpenWhisk? And I have successfully tried the perf-cost experiment for warm instances.

@mcopik mcopik added the bug Something isn't working label Jan 4, 2023
@mcopik
Copy link
Collaborator

mcopik commented Jan 4, 2023

@DaY1zz You should be able to run the perf-cost experiment with experiments: warm and sequential. Other types require enforcing cold starts.

https://github.com/spcl/serverless-benchmarks/blob/master/config/example.json#L14

@mcopik mcopik added the enhancement New feature or request label Feb 16, 2023
@mcopik mcopik added the good first issue Good for newcomers label Mar 25, 2023
@harnaman-hk
Copy link

Hi @mcopik, can I work on this issue?

@mcopik
Copy link
Collaborator

mcopik commented Mar 31, 2023

@harnaman-hk Yes, please!

I'd recommend starting with the environment of OpenWhisk actions - see if updating any part of the configuration invalidates existing containers, and the consecutive invocations will be cold. On AWS and Azure we update environment variables, this might also work on OpenWhisk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants