![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#2 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#7 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
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:
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. |
||
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Mainly it's just very large.
![]() |
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
|
Ha, thanks for the confirmation!
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |