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

[dpapp] Initial dpapp implementation being a vpp plugin #609

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jimmyzhai
Copy link
Collaborator

@jimmyzhai jimmyzhai commented Jul 23, 2024

Following dpapp HLD - #606, this is the 3th part implementation. It implements the basic logic of flow creation, deletion and ageout.

It can be built via make dpapp.

@KrisNey-MSFT
Copy link
Collaborator

hi @jimmyzhai - is this ready to merge? Thank you!

@KrisNey-MSFT
Copy link
Collaborator

hi @jimmyzhai it looks like we have conflicts that need to be resolved please and thank you.

@@ -0,0 +1,17 @@
#!/bin/bash
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also rename this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 3 times, most recently from e2c1a02 to 1ac27da Compare September 2, 2024 12:48
@@ -0,0 +1,11 @@
cmake_minimum_required(VERSION 3.5)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mind to add a README here to help people getting started on it?

@KrisNey-MSFT
Copy link
Collaborator

checking in @jimmyzhai - is this a lower priority in general? TY!

@KrisNey-MSFT
Copy link
Collaborator

just checking in :)

@jimmyzhai
Copy link
Collaborator Author

just checking in :)

I'm actively updating this PR now after #608 is merged.

@KrisNey-MSFT
Copy link
Collaborator

KrisNey-MSFT commented Oct 30, 2024 via email

@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 4 times, most recently from fb6bab2 to 765c873 Compare November 5, 2024 17:25
@KrisNey-MSFT
Copy link
Collaborator

hi @jimmyzhai - do you need help from @chrispsommers on this one?

@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 9 times, most recently from 276617b to 0b51e53 Compare November 6, 2024 07:45
@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 2 times, most recently from fe342e4 to d806519 Compare November 7, 2024 14:39
@jimmyzhai
Copy link
Collaborator Author

hi @jimmyzhai - do you need help from @chrispsommers on this one?

Hi @chrispsommers, I've always encountered workflow DASH-BMV2-CI failure with many tries. The error is:

**The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.

Run PTF Tests
The operation was canceled.**

The error may happen sometimes before step "Run PTF Tests". The run-saithrift-ptftests succeeds in my local host. Looks the job is canceled by github action runner (due to running out of resources??). The runner host has 4 vCPUs, 16G memory (seen in step "Check dpapp status"). With adding dpapp, it takes more system overload and reaches limit? Any idea? Would you try to adjust github action runner host to more capacity machine (8 vCPUs) and re-run this workflow?

@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 10 times, most recently from 8f735d4 to 8031721 Compare November 12, 2024 09:25
@jimmyzhai
Copy link
Collaborator Author

hi @jimmyzhai - do you need help from @chrispsommers on this one?

Hi @chrispsommers, I've always encountered workflow DASH-BMV2-CI failure with many tries. The error is:

**The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.

Run PTF Tests The operation was canceled.**

The error may happen sometimes before step "Run PTF Tests". The run-saithrift-ptftests succeeds in my local host. Looks the job is canceled by github action runner (due to running out of resources??). The runner host has 4 vCPUs, 16G memory (seen in step "Check dpapp status"). With adding dpapp, it takes more system overload and reaches limit? Any idea? Would you try to adjust github action runner host to more capacity machine (8 vCPUs) and re-run this workflow?

Found the cause. The runner is stopped due to sysctl vm.max_map_count = 1548, which limits max memory mapping number of one process.

@jimmyzhai jimmyzhai closed this Nov 12, 2024
@jimmyzhai jimmyzhai reopened this Nov 12, 2024
@jimmyzhai jimmyzhai force-pushed the dp_app_add_vpp_plugin branch 2 times, most recently from bce4c08 to 21306ad Compare November 14, 2024 11:55
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.

3 participants