05-26-2008, 03:35 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2008
Device: Iliadv2
|
Some speedup ideas..
Hello everybody,
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 Code:
AM_CFLAGS='-O4 -ffast-math' AM_CXXFLAGS='-O4 -ffast-math' Code:
./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! //HS |
05-28-2008, 07:35 AM | #2 |
Connoisseur
Posts: 58
Karma: 479
Join Date: Mar 2007
Device: iLiad
|
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... /R |
Advert | |
|
05-28-2008, 07:59 AM | #3 | |
Addict
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
|
Quote:
I find that the slow speed resulting from scribbles is a real problem for loading PDFs with scribbles. I have been using PDFs as notepads (mainly for navigation using hyperlinks) and have found that the scribble file gets quite large quite quickly and then causes the PDF to load very slowly indeed. |
|
|
Similar Threads | ||||
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 |