Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2022, 09:08 AM   #1
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
How to speed up KOReader on opening EPubs?

Hi, I tend to swap around several EPubs fairly frequently.

KOReader takes ages (up to a minute or two) when opening an EPub compared to Plato or the native EPub reader (Kobo Nia). My EPubs are a mix of EPub3 and kepub (generated using Calibre). I love the KOReader feature set, so want to stick with it and I wondered if anyone had any tips or configuration tweaks for speeding book loading up?
iandol is offline   Reply With Quote
Old 03-14-2022, 10:22 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by iandol View Post
Hi, I tend to swap around several EPubs fairly frequently.

KOReader takes ages (up to a minute or two) when opening an EPub compared to Plato or the native EPub reader (Kobo Nia). My EPubs are a mix of EPub3 and kepub (generated using Calibre). I love the KOReader feature set, so want to stick with it and I wondered if anyone had any tips or configuration tweaks for speeding book loading up?
KePub has a lot of extra code that's not needed for KOReader. If you sent them to your Nia as ePub, they would be smaller and would open faster. I cannot say you'd notice, but you can try comparing how long they take to open with some eBooks in KePub to the same eBooks in ePub.
JSWolf is offline   Reply With Quote
Advert
Old 03-14-2022, 02:15 PM   #3
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
Thanks for the hint. I tried comparing a 7.4MB EPub ("polished" using Calibre to be EPub3 compliant) copied directly vs. exported via a kepub using kobo utilities.

First start:

EPub: 47.5 secs
Kepub: 58.8 secs

I navigated to the same page in both (both quite sluggish, navigation within the epub can be slow). Then within the same session exiting to the file manager and returning to the book is quicker (both are around 8-10 seconds). Plato with the same files:

EPub: 2.4 secs
Kepub: 2.8 secs

Interestingly now if I go to the same page, then exit and reenter each book, Plato slows down to ~7 secs, but things like navigation also tend to be faster.

Making any layout changes also takes ages in KOReader. I am using a custom font, although it has been "readified" using the python script.
iandol is offline   Reply With Quote
Old 03-14-2022, 02:16 PM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
See this technical explanation: https://www.mobileread.com/forums/sh...73#post4001973

That would mean this book falls into the "giant" and/or "degenerate code" category .
Is it really gigantic (i.e., omnibus or bible), or does it feature some weird CSS trickery?

Last edited by NiLuJe; 03-14-2022 at 02:19 PM.
NiLuJe is offline   Reply With Quote
Old 03-14-2022, 02:23 PM   #5
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
@NiLuJe: wow, that is a great description of what is going on, I understand this much better. I tend to read larger academic books (my current one is 4496 pages according to Plato), and so probably am pushing KOReader against its advantages.

Do you know how long this cache is utilised (does KOReader have a cache policy?), and how many books KOReader can cache on what I assume is something low-specced like the Kobo Nia? Will it cache till RAM runs out?
iandol is offline   Reply With Quote
Advert
Old 03-14-2022, 02:28 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,740
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
There is no need at all to polish to convert ePub 2 eBooks to ePub 3. It does absolutely nothing useful unless you need to add ePub 3 specific features. Just let the ePub 2 eBooks stay as ePub 2 and the ePub 3 stay as ePub 3.

One thing KOReader does is cache the eBooks. You can try opening them again after they've once been opened to see if they get any faster. I don't know what Plato does.

Last edited by JSWolf; 03-14-2022 at 02:34 PM.
JSWolf is offline   Reply With Quote
Old 03-15-2022, 04:49 AM   #7
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by iandol View Post
@NiLuJe: wow, that is a great description of what is going on, I understand this much better. I tend to read larger academic books (my current one is 4496 pages according to Plato), and so probably am pushing KOReader against its advantages.
The number of pages doesn't necessarily matter that much. It's more the number of HTML elements and the complexity of the CSS.

Of course any document over a thousand pages will have quite a number of elements by logical necessity, but you can fairly easily create a 10-page document that'll do as bad or worse as a 1000-page one if you (don't) know what you're doing.

Btw, you can always share the document using ScrambleEbook if it's not open access.

Quote:
Originally Posted by iandol View Post
Do you know how long this cache is utilised (does KOReader have a cache policy?), and how many books KOReader can cache on what I assume is something low-specced like the Kobo Nia? Will it cache till RAM runs out?
The most important cache in this context is written to files, in cache/cr3cache.

The default max size for that is 64 MB, but you can set it higher, um, somewhere.

What that means in number of books depends on the books. Your average book will generate a cache of about .25 to 1 MB in my experience, so I'd be inclined to phrase 64 MB as at least 64 books. But your specific scenario will doubtless generate a much larger cache file.
Frenzie is offline   Reply With Quote
Old 03-15-2022, 11:29 AM   #8
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
Frenzie, For the book I tested the cr3cache file for it is 5.8MB, which is certainly larger than some other cache files for more "standard" sized books.

The scrambled EPub is shared here; as far as I can tell the HTML appears straight-forward, but perhaps the large number of documents or the large number of footnotes is to blame: https://www.dropbox.com/s/r9idu2h47v...bled.epub?dl=0

Armed with all this information, I can at least make a more informed decision about which reader to use with with books. Thanks again to you all for the information you have shared.
iandol is offline   Reply With Quote
Old 03-16-2022, 03:44 AM   #9
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Mainly it's just very large.
Frenzie is offline   Reply With Quote
Old 03-16-2022, 06:28 AM   #10
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
Ha, thanks for the confirmation!
iandol is offline   Reply With Quote
Old 03-16-2022, 07:01 AM   #11
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
PS I'm attaching an ebook that shows off the general principle of the kind of thing I mean. But it's small enough that it doesn't really matter. Every little word or even segment comes with its own excessive repetition of the exact same thing. But I've seen books (MS Word exports?) that do it much worse still, with a multitude of elements around every word.

Code:
<span style="color:#000000; font-family:Times, serif; font-style:normal; font-weight:normal; text-decoration:none">eour</span>
If you want to buy it, it's in the Itch.io Ukraine bundle btw. Link here.
Frenzie is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Major regression speed since koreader-kobo-v2020.08.1 gilali KOReader 12 01-31-2023 12:52 PM
Koreader speed: Kobo Forma vs. Pocketbook Inkpad 3 svkytbsld KOReader 16 11-09-2022 05:11 AM
Koreader not opening a book tapanta KOReader 1 10-24-2020 07:57 AM
Touch Transfer of ePubs and Speed of Kobo JCSullivan Kobo Reader 5 08-22-2012 01:58 PM
Some EPUBs not opening - normal? zormal Astak EZReader 17 05-19-2010 08:05 AM


All times are GMT -4. The time now is 09:27 PM.


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