[Scummvm-devel] Kyrandia engine loading is slow on the DS

Max Horn max at quendi.de
Fri Aug 22 10:56:22 CEST 2008

Hi Neil,

thanks for investigating this. Just to make sure: Were your tests done  
with a build made including the changes made in rev r34056, which  
r34055, which was: "Committed patch #2055831 "KYRA: ResFileEntry  
parent cache optimization"." ?

I assume that was the case, but I want to double check, just in case,  
as this patch could potentially affect the issue (Bertrand but some  
great effort into analyzing and reducing the CPU & fopen usage in the  
Kyra startup code with that patch).


Am 22.08.2008 um 10:14 schrieb Neil Millstone:
> Hi Max & Team,
> I have done a little more digging around this issue, and have found  
> that
> the DS fopen does indeed use a cache, in fact it looks like I  
> increased
> the cache size in the Kyrandia build in 0.11.1 order to help this
> issue.  Unfortunately, even with this, it seems the time taken to load
> the game is not spent in the DS backend.  Without a profiler it's hard
> to say why it's so slow, but the engine does seem to search various
> tables for files before it tries to open them on disk.  Perhaps this  
> is
> just too much for the DS's 66Mhz CPU.  I dare not change the Kyra
> loader, it looks extremely complex to me and I don't really understand
> how it works.
> So, for now, this issue will have to be in the release notes, although
> I'm sure I will get complaints about it, since this worked in 0.11.1.
> - Neil
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel

More information about the Scummvm-devel mailing list