From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] OVMF: NV Variable Store Layout of Larger Build Targets To: Devon Bautista ,devel@edk2.groups.io From: "Devon Bautista" X-Originating-Location: Roseville, California, US (73.48.255.158) X-Originating-Platform: Linux Firefox 91 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 20 Aug 2021 18:17:56 -0700 References: <3e91ce2b-15c4-d0d7-4ae8-277d61d0c3c6@newmexicoconsortium.org> In-Reply-To: <3e91ce2b-15c4-d0d7-4ae8-277d61d0c3c6@newmexicoconsortium.org> Message-ID: <30541.1629508676025677305@groups.io> Content-Type: multipart/alternative; boundary="diLUVXgUzUXhi9nguxYL" --diLUVXgUzUXhi9nguxYL Content-Type: text/plain; charset="utf-8"; markup=markdown Content-Transfer-Encoding: quoted-printable For reference, here is a summary of which sections increased when the 4MiB = build target was added (taken from commit [`b24fca05`](https://github.com/t= ianocore/edk2/commit/b24fca05751f8222acf264853709012e0ab7bf49)) after the p= revious 2MiB limit: ``` Description Compression type Size [KB] ------------------------- ----------------- ---------------------- Non-volatile data storage open-coded binary 128 -> 528 ( +400) data Variable store 56 -> 256 ( +200) Event log 4 -> 4 ( +0) Working block 4 -> 4 ( +0) Spare area 64 -> 264 ( +200) FVMAIN_COMPACT uncompressed 1712 -> 3360 (+1648) FV FFS file LZMA compressed PEIFV uncompressed 896 -> 896 ( +0) individual PEI uncompressed modules DXEFV uncompressed 10240 -> 10240 ( +0) individual DXE uncompressed modules SECFV uncompressed 208 -> 208 ( +0) SEC driver reset vector code ``` --diLUVXgUzUXhi9nguxYL Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

For reference, here is a summary of which sections increased when the 4M= iB build target was added (taken from commit b24fca05) after the previous 2MiB limit:

  Description  =
              Compression type                Size [KB]
  -------------------------  -----------------  ----------------------
  Non-volatile data storage  open-coded binary    128 ->   528 ( +400)
                               data
    Variable store                                 56 ->   256 ( +200)
    Event log                                       4 ->     4 (   +0)
    Working block                                   4 ->     4 (   +0)
    Spare area                                     64 ->   264 ( +200)

  FVMAIN_COMPACT             uncompressed        1712 ->  3360 (+1648)
    FV FFS file              LZMA compressed
      PEIFV                  uncompressed         896 ->   896 (   +0)
        individual PEI       uncompressed
          modules
      DXEFV                  uncompressed       10240 -> 10240 (   +0)
        individual DXE       uncompressed
          modules

  SECFV                      uncompressed         208 ->   208 (   +0)
    SEC driver
    reset vector code
--diLUVXgUzUXhi9nguxYL--