|05-26-2008, 03:35 PM||#1|
Join Date: May 2008
Some speedup ideas..
I just got myself an Iliad v2, and I immediately noticed the sluggishness...
even though it's a nice gadget overall.
Anycase, I though I ought to try to do something about it, so did some research - and recompiling.
As the Iliad's PXA255 CPU doesn't have an FPU, all floating point operations
are hideously slow, and should be avoided at all cost.. at least use
-ffast-math gcc option to minimize the impact.
Additionally, I noticed that poppler has an embedded fixed-point library,
so I compiled both ipdf (with jharker's alpha fullscreen patch) and
poppler again, and at least to my eyes the system seems a lot faster, especially when going back and forth.
(This means I/O is still quite a bottleneck - maybe a readahead cache?..;)
OK, this is what I did:
Makefile.am: (both) added
AM_CFLAGS='-O4 -ffast-math' AM_CXXFLAGS='-O4 -ffast-math'
./configure --host=arm-linux --build=i386 --prefix=/usr --enable-fixedpoint --disable-cairo-output --disable-gtk-te st --disable-poppler-qt
the ipdf and the lib if anyone wants to benchmark without compiling,
just let me know..;)
In any case, I'd love to hear you comments!
|05-28-2008, 07:35 AM||#2|
Join Date: Mar 2007
I'd like to test the library, but don't have time to make the POS compile now (haven't maintained my build environment as well as I could have over the last upgradesit seems). I've also got a community version running (with gestures and such), but as far as I can see, floats seems to be used only in regards to zooming within ipdf itself. But I would guess that for rendering PDFs, there could be quite some speed gain! Well done!
It also seems that when I have PDFs that I scribble in on a memory card, it seems faster than if it's on internal memory. Saving scribbles is annoyingly slow, even if no scribbles have been changed...
|05-28-2008, 07:59 AM||#3|
Join Date: Oct 2007
Location: Newcastle upon Tyne, UK
Device: iRex iLiad, Psion 5MX, nokia n800
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|PRS-505 Any ideas what this might be?||Neupy||Sony Reader||4||07-03-2012 07:19 AM|
|Ideas||F1Wild||Amazon Kindle||4||07-10-2009 06:01 AM|
|Processor Speedup?||sirmaru||Sony Reader Dev Corner||4||01-05-2008 06:23 PM|
|My ideas ......||Rechard||Which one should I buy?||1||09-29-2006 11:49 PM|