All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour
Date: Wed, 25 Apr 2012 22:39:30 +0200	[thread overview]
Message-ID: <4F986102.8070106@gmail.com> (raw)
In-Reply-To: <CAF-6-Q24uJk2NzDgBuYg+1EuHMroiXxRoWXFTJT=TjMX6ejqtA@mail.gmail.com>

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

On 25.04.2012 22:21, Bean wrote:
> On Thu, Apr 26, 2012 at 1:57 AM, Seth Goldberg <seth.goldberg@oracle.com> wrote:
>>  Just to chime in here with some data -- I've found numerous UEFI systems' network functionality to be buggy (what a shock, right).  Specifically, using the TFTP APIs allow files to be retrieved, but using GRUB 2's TFTP stack, those same files fail to download, with the failure lying somewhere within the network driver.  In other words, there is close coupling between the network driver and the TFTP implementation in some vendors' UEFI implementations such that when you try to just use SNP, you end up with random timeouts that kill performance or dropped packets.  So, supporting use of UEFI's TFTP APIs seems like a good thing to do to deal with those types of systems.
> Hi,
>
> Actually I believe the problem is not in snp, but in timeout handling
> mechanism. I once implemented a tftp service using udp, and found its
> performance very bad compared to the native driver. After some
> debugging, I found out that it set an event which is signaled by snp
> while udp set the timeout to 0 so that it always returned whether or
> not there is available packet. When I use similar technique, my own
> tftp run as fast as the native service.
It's very good that you found the real reason for this brain damage. I'm
happy that someone did. Do you have this in code/as patch?
>


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



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

  reply	other threads:[~2012-04-25 20:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25  0:16 RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour Richard Chan
2012-04-25  8:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-25 15:59 ` Bean
2012-04-25 17:57   ` Seth Goldberg
2012-04-25 20:20     ` Richard Chan
2012-04-25 20:38       ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-04-27  5:41         ` Richard Chan
2012-04-25 20:21     ` Bean
2012-04-25 20:39       ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-04-26  2:23         ` Bean
2012-04-26  4:10           ` Seth Goldberg
2012-04-26  4:22             ` Bean
2012-04-26  4:59               ` Seth Goldberg
2012-04-26 11:46                 ` Bean
2012-04-26 17:10                   ` Seth Goldberg
2012-04-27  1:50                     ` Bean

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=4F986102.8070106@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.