-
Notifications
You must be signed in to change notification settings - Fork 3
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
Non-GPU mandelboxes #6987
Non-GPU mandelboxes #6987
Conversation
Schema is unchanged, no database migration needed.Carry on! |
Codecov Report
@@ Coverage Diff @@
## dev #6987 +/- ##
==========================================
- Coverage 54.43% 54.41% -0.03%
==========================================
Files 156 156
Lines 32089 32109 +20
==========================================
+ Hits 17467 17471 +4
- Misses 14358 14374 +16
Partials 264 264
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks super clean!! Definitely want a review from @MauAraujo and @rpadaki
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just developer QoL suggestions. I'll spin up a new instance and get testing later today!
@philippemnoel @gabrieleoliaro what do you think of switching the client side of the end-to-end tester over to a non-GPU instance. I think this would (a) save us money and (b) better simulate conditions on a client's machine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great @yanchenm ! Sorry for the delay in reviewing, but we have been a bit busy these last few days. Left a couple of small comments, I think once we fix them this PR will be good to go. I was able to test on an r5.large
instance and start the host service + a mandelbox. I confirmed that the Xserver started correctly and even was able to connect the protocol (it complained about nvidia drivers and Chrome didn't start, but it connected and appeared to stream audio). Thanks for taking care of this and great work :)
Chrome didn't start because we explicitly make it use the gpu @MauAraujo -- great catch. That's an easy fix; just need to experiment with chrome flags |
could we make Chrome start as part of this PR? The protocol doesn't need to start we can fix this next, should be easy |
@yanchenm @MauAraujo can we get this PR wrapped up please? |
Yes, we just have to solve the remaining E2E issues and it's good to go. Will wrap up today |
f27fb23
to
49b1135
Compare
Testing Chrome flags to get the launch working, will update |
7fbde6d
to
f5fe0f2
Compare
Protocol End-to-End Streaming Test ResultsExperiments SummaryExpand Summary✅ Experiment 1 - Bandwidth: Unbounded, Delay: None, Packet Drops: None, Queue limit: default. Download logs: aws s3 cp s3://whist-e2e-protocol-test-logs/yanchen/non-gpu/2022_08_11@16-30-35/ 2022_08_11@16-30-35/ --recursive ✅ Experiment 2 - Bandwidth: variable between 15Mbit and 30Mbit, Delay: 10 ms, Packet Drops: None, Queue Limit: None, Conditions change over time? Yes, frequency is variable between 1000 ms and 2000 ms. Download logs: aws s3 cp s3://whist-e2e-protocol-test-logs/yanchen/non-gpu/2022_08_11@16-39-45/ 2022_08_11@16-39-45/ --recursive ✅ Experiment 3 - Bandwidth: variable between 10Mbit and 20Mbit, Delay: 10 ms, Packet Drops: None, Queue Limit: None, Conditions change over time? Yes, frequency is variable between 500 ms and 2000 ms. Download logs: aws s3 cp s3://whist-e2e-protocol-test-logs/yanchen/non-gpu/2022_08_11@16-44-05/ 2022_08_11@16-44-05/ --recursive ✅ Experiment 4 - Bandwidth: 10Mbit, Delay: 10 ms, Packet Drops: None, Queue Limit: 100 packets, Conditions change over time? No.. Download logs: aws s3 cp s3://whist-e2e-protocol-test-logs/yanchen/non-gpu/2022_08_11@16-48-25/ 2022_08_11@16-48-25/ --recursive Full Results: link here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Signed-off-by: Philippe Noël <[email protected]>
Ticket(s) Closed
Description
Modify host-service and mandelboxes to be able to run on non-GPU AWS instances.
Implementation
Documentation & Tests Added
Testing Instructions
Test that host setup, host service, and mandelboxes work on non-GPU instance:
./setup_host.sh --localdevelopment --nogpu
/usr/share/whist/display.log
and ensure that X server has launched successfully and not crashed (last lines of log do not containServer terminated with error (1).
)/var/log/whist/display-out.log
and look for success messageWaiting for AwesomeWM to exit, to keep the X server open indefinitely...
/var/log/whist
)Test that host setup, host service, and mandelboxes still work as expected on GPU instances.
PR Checklist