Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-26-2008, 04:35 PM   #1
henris42
Junior Member
henris42 began at the beginning.
 
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'
Popper configure flags:
Code:
./configure --host=arm-linux --build=i386 --prefix=/usr --enable-fixedpoint --disable-cairo-output --disable-gtk-te
st --disable-poppler-qt
Any case, this seemed worthawhile at least to my eye. I can attach
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
henris42 is offline   Reply With Quote
Old 05-28-2008, 08:35 AM   #2
rincewind
Connoisseur
rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.rincewind has a complete set of Star Wars action figures.
 
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
rincewind is offline   Reply With Quote
 
Advertisement
Old 05-28-2008, 08:59 AM   #3
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Newcastle upon Tyne, UK
Device: iRex iLiad, Psion 5MX, nokia n800
Quote:
Originally Posted by rincewind View Post
... 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!
On that note, I have finally put your version into the set of installers (I hope that's okay). Can you confirm that I have used the latest and greatest version of it?

Quote:
Originally Posted by rincewind View Post
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
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.
daudi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-505 Any ideas what this might be? Neupy Sony Reader 4 07-03-2012 08:19 AM
Ideas F1Wild Amazon Kindle 4 07-10-2009 07:01 AM
Processor Speedup? sirmaru Sony Reader Dev Corner 4 01-05-2008 07:23 PM
My ideas ...... Rechard Which one should I buy? 1 09-30-2006 12:49 AM


All times are GMT -4. The time now is 04:51 AM.


MobileRead.com is a privately owned, operated and funded community.