Brooklyn/tools/testing/vsock
crowetic a94b3d14aa Brooklyn+ (PLUS) changes
Changes included (and more):

1. Dynamic RAM merge

2. Real-time page scan and allocation

3. Cache compression

4. Real-time IRQ checks

5. Dynamic I/O allocation for Java heap

6. Java page migration

7. Contiguous memory allocation

8. Idle pages tracking

9. Per CPU RAM usage tracking

10. ARM NEON scalar multiplication library

11. NEON/ARMv8 crypto extensions

12. NEON SHA, Blake, RIPEMD crypto extensions

13. Parallel NEON crypto engine for multi-algo based CPU stress reduction
2022-05-12 10:47:00 -07:00
..
.gitignore cleaning up the git 2022-04-02 18:24:21 +05:00
control.c cleaning up the git 2022-04-02 18:24:21 +05:00
control.h cleaning up the git 2022-04-02 18:24:21 +05:00
Makefile cleaning up the git 2022-04-02 18:24:21 +05:00
README cleaning up the git 2022-04-02 18:24:21 +05:00
timeout.c cleaning up the git 2022-04-02 18:24:21 +05:00
timeout.h cleaning up the git 2022-04-02 18:24:21 +05:00
util.c cleaning up the git 2022-04-02 18:24:21 +05:00
util.h cleaning up the git 2022-04-02 18:24:21 +05:00
vsock_diag_test.c cleaning up the git 2022-04-02 18:24:21 +05:00
vsock_test.c Brooklyn+ (PLUS) changes 2022-05-12 10:47:00 -07:00

AF_VSOCK test suite
-------------------
These tests exercise net/vmw_vsock/ host<->guest sockets for VMware, KVM, and
Hyper-V.

The following tests are available:

  * vsock_test - core AF_VSOCK socket functionality
  * vsock_diag_test - vsock_diag.ko module for listing open sockets

The following prerequisite steps are not automated and must be performed prior
to running tests:

1. Build the kernel, make headers_install, and build these tests.
2. Install the kernel and tests on the host.
3. Install the kernel and tests inside the guest.
4. Boot the guest and ensure that the AF_VSOCK transport is enabled.

Invoke test binaries in both directions as follows:

  # host=server, guest=client
  (host)# $TEST_BINARY --mode=server \
                       --control-port=1234 \
                       --peer-cid=3
  (guest)# $TEST_BINARY --mode=client \
                        --control-host=$HOST_IP \
                        --control-port=1234 \
                        --peer-cid=2

  # host=client, guest=server
  (guest)# $TEST_BINARY --mode=server \
                        --control-port=1234 \
                        --peer-cid=2
  (host)# $TEST_BINARY --mode=client \
                       --control-port=$GUEST_IP \
                       --control-port=1234 \
                       --peer-cid=3