View Single Post
Old 02-19-2019, 07:47 AM   #4
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
You could try moving the temp folder to RAM. See if that helps.

Also a HDD that is becoming full sometimes slows down. A lot. Make sure you have 20%-30% free storage left on the drive for it to work at full speed.

Here is an old post about tempfs. Only use it if you feel you have RAM enough. Test other software and revert if it slows down other things or doesn't help with calibre. Since I got a fast SSD I made sure tmp and swap was on it, along with ~/.cache

Quote:
Originally Posted by Adoby View Post
One way to significantly speed up many (some?) functions in Calibre is to put the temp folder on RAM, if you have plenty of memory in your computer.

In Linux (I use Ubuntu) this is easy by using tempfs. To do this I added this line to the file /etc/fstab

Code:
tmpfs /tmp tmpfs nodev,nosuid 0 0
This will use up to half of the available RAM and if needed also the swap partitions for the folder /tmp. As before, other unused memory will be used as disc cache. To have /tmp on tempfs may also good if you have a SSD, since it will reduce the number of writes to the SSD, increasing both performance and lifetime of the SSD.

Google /tmp fstab tmpfs for more info. Add the name of your Linux flavor.

This may also significantly speed up other programs that use /tmp a lot.

I believe something similar can be done in Windows? Then you can still take advantage of your 64 bit OS and extra memory, while running 32 bit Calibre.

Last edited by Adoby; 02-19-2019 at 07:50 AM.
Adoby is offline   Reply With Quote