|  08-24-2009, 11:14 AM | #1 | 
| Connoisseur  Posts: 83 Karma: 46 Join Date: May 2009 Device: Sony prs-505 | 
				
				calibre-parallel.exe twice?
			 
			
			Is there a reason that Calibre runs two calibre-parallel.exe processes to convert books? It seems both are taking up 50% CPU and neither is converting quickly due to neither process getting the full amount of CPU it needs. Wouldn't it make sense to run one conversion process at a time? For example I have two processes sitting at 24-35mins Running time. 2 MB each file. This is nuts. | 
|   |   | 
|  08-24-2009, 11:17 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			It runs as many processes as you have CPU cores.
		 | 
|   |   | 
|  08-24-2009, 11:33 AM | #3 | 
| Connoisseur  Posts: 83 Karma: 46 Join Date: May 2009 Device: Sony prs-505 | 
			
			aaah, righto, Thanks for the VERY fast reply.  Another quick question then. If you have only one process running why does it ONLY use 50% CPU? | 
|   |   | 
|  08-24-2009, 11:36 AM | #4 | 
| Enthusiast  Posts: 42 Karma: 14 Join Date: Jul 2009 Device: dr800sg | 
			
			A process can only run on one core. So if you have 2 core, no process can use more than 50% of the CPU.
		 | 
|   |   | 
|  08-24-2009, 11:37 AM | #5 | 
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 Join Date: Jan 2008 Location: Spaniard in Sweden Device: Cybook Orizon, Kobo Aura | 
			
			One process can only use a single core. If you have two cores, a single process will always leave one core idle, and depending on how your monitoring software displays things, you'll see CPU usage at 50% (one core at 100%, the other at 0%, more or less).
		 | 
|   |   | 
|  08-24-2009, 12:09 PM | #6 | 
| Sir Penguin of Edinburgh            Posts: 12,375 Karma: 23555235 Join Date: Apr 2007 Location: DC Metro area Device: Shake a stick plus 1 | |
|   |   | 
|  08-24-2009, 12:41 PM | #7 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			There are two calibre-parallel.exe processes maintained in the background per core. However only one is actively run at a time per core (unless you happen to add/save books while also converting)
		 | 
|   |   | 
|  03-14-2011, 02:22 PM | #8 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Mar 2011 Device: Kindle 3 | 
				
				Calibre and many CPU cores
			 
			
			Well I was hoping that until I ran Calibre v.0.7.49 on on my Intel i7 Core-720QM. Yes it has 4 cores and Hyper-Threading.  Actually it seems that there are 3 working threads (yes, there are 6 calibre-parallel.exe processes). It should be at least 4 working threads (there are 4 cores). In the best situation there should be 8 working threads ( 4 cores multiply by HT). Just to not start another discussion - yes 8 threads are faster than 4 on this CPU - I tested it by Prime. Can You tell me why it happened? Thanks for your help. | 
|   |   | 
|  03-14-2011, 03:14 PM | #9 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Because the max number is capped at 6, see preferences->miscellaneous
		 | 
|   |   | 
|  03-15-2011, 01:18 PM | #10 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Mar 2011 Device: Kindle 3 | 
				
				Thanks
			 
			
			Thanks a lot kovidgoyal.   I knew then there must be parameter somewhere but can't find it  I just changed the settings and now I have 8 working threads (16 calibre-parallel.exe processes). Oh my god, now it really fast   From now on I will be using calibre to test my CPU speed instead of prime  Did I say thank You?  Thank You very much! | 
|   |   | 
|  03-24-2012, 03:44 PM | #11 | 
| Junior Member  Posts: 3 Karma: 10 Join Date: Mar 2012 Device: Nook | 
				
				Why such a resource hog?
			 
			
			Why does this process use up all of my CPU usage?  I'm converting some books and I can't use my PC for anything else.  I don't need calibre to use so much of my memory.  I have two processes and they are using 100% of my memory - I cant even check my email or open a browser window.  This is very invasive and hardly seems a reasonable use of my cpu.
		 | 
|   |   | 
|  03-24-2012, 08:07 PM | #12 | |
| Well trained by Cats            Posts: 31,250 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 If you are running out of RAM, you might consider that 512M is not good for much other than reading mail  1 to 2G on XP is sweet for Process intensive programs. Vista or W7 the sweet spot moves UP to 3 to 4G of RAM There is a Calibre preference to reduce Priority to LOW, which will allow othe programs (with normal Priority) to run in spite of Calibre. | |
|   |   | 
|  03-24-2012, 08:51 PM | #13 | |
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | Quote: 
 | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Unhandled exception in calibre.exe (python26.dll) | jusmee | Calibre | 0 | 12-14-2009 12:53 AM | 
| Question for Australians: do parallel import rules apply to e-books? | charlieperry | News | 2 | 12-05-2009 10:32 PM | 
| Calibre exe deleted by Norton Internet Security 2010 | FoolforBooks | Calibre | 18 | 11-24-2009 03:10 PM | 
| calibre-parallel process uses large amount of Win32 Handles | CheriePie | Calibre | 5 | 03-03-2009 01:03 AM | 
| Zune and Iliad: Parallel wireless stories? | ali | iRex | 8 | 10-05-2006 08:54 AM |