grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] bug fix for efi network


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] bug fix for efi network
Date: Sun, 29 Apr 2012 18:41:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

On 29.04.2012 10:22, Bean wrote:
> Hi,
>
> This patch fix a few bugs in efinet.
>
> It also change the tftp block size from 1024 to 8192, which would
> result in HUGE speed difference. In my previous testing, the larger
> the block size, the faster the speed. It can reach up to 60-70MB/s in
> 1Gb ethernet when block size is about 60K, therefore it would be a
> good idea to allow user to configure this parameter. The native tftp
> service in UEFI use a default block size of 8192.
8192 is bigger than the MTU on most cards so it results in fragmentation
or it emits jumbo packets. It's unclear how both network and server
would react to this.
Moreover the optimal packet size is in any case:
k * (mtu - ip_header_size - udp_header_size - tftp_header_size)
where k is some number. Only these number result in fully sized packets.
k=1 result in best available option for non-fragmented packets. k > 1
can create some preload by abusing fragmentation.
Note that some servers do preload by other means and k > 1 with such
servers would result in slowdown.
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]