# Tools and Testing > [!NOTE] > **WHAT TO EXPECT** > > **In this article**, users will learn about the tools available to test their cloudSwXtch multicast network, and where each one is installed. ## cloudSwXtch Testing Tools The cloudSwXtch, xNIC and swXtchBridge installations include these utilities to verify the functionality and performance of a cloudSwXtch network. Which ones are installed depends on the component (see the table below). - [**swx-perf**](swx-perf.md): sends, receives and verifies multicast traffic, and ends every test with a verdict. - [**swx-top**](swx-top.md): displays statistics of the cloudSwXtch, its clients and its streams in a text-based console UI. - [**swx-tcpdump**](swx-tcpdump.md): captures packets. It is a build of tcpdump, with the same options and filters. - [**xdpdump**](xdpdump.md): captures packets on interfaces that run an XDP program, before and after the program. - [**swx-where**](swx-where.md): reports the cloud, region, instance type and network interfaces of the VM. - [**swx-cli**](swx-cli.md): manages the cloudSwXtch deployment: clusters, High Availability, adaptors, clients, licenses, users and certificates. swx-perf, swx-top, swx-tcpdump and xdpdump are bundled in [swx-tools](swx-tools.md), which can also be installed on Linux VMs that are not cloudSwXtch components, to test from a standard VM. The following table shows where each tool is installed by the standard procedures: | Tool / Component | cloudSwXtch | swXtchBridge | Linux xNIC VM | Windows xNIC VM | Linux VM with swx-tools | | --- | --- | --- | --- | --- | --- | | swx-perf | ❌ | ✅ | ✅ | ✅ | ✅ | | swx-top | ✅ | ✅ | ✅ | ✅ | ✅ | | swx-tcpdump | ✅ | ✅ | ✅ | ❌ | ✅ | | xdpdump | ❌ | ✅ | ✅ | ❌ | ✅ | | swx-where | ✅ | ✅ ¹ | ✅ | ✅ | ❌ | | swx-cli | ✅ | ❌ | ✅ ² | ✅ ² | ❌ | ¹ Inside the bridge container: `docker exec -it swx-bridge swx-where`. ² Installed, but in the current release it stops with `failed to load any of the 1 trusted certificates provided`. Run swx-cli on the cloudSwXtch. A ❌ means the tool is not installed there by default. For swx-perf, swx-top, swx-tcpdump and xdpdump, install the [swx-tools](swx-tools.md) bundle on that machine if needed. For the options of each tool, run `swx-perf --help`, `swx-tcpdump --help`, `xdpdump --help`, `swx-where --help` or `swx-cli help`, or see its article. ### Where to start Before troubleshooting an application, prove that the multicast path itself works. Run `swx-perf` as a producer on one VM and as a consumer on a **different** VM, then watch the stream in `swx-top`. When the producer and the consumer run on the same VM, the consumer receives the packets locally and not through the cloudSwXtch, so it is not a valid test. If `swx-top` shows an unexpected state, see [How to troubleshoot swx-top](../how-tos/cloudswxtch-how-tos/monitoring-cloudswxtch/how-to-troubleshoot-swx-top.md). > [!WARNING] > **Test at the packet size the application will use** > > `swx-perf` lets users choose the packet size, and a test only proves what it measured. A stream that runs clean at a small size says nothing about an application that sends larger packets: in some configurations, packets larger than the MTU of the path are lost without an error on the sender. > > Run at least one pass at the largest packet size the application will actually send, and allow for the 32 bytes the cloudSwXtch and xNIC add to every packet. If a stream is clean at a small size and lossy at full size, check the MTU of the interfaces on the path: see [How to set MTU size in Linux and Windows](../how-tos/os-and-environment/how-to-set-mtu-size-in-linux-and-windows.md). To see the real size of a packet on the wire, capture on the data interface with `swx-tcpdump -v`: the IP length shown is the original packet plus 32 bytes. > [!NOTE] > **wXcked Eye for Monitoring** > > In addition to viewing cloudSwXtch statistics in `swx-top`, users can also use wXcked Eye from a web browser that has access to the cloudSwXtch network. For more information, see [Using wXcked Eye for cloudSwXtch](../cloudswxtch/using-wxcked-eye/topology-graph/index.md). ## Universal Third-Party Test Tools A number of universal third-party tools are also available for testing a cloudSwXtch network. For more information on these alternatives, see [Universal Third-Party Test Tools](universal-third-party-tools-useful-for-testing.md).