Hi, I am using OVMF to test OS PXE installation. The function basically works except the transmission rate of tftp is much lower than expected.
Here is my setup: A virtual net device, tap0, was created to connect the host and the guest in QEMU like this: [ HOST ] ---- [tap0] ---- [ guest ] dhcp server OVMF r15416 tftp server ftp server Here is my command to create the virtual machine: qemu-system-x86_64 -s -bios <path ot ovmf> -drive file=disk.img,if=virtio \ -m 1024 -enable-kvm -fsdev local,id=exp,path=share,security_model=mapped-file \ -device virtio-9p-pci,fsdev=exp,mount_tag=v_share -monitor stdio \ -debugcon file:debug.log -global isa-debugcon.iobase=0x402 \ -netdev tap,id=vmnet0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=vmnet0 The host runs openSUSE 13.1, and I use dnsmasq to set up the dhcp and tftp servers for the preboot images and a ftp server for the installation of packages. The boot procedure is: [OVMF] -> [shim.efi] -> [grub.efi] -> [Linux kernel + initrd] -> [Installation] I noticed the slowness while grub2 loading the kernel and initrd. The two files are 50~60 MB in total, and grub2 took 8~10 minutes to finish loading. Then I used tcpdump to capture packets through tap0 and found the transmission rate was just 1~2 Mbits/s. I switched the firmware to SeaBIOS and changed the boot procedure to [SeaBIOS] -> [grub2] -> [Linux kernel + initrd] -> [Installation] It took only seconds to load the kernel and initrd. I also tried the proprietary e1000 EFI driver, and the result was the same. Did anyone also have the slow tftp issue? Thanks, Gary Lin ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel