Project

General

Profile

Actions

Emulator Issues #10514

open

SDHC read times are very slow

Added by TheGag96 about 7 years ago. Updated almost 4 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Super Smash Bros. Brawl / Project M / Legacy XP

Game ID? (right click the game in the game list, properties, info tab)

RSBE01 (RSBEXP)

What's the problem? Describe what went wrong.

The new SDHC update got Project M builds larger than 2 GB up and running. However, as soon as the 2 GB limit is passed, file read times become very slow, more so than on a real Wii with a fairly high-end SD card. It's severe enough to the point where music streamed continuously from the SD card (e.g. on the Character Selection Screen in Legacy XP) will often stop as it tries to load the rest of the song.

I'm almost certain this is related to issue #10461 (https://bugs.dolphin-emu.org/issues/10461#change-730393) about the "Receiving vault data..." message -- my guess is that Brawl makes the message pop up if it takes longer than an expected amount of time to read Vault data from the SD card.

What steps will reproduce the problem?

Create a 6+ GB SD card file and follow the Legacy XP's install instructions (http://forums.kc-mm.com/Gallery/BrawlView.php?Number=212860) as if you were doing so on a real Wii, but of course setting Brawl as the default ISO and loading up the Legacy XP launcher included in the download. Open up the game and play around, especially on the CSS.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes. 5.0-5352

If the issue isn't present in the latest stable version, which is the first broken version?

5.0-5044 is the build number for the SDHC support merge.

What are your PC specifications?

i5-750 @ 3.0 GHz, GTX 770, Windows 8.1, tried on both an HDD and SSD

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

I included small video showing the SDIO logs on the CSS (no idea if this helps, haha).


Files

2017-09-02_16-44-56.mp4 (3.01 MB) 2017-09-02_16-44-56.mp4 TheGag96, 09/02/2017 09:45 PM

Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #10461: 4GB or larger SD cards cause "Receiving Vault Data..." message to display before title screen in SSBBDuplicate

Actions
Actions #1

Updated by JMC4789 about 7 years ago

Is it just SDHC? I'd assume all SD cards are slow.

Actions #2

Updated by TheGag96 about 7 years ago

JMC4789 wrote:

Is it just SDHC? I'd assume all SD cards are slow.

Definitely not. The WBFS/SD methods of Legacy XP run just fine and much faster than on Wii/Dolphin SDHC. Some of that is to be expected because more of it is loading from the WBFS, but stage alts and clone characters still appear to load much faster.

Actions #3

Updated by ryanebola16 about 7 years ago

Following to help with testing

Actions #4

Updated by JMC4789 about 7 years ago

  • Status changed from New to Accepted

Well, okay.

Actions #5

Updated by TheGag96 about 7 years ago

JMC4789 wrote:

Status changed from New to Accepted

Awesome, thanks!!

Actions #6

Updated by TheGag96 about 7 years ago

Alright, I decided to actually time the loading times to a decent degree. I noticed that the slowdown only seems to occur when you add more than 2 GB worth of files. That is, the same build of Legacy TE (< 2 GB), inserted into any sized virtual SD card, will not have any slowdown. However, Legacy XP, given its size, is where the problems start to show.

Match load on 64 Battlefield:

Real Wii, Sandisk Ultra Class 10 80 MB/s: ~1.4 s
Dolphin 5.0-5491, 8 GB vSD: ~2.7 s

Note that I have a pretty fast SD card -- I got it specifically because another one I had had terrible read speeds. I definitely wouldn't know what the Wii's SD card read speed limit is, but it's clear that whatever timing Dolphin is emulating (intentional or not) isn't necessarily Wii-accurate.

Once again, the biggest issue is the streaming music on the menu that stops because it can't read fast enough. On the Wii, no such problem exists on my SD card.

Thanks for looking into this, guys!

Actions #7

Updated by JMC4789 about 7 years ago

Well, I'm fairly sure we don't emulate any timings - so we should be faster. The fact we're not could be indicative of really, really bad problems.

Actions #8

Updated by ryanebola16 almost 7 years ago

When we get accurate SD timings, options should be added to the INI to make the relevant variable(s) easily editable. Mods like BX CSS Expansion v2.0.0.x (http://forums.kc-mm.com/index.php?topic=65113.0) would probably benefit from faster-than-console read/write times.

Actions #9

Updated by leoetlino over 6 years ago

  • Has duplicate Emulator Issues #10461: 4GB or larger SD cards cause "Receiving Vault Data..." message to display before title screen in SSBB added
Actions

Also available in: Atom PDF