Date: Thu, 16 Jan 2014 11:12:21 +0800 From: Wang Weidong <wangweidong1@huawei.com> To: <rizzo@iet.unipi.it> Cc: freebsd-net@freebsd.org, Ding Tianhong <dingtianhong@huawei.com> Subject: netmap: I got some troubles with netmap Message-ID: <52D74E15.1040909@huawei.com>
next in thread | raw e-mail | index | archive | help
Hi Luigi, I learn netmap recently. I have some troubles and problems. Just below: ---------------------------------------------------------- My machine and the netmap and qemu version: netmap version: 20131019. qemu: 'git://git.qemu-project.org/qemu.git', v1.7 NIC hardware: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01) PC: Suse x86_64 GNU/Linux, the kernel is suse-3.0.58 ---------------------------------------------------------- insmod netmap_lin.ko and ixgbe/ixgbe.ko problem 1: I only use ethtool -A eth2 autoneg/rx/tx off that I can get the speed up to 14.84 Mpps. Or, I only got 500 Kpps. I should do "ethtool -A"? problem 2: I turn intel_iommu=on. When I use pkt-gen -i eth2, I got failed. And the dmesg likes that: DRHD: handling fault status reg 202 DMAR:[DMA Read] Request device [03:00.0] fault addr 1f6bfbd000 Is that netmap no support IOMMU? Problem 3: "qemu-system-x86_64 -m 1024 -boot c -net nic -net netmap,ifname=vale0:1 -hda /home/disk/nm_d0 -enable-kvm -vnc :0", Use that command to start a vm. I test on the vm. #pkt-gen -i eth0 -f tx -l 60 -n 20000000, the speed is up to 1.02 Mpps. I do "vale-ctl -h vale0:eth2", then I test on the vm, the speed is up to 558.57 Kpps. While "vale-ctl -a vale0:eth2", the speed is up to 800 kpps. I did something wrong? ------ thanks, Wang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D74E15.1040909>