![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 12
Join Date: Jun 2009
Device: Kindle DX
|
Multi-Core Conversion support?
I was wondering if anyone had started taking a look and re-structuring Calibre's conversion process so that it can take advantage of multi-cores. If I am running a conversion with, say, search-and-replace, and heuristic processing enabled, the conversion can take an extremely long time to complete. Obviously, there is a limit to what can be done without adding hard re-integration problems. But I was thinking that on a multi-core PC, you could realize some useful gains by, say, running the input plugin on one core, piping the output straight to search&replace, piping that to heuristics, and then piping the heuristic output to the output plugin. I would think that this kind of pipelining might be relatively easy to implement... and any gains would be useful at this point.
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,209
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Nope, no one is taking a look at that. If I want to exercise multiple cores, I run multiple conversions.
It should be fairly easy to use multiprocessing to speed up heuristics and S&R but it's not something I care enough about to move up my TODO list. Feel free to submit a patch ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 25
Karma: 12
Join Date: Jun 2009
Device: Kindle DX
|
I am a father of 2, and the oldest is just 2 years old... I'd be happy to do that, but it might take a couple years to find the time. I've got a single conversion that's been going 160 minutes so far tonight, and still chugging, so you can see why it would be useful.
If it isn't done by the point I have some free time, I'll take a look. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Odds are it's the format scene breaks feature - that function needs some further optimization for some books based on user feedback, but I don't have any test cases where it's slow to know exactly what's wrong (works fine when I use it). Submit a bug request and I'll look into it, but otherwise just disable that one option.
Last edited by ldolse; 08-30-2011 at 02:49 AM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 16
Karma: 10
Join Date: Nov 2010
Device: Sony PRS-600, Kindle Paperwhite
|
It's been several years since this topic was discussed.
By now, quad and octa core systems are common and the conversion process could benefit a lot. Any chance that this could be bumped to the TODO list? I took a look at the conversion process but frankly that's too "magic" for me to do the patching myself. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,209
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Nope, still not interested, sorry
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multi-level TOC broken in epub->epub conversion | siebert | Conversion | 14 | 03-09-2011 05:38 PM |
Multi language support via Calibre | Jim77 | Calibre | 4 | 02-12-2010 02:46 PM |
Astak's Mentor Ereader multi-languages support? | dkarale | Astak EZReader | 8 | 01-11-2010 03:39 PM |
Does any device support multi-level TOC's? | AnemicOak | ePub | 14 | 10-07-2009 01:08 PM |
O'Reilly to support multi-format e-books, goes ePub | Alexander Turcic | News | 30 | 06-20-2008 10:58 PM |