Recently I’ve been converting a batch of ebooks into epub and mobi formats. I used python tools, parts of my project MyBookShelf, which uses calibre and LibreOffice for all the hard work. The conversion tool enables to run several conversion in parallel – in separate processes. I wondered how the conversion will speed up with adding more processes. I ran it on my notebook with core i5 processor – two physical cores, each core can run two physical threads, 8GB memory. Graph below shows results for conversion of about 10 books into both formats.
Interesting thing for me is that only notable speed up is between 1 and 2 processes. Not very much gain with running 3 or 4 – looks like full utilization of HW threads is held back by I/O or memory speed limits?