Thanks Marcus, I have allocated 8 CPUs and 16 GB of RAM, which should be overkill. And I do understand that there could (and most likely will) be a hit for running inside a VM, but in this instance I am trying to understand where the throttle is and whether there is a fix. I have verified that the network/NIC should not be an issue as I have ~900 Mbps into and out of the VM. I have plenty of cores and RAM to hypothetically handle the N200 rates, but I am still only able to get 5 Msps. Are there any specific issues with a VM that can be located and diagnosed? I am trying to get beyond the "vbox will be slow" and get more details on what is actually causing the slower data rates. Thanks again for your reply!
Saied, I am getting that throughput between the VM and a laptop on the same local network (not the host machine). On Thu, May 17, 2018 at 10:26 AM, Marcus D. Leech via USRP-users < usrp-users@lists.ettus.com> wrote: > On 05/17/2018 09:35 AM, Scott H via USRP-users wrote: > > Hello, > I am currently trying to figure out why my N200 will only support data > rates of 5 Msps inside a VM. > System Details: > Host: Ubuntu 16.04 > > Guest: Centos7 > Processors: 8 > RAM: 16 GB > Network: Bridged Adapter, virtio > > I have used iperf3 to test and verify my network speeds. Speeds going > into and out of the VM are both ~900 Mbps. I have also tested the N200 on > the host machine, and can achieve 20 Msps without any drops (not sure why I > can't hit 25 Msps, but that is a different issue). To test the USRP speeds > I am using the built in UHD benchmark_rate example. > > benchmark_rate --rx_rate XXe6 --args "num_recv_frames=256" > > Any ideas as to why the VM would be killing the data rate? I have had > similar issues with USB USRPs, but my understanding was those took a big > hit due to the virtualization of the actual USB hardware interface. It > seems that with a networked USRP, that as long as the network can handle > the speeds (which supposedly it can using iperf3), then I shouldn't see any > hit in the data rate. > > Thanks for your time and please let me know of any other outputs/commands > you would like to see. > > -Scott > > > Are you only allocating a single CPU core to the VM? How much memory? > > Performance inside a VM will generally be somewhat less, or significantly > less, than on the host machine. > > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com