The 1st rule of performance optimization is to measure, as often time is spent
not where you think.
BlockIo2 was added to support resume from disk, where lots of different reads
could be required.
It is not obvious to me that there is a lot of work to do between connecting
the boot device, and loading from it. I guess you could start the load in
parallel with graphics init. But how slow is that?
Also remember the partition driver needs to be connected to produce the BlockIo
handles used by the file system driver. We currently don't have an asynchronous
connect concept in EFI.
Sent from my iPhone
On Sep 13, 2012, at 8:35 AM, "Cohen, Eugene" <eug...@hp.com> wrote:
> In theory this protocol should enable performance improvements by doing IO in
> the background. Unfortunately only the EFI_BLOCK_IO2_PROTOCOL allows for
> asynchronous access while the protocols for higher layers
> (EFI_DISK_IO_PROTOCOL and EFI_FILE_PROTOCOL) do not offer asynchronous access
> mechanisms. So with the spec as it is only a proprietary solution can gain a
> benefit from BLOCK_IO2.
>
> My hope is that we could improve this in the future with specification
> updates.
>
> Eugene
>
> From: nicolas [mailto:nicolas1...@163.com]
> Sent: Wednesday, September 12, 2012 8:05 PM
> To: edk2-devel@lists.sourceforge.net
> Subject: [edk2] asynchronous block io improves post time?
>
> hi, experts:
> It seams BlockIo driver in EDKII had supported asynchronous block io.
> It seams this feature could reduce post time, so the effect will be obviously?
>
> Why this feature could reduce post time?
> During block io read/write, cpu could do other things in parallel?
>
> best wishes
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel