06-10-2015, 03:50 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2015
Device: Cool Reader on Android 5 One+1
|
Why high CPU for the "PC Magazine" recipe?
I thought the "PC Magazine" recipe was hanging, so I killed it, but the same thing happened later, so I added -v -v -v to try to capture the problem. I let it run all night, and it completed, but with astounding CPU usage.
Environment: 4c i7, 8GB RAM, ubuntu 14.04.1, ebook-convert (calibre 1.25.0) time ebook-convert "PC Magazine.recipe" "PC Magazine.epub" --pretty-print --enable-heuristics --no-default-epub-cover --duplicate-links-in-toc --max-toc-links 998 --toc-threshold 999 -v -v -v 2>&1 |tee -a PCMebook-convert.log & real 312m26.807s user 282m31.243s sys 0m2.230s The log file is attached as PCMebook-convert.log.txt Any suggestions? parameters to change? |
06-10-2015, 08:47 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont use heuristics. And add some cleanup to the recipe.
|
Advert | |
|
06-14-2015, 01:00 PM | #3 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Also please stop using distro releases of calibre. Most linux distros use some form of FeatureFreeze (and/or patch calibre in unwise ways), which means calibre is usually multiple years out of date. calibre is updated weekly.
calibre v2.x brought Qt5 with a headless Qt plugin that greatly improves memory usage when running the CLI tools. Currenty calibre is on v2.30.0 which means you are 54 versions behind. (So just one year and a bit, then. )Thank G-d the news recipes use the most updated versions available on the calibre website. Last edited by eschwartz; 06-14-2015 at 01:06 PM. |
Tags |
cpu usage, ebook-convert |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High CPU usage when "saved searches" dialogue is opened | Ahmad Samir | Editor | 3 | 04-28-2014 07:53 AM |
Make a recipe for Dutch Magazine "Groene Amsterdammer" | realbase | Recipes | 0 | 03-21-2013 07:05 PM |
New recipe for "Süddeutsche Zeitung" using "E-Paper mobile" subscription | Ernst | Recipes | 3 | 02-16-2013 07:37 AM |
Recipe for "Revista Piaui" (a brazilian magazine) | Bortolotto | Recipes | 3 | 07-16-2011 02:43 PM |
Request: recipe for google new "Think Quarterly" magazine | gloomygod | Recipes | 0 | 03-24-2011 08:08 AM |