dolphin/Source/Core/DiscIO
JosJuice c0eb95481f VolumeVerifier: Align partition reads to groups
This improves the speed of verifying Wii WIA/RVZ files.
For me, the verification speed for LZMA2-compressed files
has gone from 11-12 MiB/s to 13-14 MiB/s.

One thing VolumeVerifier does to achieve parallelism is to
compute hashes for one chunk of data while reading the next
chunk of data. In master, when reading data from a Wii
partition, each such chunk is 32 KiB. This is normally fine,
but with WIA and RVZ it leads to rather lopsided read times
(without the compute times being lopsided): The first 32 KiB
of each 2 MiB takes a long time to read, and the remaining
part of the 2 MiB can be read nearly instantly. (The WIA/RVZ
code has to read the entire 2 MiB in order to compute hashes
which appear at the beginning of the 2 MiB, and then caches
the result afterwards.) This leads to us at times not doing
much reading and at other times not doing much computation.
To improve this, this change makes us use 2 MiB chunks
instead of 32 KiB chunks when reading from Wii partitions.

(block = 32 KiB, group = 2 MiB)
2021-03-22 21:07:01 +01:00
..
Blob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Blob.h
CISOBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
CISOBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
CMakeLists.txt DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
CompressedBlob.cpp Avoid using panic alerts in DiscIO 2021-03-20 12:58:54 +01:00
CompressedBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
DirectoryBlob.cpp DiscIO: Move magic constants for discs to DiscUtils 2021-03-10 00:16:37 +01:00
DirectoryBlob.h
DiscExtractor.cpp DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
DiscExtractor.h DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
DiscScrubber.cpp DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
DiscScrubber.h
DiscUtils.cpp DiscIO: Move magic constants for discs to DiscUtils 2021-03-10 00:16:37 +01:00
DiscUtils.h DiscIO: Move magic constants for discs to DiscUtils 2021-03-10 00:16:37 +01:00
DriveBlob.cpp Avoid using panic alerts in DiscIO 2021-03-20 12:58:54 +01:00
DriveBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Enums.cpp
Enums.h
FileBlob.cpp
FileBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Filesystem.cpp
Filesystem.h
FileSystemGCWii.cpp DiscIO: Move magic constants for discs to DiscUtils 2021-03-10 00:16:37 +01:00
FileSystemGCWii.h
LaggedFibonacciGenerator.cpp
LaggedFibonacciGenerator.h
MultithreadedCompressor.h
NANDImporter.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
NANDImporter.h
ScrubbedBlob.cpp
ScrubbedBlob.h
TGCBlob.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
TGCBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
Volume.cpp DiscIO: Move magic constants for discs to DiscUtils 2021-03-10 00:16:37 +01:00
Volume.h VolumeVerifier: Align partition reads to groups 2021-03-22 21:07:01 +01:00
VolumeDisc.cpp DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
VolumeDisc.h
VolumeFileBlobReader.cpp
VolumeFileBlobReader.h
VolumeGC.cpp DiscIO: Move some code from DiscExtractor to new file DiscUtils 2021-03-09 20:34:24 +01:00
VolumeGC.h
VolumeVerifier.cpp VolumeVerifier: Align partition reads to groups 2021-03-22 21:07:01 +01:00
VolumeVerifier.h VolumeVerifier: Align partition reads to groups 2021-03-22 21:07:01 +01:00
VolumeWad.cpp
VolumeWad.h
VolumeWii.cpp VolumeVerifier: Align partition reads to groups 2021-03-22 21:07:01 +01:00
VolumeWii.h VolumeVerifier: Align partition reads to groups 2021-03-22 21:07:01 +01:00
WbfsBlob.cpp Avoid using panic alerts in DiscIO 2021-03-20 12:58:54 +01:00
WbfsBlob.h rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WIABlob.cpp Merge pull request #9570 from JosJuice/wia-partial-exception-list 2021-03-16 11:10:12 +01:00
WIABlob.h DiscIO: Fix reading certain WIA chunks with many exceptions 2021-03-07 14:14:45 +01:00
WIACompression.cpp
WIACompression.h
WiiEncryptionCache.cpp
WiiEncryptionCache.h
WiiSaveBanner.cpp rename Common/File to Common/IOFile 2021-01-27 14:29:48 -08:00
WiiSaveBanner.h