Views: 6,698,386 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 03-28-24 05:29 PM |
Guest: |
0 users reading A question involving MelonDS' performance during savefile writing | 1 bot |
Main - General - A question involving MelonDS' performance during savefile writing | Hide post layouts | New reply |
Lunos |
| ||
Random Uruguayan User Level: 4 Posts: 1/3 EXP: 179 Next: 100 Since: 12-24-20 From: Montevideo, Uruguay Last post: 1188 days ago Last view: 1158 days ago |
Sup.
I have a quick question to ask and I didn't really know where should I ask it, so I decided to drop it in this part of the forum. Say, why is it that emulators like Desmume and MelonDS seem to get laggy during the process of writing data to a savefile? It's something I've been curious about ever since I noticed, but I didn't really have a place to ask about it. Since this forum exists, the matter involves MelonDS and I'm kinda curious about it to this day, I thought it would be a good chance to satiate my curiosity. Here's a quick comparison about savefile writing speeds in NO$GBA, Desmume and MelonDS on my computer. NO$GBA: https://streamable.com/lya7mv MelonDS: https://streamable.com/gwq6yh Desmume: https://streamable.com/o7p7wd My personal guess as a non-programmer, going purely from what I heard throughout my years on the internet, is that NO$GBA has an advantage in speed over MelonDS and Desmume due to being written in Assembly. Could that be the main reason why it doesn't seem to lag much when writing to a savefile? In any case, thanks in advance for reading! |
Arisotura |
| ||
Big fire melon magical melon girl Level: 55 Posts: 648/875 EXP: 1308971 Next: 5218 Since: 03-28-17 From: France Last post: 36 days ago Last view: 9 days ago |
I think it's more like how NO$GBA handles writing the save data back to the HDD. melonDS was programmed to do that after each block write. this has been addressed, the new faster saving will be in the next release. ____________________ Kuribo64 |
Lunos |
| ||
Random Uruguayan User Level: 4 Posts: 2/3 EXP: 179 Next: 100 Since: 12-24-20 From: Montevideo, Uruguay Last post: 1188 days ago Last view: 1158 days ago |
Posted by Arisotura Oh, I see. I didn't even expect this to have been addressed already, honestly. That's super cool! Thanks for the reply! |
Lunos |
| ||
Random Uruguayan User Level: 4 Posts: 3/3 EXP: 179 Next: 100 Since: 12-24-20 From: Montevideo, Uruguay Last post: 1188 days ago Last view: 1158 days ago |
Posted by Arisotura Say, by "next release", did you mean the next major release or was it v0.9.1? Because I'm still noticing the game lagging during saving. https://streamable.com/ziv8ye I'm not sure if this is worth opening a GitHub issue, so I decided to ask here before doing anything. Also, kinda late merry christmas and congratulations on another release! Cheers ^^! |
Generic aka RSDuck |
| ||
Big fire melon Administrator Level: 44 Posts: 271/589 EXP: 576959 Next: 34326 Since: 10-12-19 Last post: 47 days ago Last view: 31 min. ago |
the change we made only mitigated it for some games. The saving is still performed synchronously, that means melonDS waits until all the changes have been flushed to hard drive. We have plans to improve this in the future. ____________________ Take me to your heart / never let me go! "clearly you need to mow more lawns and buy a better pc" - Hydr8gon |
Main - General - A question involving MelonDS' performance during savefile writing | Hide post layouts | New reply |
Page rendered in 0.044 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 83/83, time: 0.035 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |