audk/ArmVirtPkg
Laszlo Ersek a0b352e18b ArmVirtPkg: raise PcdShellFileOperationSize to 128KB
Some UEFI shell commands read and write files in chunks. The chunk size is
given by "PcdShellFileOperationSize", whose default in
"ShellPkg/ShellPkg.dec" is 4KB (0x1000).

The virtio-fs daemon of QEMU advertizes a 128KB maximum buffer size by
default, for the FUSE_WRITE operation.

By raising PcdShellFileOperationSize 32-fold, the number of FUSE write
requests shrinks proportionately, when writing large files. And when a
Virtio Filesystem is not used, a 128KB chunk size is still not
particularly wasteful.

Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3125
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Message-Id: <20210113085453.10168-4-lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2021-01-19 18:23:28 +00:00
..
FdtClientDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
HighMemDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Include ArmVirtPkg: GUID Hob for 16550 UART base address 2020-10-16 17:21:04 +00:00
KvmtoolPlatformDxe ArmVirtPkg: Add kvmtool platform driver 2020-10-16 17:21:04 +00:00
Library ArmVirtPkg: Add Kvmtool Platform Pei Lib 2020-10-16 17:21:04 +00:00
PlatformCI ArmVirtPkg/.azurepipelines: Enable EDK II CI for stable/* branches 2020-12-22 22:11:48 +00:00
PlatformHasAcpiDtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PrePi ArmVirtPkg: remove unused files 2020-06-12 22:17:46 +00:00
VirtioFdtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenAcpiPlatformDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenPlatformHasAcpiDtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenioFdtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirt.dsc.inc ArmVirtPkg: Add VariablePolicy engine to ArmVirtPkg platform 2020-11-17 01:03:43 +00:00
ArmVirtKvmTool.dsc ArmVirtPkg: Support for kvmtool virtual platform 2020-10-16 17:21:04 +00:00
ArmVirtKvmTool.fdf ArmVirtPkg: Support for kvmtool virtual platform 2020-10-16 17:21:04 +00:00
ArmVirtPkg.ci.yaml ArmVirtPkg: Add kvmtool to package dictionary 2020-10-16 17:21:04 +00:00
ArmVirtPkg.dec ArmVirtPkg: GUID Hob for 16550 UART base address 2020-10-16 17:21:04 +00:00
ArmVirtQemu.dsc ArmVirtPkg: raise PcdShellFileOperationSize to 128KB 2021-01-19 18:23:28 +00:00
ArmVirtQemu.fdf ArmVirtPkg/ArmVirtQemu: enable TPM2 support in the PEI phase 2020-03-04 08:48:09 +00:00
ArmVirtQemuFvMain.fdf.inc ArmVirtPkg: include VirtioFsDxe in the ArmVirtQemu* platforms 2020-12-21 17:16:23 +00:00
ArmVirtQemuKernel.dsc ArmVirtPkg: raise PcdShellFileOperationSize to 128KB 2021-01-19 18:23:28 +00:00
ArmVirtQemuKernel.fdf ArmVirtPkg: add FDF rule for self-relocating PrePi 2020-06-12 22:17:46 +00:00
ArmVirtRules.fdf.inc ArmVirtPkg: add FDF rule for self-relocating PrePi 2020-06-12 22:17:46 +00:00
ArmVirtXen.dsc ArmVirtPkg/PrePi: use standard PeCoff routines for self-relocation 2020-06-12 22:17:46 +00:00
ArmVirtXen.fdf ArmVirtPkg: enable HttpDynamiCommand 2020-10-01 11:36:06 +00:00
VarStore.fdf.inc ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00