Project

General

Profile

Emulator Issues #12104

Feature request - Keep external HDD awake at all times if a game is loaded from there

Added by danileon95 4 months ago. Updated 4 months ago.

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

0%

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

Description

Like I said on https://bugs.dolphin-emu.org/issues/11876 there's extra stutter when loading games off an external drive. I think that this is, at least partly, because Windows tells the drive to go to sleep after a certain period of innactivity. This is a problem on games that only actually read the disc every once in a while, which are a lot: there'll be a huge pause while the hard drive starts to spin again. (there are other micro-stutters that also only happen when loading off HDDs and I don't think it's related to this but that's another matter entirely I guess...)

It would be nice if Dolphin was smart enough to detect when games are being loaded from an external drive and, when it's detected, keep the drive awake at all times. In fact, Dolphin could just do this in general for whatever drive you're loading games from, even if it's internal, there is absolutely no reason to ever let a drive sleep when a game has been launched from it.
Thanks!

History

#1 Updated by danileon95 4 months ago

At the end of the first paragraph I meant to say this: "...there are other micro-stutters that also only happen when loading off external HDDs..."

#2 Updated by JosJuice 4 months ago

  • Issue type changed from Bug to Feature request

This would be useful, but I'm not sure if there's any good API for it.

#3 Updated by danileon95 4 months ago

JosJuice wrote:

This would be useful, but I'm not sure if there's any good API for it.

Alternatively, we external drive users could also use an option to entire ISO to RAM upon loading. But you already know that :D

Couldn't Dolphin simply fake a read from the HDD every few seconds? Or is that too hacky?

#4 Updated by danileon95 4 months ago

an option to copy*...

I wish I could edit stuff here

#5 Updated by Pikachu025 4 months ago

Not only hacky, but also there's no guarantee that the read actually goes though and isn't getting cached by the OS.

#6 Updated by danileon95 4 months ago

Pikachu025 wrote:

Not only hacky, but also there's no guarantee that the read actually goes though and isn't getting cached by the OS.

Well, I mean, performance is so bad when loading from external HDDs even when they are awake that I really think the ultimate solution would be the option to copy the ISO to RAM.

In fact, performance is so stupidly bad that I think I'm going to open a separate issue for it since I really think Dolphin is doing something wrong when it comes to external drives...

Also available in: Atom PDF