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
Shared memory support for NVIDIA Jetson Orin: engineering build #581
Draft
jkuro-tii
wants to merge
11
commits into
tiiuae:main
Choose a base branch
from
jkuro-tii:jkuro-shm-nvidia
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jaroslaw Kurowski <jaroslaw.kurowski@tii.ae>
Signed-off-by: Jaroslaw Kurowski <jaroslaw.kurowski@tii.ae>
jkuro-tii
temporarily deployed
to
internal-build-workflow
April 29, 2024 12:20
— with
GitHub Actions
Inactive
jkuro-tii
requested a deployment
to
external-build-workflow
April 29, 2024 12:21
— with
GitHub Actions
Waiting
Signed-off-by: Jaroslaw Kurowski <104357443+jkuro-tii@users.noreply.github.com>
jkuro-tii
temporarily deployed
to
internal-build-workflow
April 29, 2024 12:23
— with
GitHub Actions
Inactive
jkuro-tii
requested a deployment
to
external-build-workflow
April 29, 2024 12:23
— with
GitHub Actions
Waiting
Signed-off-by: Jaroslaw Kurowski <jaroslaw.kurowski@tii.ae>
jkuro-tii
temporarily deployed
to
internal-build-workflow
April 29, 2024 12:31
— with
GitHub Actions
Inactive
jkuro-tii
requested a deployment
to
external-build-workflow
April 29, 2024 12:31
— with
GitHub Actions
Waiting
jkuro-tii
temporarily deployed
to
internal-build-workflow
May 23, 2024 06:25
— with
GitHub Actions
Inactive
jkuro-tii
requested a deployment
to
external-build-workflow
May 23, 2024 06:25
— with
GitHub Actions
Waiting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Checklist for things done
x86_64
aarch64
riscv64
nix flake check --accept-flake-config
and it passesTesting
Overall scenario:
STEPS:
On the NVIDIA console open two windows.
In the first window run the following commands:
# Login from host to netvm, as test VMs are unavailable from host
ssh 192.168.101.1
# login to the first vm:
ssh test1-vm.ghaf
#start shared memory - socket demon and the test application listener
memsocket -c ./test.sock &
memtest ./test.sock
------------------------ terminal output ------------------------
`
[ghaf@ghaf-host:~]$ ssh 192.168.101.1
(ghaf@192.168.101.1) Password:
Last login: Fri Jul 28 09:38:54 2023 from 192.168.101.2
[ghaf@net-vm:~]$ ssh test1-vm.ghaf
(ghaf@test1-vm.ghaf) Password:
Last login: Fri Jul 28 09:31:38 2023 from 192.168.100.1
[ghaf@test1-vm:~]$ memsocket -c ./test.sock &
[1] 698
[ghaf@test1-vm:~]$ memtest ./test.sock
Waiting for a connection.
`
------------------------------------------------------------------------
In the second window run the following commands:
# Login from host to netvm, as test VMs are unavailable from host
ssh 192.168.101.1
# login to the second vm:
ssh test2-vm.ghaf
#start shared memory - socket demon and the test application sender
memsocket -s ./test.sock 3 &
memtest ./test.sock /dev/random 100M
#verify results on both windows
`
[ghaf@ghaf-host:~]$ ssh 192.168.101.1
(ghaf@192.168.101.1) Password:
Last login: Fri Jul 28 09:38:54 2023 from 192.168.101.2
[ghaf@net-vm:~]$ ssh test2-vm.ghaf
(ghaf@test2-vm.ghaf) Password:
Last login: Fri Jul 28 09:41:05 2023 from 192.168.100.1
[ghaf@test2-vm:~]$ memsocket -s ./test.sock 3 &
[1] 721
[ghaf@test2-vm:~]$ memtest ./test.sock /dev/random 100M
Sent/received 104857601 bytes 8 Mbytes/sec
real 12.230s
user 0.380s
sys 0.450s
[ghaf@test2-vm:~]$
`