All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] bug fix for efi network
Date: Sun, 29 Apr 2012 18:41:39 +0200	[thread overview]
Message-ID: <4F9D6F43.1010607@gmail.com> (raw)
In-Reply-To: <CAF-6-Q1+yRzFZOXjqG3bUPAzL-W0PQ5BKYusmemf7Twbw48sMg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

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
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


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



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  parent reply	other threads:[~2012-04-29 16:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-29  8:22 [PATCH] bug fix for efi network Bean
2012-04-29  8:25 ` Bean
2012-04-29 15:05 ` Bean
2012-05-03 15:38   ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-05-03 17:24     ` Bean
2012-04-29 16:41 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-04-29 18:19   ` Bean
2012-05-03 15:34     ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9D6F43.1010607@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.