Package: pxe-kexec
Version: 0.2.4-3
Severity: wishlist

pxe-kexec is a TFTP client.
It's good for TFTP clients to:
 1. default to 512b block size, for compatibility.
 2. support greater block sizes, for speed.

AFAICT pxe-kexec does (1) but not (2).

In the example below, you can see that increasing the block size lets
curl download from dnsmasq two-and-half times faster!

    root@het:~# curl --tftp-blksize 512 >/dev/null 
tftp://prisonpc/images/inmate/{vmlinuz,initrd.img}
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                     Dload  Upload   Total   Spent    Left  
Speed
    100 2143k  100 2143k    0     0   756k      0  0:00:02  0:00:02 --:--:--  
757k
    100 2143k  100 2143k    0     0   755k      0  0:00:02  0:00:02 --:--:--  
755k
    100 14.2M  100 14.2M    0     0   759k      0  0:00:19  0:00:19 --:--:--  
762k
    100 14.2M  100 14.2M    0     0   759k      0  0:00:19  0:00:19 --:--:--  
759k

    root@het:~# curl --tftp-blksize $((512*127)) >/dev/null 
tftp://prisonpc/images/inmate/{vmlinuz,initrd.img}
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                     Dload  Upload   Total   Spent    Left  
Speed
    100 2143k  100 2143k    0     0  1875k      0  0:00:01  0:00:01 --:--:-- 
1867k
    100 2143k  100 2143k    0     0  1874k      0  0:00:01  0:00:01 --:--:-- 
1874k
    100 14.2M  100 14.2M    0     0  1864k      0  0:00:07  0:00:07 --:--:-- 
1854k
    100 14.2M  100 14.2M    0     0  1864k      0  0:00:07  0:00:07 --:--:-- 
1864k

I want to keep using pxe-kexec because it's handy for parsing pxelinux.cfg 
files.

But I also want it to finish quicker!

Can this be patched into pxe-kexec?

Reply via email to