[Scummvm-devel] Kyrandia engine loading is slow on the DS
Florian Kagerer
f.kagerer at lycos.de
Fri Aug 22 13:37:01 CEST 2008
Did you try it with the patch committed in r34083 (branch only)?
Florian
-----Ursprüngliche Nachricht-----
Von: scummvm-devel-bounces at lists.sourceforge.net
[mailto:scummvm-devel-bounces at lists.sourceforge.net] Im Auftrag von Max Horn
Gesendet: Freitag, 22. August 2008 10:56
An: scummvm-devel devel
Betreff: Re: [Scummvm-devel] Kyrandia engine loading is slow on the DS
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
backported
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).
Cheers,
Max
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
>
-------------------------------------------------------------------------
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