Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-08-2015, 12:09 PM   #1
ericmjones
Junior Member
ericmjones began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: Kindle
Calibre slow startup

Running Calibre 2.20 on windows 7 64 bit. dual core processor, 8gb memory and Library ~9000 books. Suddenly Calibre is taking a long time to load. The splash screen comes up in a few second - but the library takes a further 2 minutes to load.
During this time the task manager shows calibre using ~2% of the cpu (intermittently) with memory increasing in steps to 207,000K.
Lots of disk activity during this period.

I tried switching off the anti-virus but it makes no difference. This only happens on the first activation of calibre after starting the computer. all subsequent starts of calibre are within a few seconds.

Any thoughts??
ericmjones is offline   Reply With Quote
Old 03-08-2015, 12:24 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You tried the usual suspect

When was the HD last defragged?
theducks is offline   Reply With Quote
Old 03-08-2015, 05:11 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ericmjones View Post
Running Calibre 2.20 on windows 7 64 bit. dual core processor, 8gb memory and Library ~9000 books. Suddenly Calibre is taking a long time to load. The splash screen comes up in a few second - but the library takes a further 2 minutes to load.
During this time the task manager shows calibre using ~2% of the cpu (intermittently) with memory increasing in steps to 207,000K.
Lots of disk activity during this period.

I tried switching off the anti-virus but it makes no difference. This only happens on the first activation of calibre after starting the computer. all subsequent starts of calibre are within a few seconds.

Any thoughts??
@ericmjones - if you start calibre very soon after you start Windows, then the delay may be due to Windows (or some other 3rd party program) still doing its start up tasks - eg creating a restore point. I've also noticed that the indexer sometimes finds things to do at start up, but if its set to run at low priority (which is the default) it should yield to higher priority processes.

If above applies try waiting 10 minutes before starting calibre -- just to see what happens -- not suggesting that as a 'real' solution.

IMO running defrag on Win 7/NTFS is a waste of time, especially with the standard MS defragger. Defragging is done dynamically by Windows 7 when there's nothing else happening, unless its been turned off via the Policy Editor or a Registry hack. I believe some of the pay4me defraggers can make a difference on busy servers.

Are you sure that its calibre that's generating the disk i/o. Task Manager and tools like Process Explorer can help determine that.

Also calibre 2.20 had a fixup release, so you might want to try a fresh download and install from here ==>> Download calibre

One thing to try is to use Library->Remove library to 'detach' your library from calibre (don't worry it won't delete it as such) reboot and start calibre - if its still slow then that would 'indicate' that the disk i/o it not calibre rattling around in your library. You can 're-attach' the library via the Library->Create/Switch->Use existing library option

And you could also try a downgrade to a previous version. I'd suggest you backup first even though its not theoretically necessary, see ==>> How do I backup calibre?

What happens if you boot into Safe mode?

Also try starting calibre with the --ignore-plugins switch, see ==>> calibre command

Columns made from other columns have been known to generate slow calibre starts, but I am pretty certain they affect all calibre starts - not just the first time.

BR

Last edited by BetterRed; 03-08-2015 at 05:31 PM.
BetterRed is online now   Reply With Quote
Old 03-08-2015, 05:50 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
IMO running defrag on Win 7/NTFS is a waste of time, especially with the standard MS defragger. Defragging is done dynamically by Windows 7 when there's nothing else happening, unless its been turned off via the Policy Editor or a Registry hack.
Can you provide sources for this? As far as I can tell, by default W7 defrags on Wednesday at 01:00, if the machine is running or can be awakened. On my machines, defrag appears to almost never run automatically.
chaley is offline   Reply With Quote
Old 03-08-2015, 10:50 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Can you provide sources for this? As far as I can tell, by default W7 defrags on Wednesday at 01:00, if the machine is running or can be awakened. On my machines, defrag appears to almost never run automatically.
Whoops confusion - it's my old NT4 server that defrags when its idle, for some reason my typing brain mistakenly thought the workstations were the same.

My workstations defrag dally at 11:00. Yes, I just read the default for Win 7 is Wed 01:00, so I must have changed it back in 2009.

From what I can see the schedule works providing the workstation is on. The 2 drives on this w/s report they were defragged today, one at 11:03 the other at 11:11, it's currently 14:00ish. When the defrag starts the only way I can discern it's running is by the disk lights, not by responsiveness. It takes a few minutes to do 2x2TB WD Caviar blacks. The workstation also has a 256GB SSD system drive. The WD drives have hefty caches and they're no where near full.

I don't defrag external drives, they're also 2TB WD Caviar Blacks. When they're in use I mount them in a disk dock that connects to a PCIe USB 3.0 hub. My observation is that they're faster than the same drives on SATA 2. Again they have hefty caches and they're not too full - and they are compressed.

I'm just not convinced defragging makes a great deal of difference on modern drives with hefty caches, providing the drives are not close to full.

BR

PS - I just recalled, a friend recently bought her Vista laptop for me to have a look at. It started going very slowly after she ran Vista defrag (first time in 7+ years). I managed to speed it up a bit, but it really needs a fresh Windows install - I'm awaiting arrival of Vista Business product. Apparently MS tore their VISTA iso's down last year

Why did she do a defrag - because someone screwed around with her email accounts and got her confused, so she 'thought a defrag might help'

Last edited by BetterRed; 03-08-2015 at 11:10 PM.
BetterRed is online now   Reply With Quote
Old 03-08-2015, 11:40 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by BetterRed View Post
Whoops confusion - it's my old NT4 server that defrags when its idle, for some reason my typing brain mistakenly thought the workstations were the same.

My workstations defrag dally at 11:00. Yes, I just read the default for Win 7 is Wed 01:00, so I must have changed it back in 2009.

From what I can see the schedule works providing the workstation is on. The 2 drives on this w/s report they were defragged today, one at 11:03 the other at 11:11, it's currently 14:00ish. When the defrag starts the only way I can discern it's running is by the disk lights, not by responsiveness. It takes a few minutes to do 2x2TB WD Caviar blacks. The workstation also has a 256GB SSD system drive. The WD drives have hefty caches and they're no where near full.

I don't defrag external drives, they're also 2TB WD Caviar Blacks. When they're in use I mount them in a disk dock that connects to a PCIe USB 3.0 hub. My observation is that they're faster than the same drives on SATA 2. Again they have hefty caches and they're not too full - and they are compressed.

I'm just not convinced defragging makes a great deal of difference on modern drives with hefty caches, providing the drives are not close to full.

BR

PS - I just recalled, a friend recently bought her Vista laptop for me to have a look at. It started going very slowly after she ran Vista defrag (first time in 7+ years). I managed to speed it up a bit, but it really needs a fresh Windows install - I'm awaiting arrival of Vista Business product. Apparently MS tore their VISTA iso's down last year

Why did she do a defrag - because someone screwed around with her email accounts and got her confused, so she 'thought a defrag might help'
Defrag the Hive and cache using the tool from sysinternals
theducks is offline   Reply With Quote
Old 03-09-2015, 04:52 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@chaley - this afternoon I checked 3 Win 7 systems at my local community centre. Each has the standard 01:00 hrs on Wednesday setting, they report the most recent defrag occurred last Wednesday (Mar 4th) at 08:20, 09:05 and 09:41 - which is a few minutes after they were booted.

So 5 of 5 systems I've checked down here do the defrag as per schedule, on my two boxes daily at 11:00am, and on the other three on Wednesdays soon after boot up.

Another way to disable auto defrag -- other than unchecking the Run on a schedule in the Defragger -- is to disable the service. I've seen that on a few systems, my guess is that Windows was installed like that at the factory. Or one could add a policy into the GP settings - that's a bit trickier, there were some videos at technet that showed how.

I've yet to see a brand name OEM Windows 7 install that IMO ought not be redone - a) to get rid of vendor bloat and free trials, b) to enable services that IMO ought not be disabled - indexing, link tracking, auto-defrag... etc.

I always encourage friends to buy a full Windows license and reinstall themselves or ask me to do it for them - under Australian law that won't invalidate warranty. Often as not the retailer will throw in the full license for not very much - eg Win7 Pro for $50.

But I suspect you know all that

BR

Last edited by BetterRed; 03-09-2015 at 05:12 AM.
BetterRed is online now   Reply With Quote
Old 03-09-2015, 05:11 AM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@BR: thanks. I looked at my machines and indeed they all defrag on Wed morning when they are turned on.

Why do you need to buy a full license? Doesn't the machine come with an OEM license valid for it? Don't you just need standard installation media (easy to get) and the installation's product key?
chaley is offline   Reply With Quote
Old 03-09-2015, 05:52 AM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I'm glad you sorted that out - its one of those things I just set & forgot. I probably changed to 11:00 because a) I don't like to 'overload' the system at start up, and b) Wednesday down here is Tuesday over there, so it would clash with Patch Tuesday updates.

Why buy a full license ? Future proofing.

You can't do an inline re-install with many OEM vendor patched (lashed up) media, and I don't trust 3rd party streams. Also if you're a few hundred km from a shop and at the end of a flaky 256kbit sat link (try downloading a 3.5GB iso at that speed) you need all the help you can get - like a shiny gold DVD with a Microsoft brand in the bottom drawer. And most of my friends aren't exactly paupers.

BR
BetterRed is online now   Reply With Quote
Old 03-10-2015, 02:36 AM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
While some people might find it easier to deal with a shiny Microsoft-delivered install media, the ISOs from Digital River should be fine for the slightly more adventurous type. Or indeed the type that has better internet.

Oh, wait -- MS pulled those down recently.

Still, if they can find a reliable mirror -- or do what I did and download random suggested sources then compare sha1sums posted on TechNet -- then you should get valid official Win7 install media. Gone are the WinXP days, supposedly, when retail media wouldn't use OEM keys.

I certainly don't have the money to waste -- especially when I am doing this as a favor to a friend (has no money either ) who just nuked his laptop trying a Reset To Factory Defaults. After I installed a dual-boot Linux Mint (his request). Somehow it trampled all over the HDD.
eschwartz is offline   Reply With Quote
Old 03-10-2015, 12:53 PM   #11
SquiddOhio
Connoisseur
SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.SquiddOhio inspires wonder wherever he or she goes.
 
Posts: 61
Karma: 151030
Join Date: May 2012
Device: Kindle Touch
Even though my machine is pretty fast, some large programs (Photoshop) and some programs like Calibre that load a large database can take some time to get up and running. I solved that problem by replacing my C: drive with a Solid State Drive. I put the Calibre library on there also. It's a drastic solution, but the computer boots up in 20 seconds or so, and the price of SSDs is now reasonable. Highly recommended.
SquiddOhio is offline   Reply With Quote
Old 03-10-2015, 03:41 PM   #12
ericmjones
Junior Member
ericmjones began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
@ericmjones - if you start calibre very soon after you start Windows, then the delay may be due to Windows (or some other 3rd party program) still doing its start up tasks - eg creating a restore point. I've also noticed that the indexer sometimes finds things to do at start up, but if its set to run at low priority (which is the default) it should yield to higher priority processes.

If above applies try waiting 10 minutes before starting calibre -- just to see what happens -- not suggesting that as a 'real' solution.

IMO running defrag on Win 7/NTFS is a waste of time, especially with the standard MS defragger. Defragging is done dynamically by Windows 7 when there's nothing else happening, unless its been turned off via the Policy Editor or a Registry hack. I believe some of the pay4me defraggers can make a difference on busy servers.

Are you sure that its calibre that's generating the disk i/o. Task Manager and tools like Process Explorer can help determine that.

Also calibre 2.20 had a fixup release, so you might want to try a fresh download and install from here ==>> Download calibre

One thing to try is to use Library->Remove library to 'detach' your library from calibre (don't worry it won't delete it as such) reboot and start calibre - if its still slow then that would 'indicate' that the disk i/o it not calibre rattling around in your library. You can 're-attach' the library via the Library->Create/Switch->Use existing library option

And you could also try a downgrade to a previous version. I'd suggest you backup first even though its not theoretically necessary, see ==>> How do I backup calibre?

What happens if you boot into Safe mode?

Also try starting calibre with the --ignore-plugins switch, see ==>> calibre command

Columns made from other columns have been known to generate slow calibre starts, but I am pretty certain they affect all calibre starts - not just the first time.

BR
Disk is defragged regularly (done in the last few days) Running 2.20. Removed library as you suggested and then restarted calibre and opened library - back to normal opening in a few seconds. Looks like a "funny" that has been cleared. Restarted machine and it still opens quickly. Thanks for the ideas.
ericmjones is offline   Reply With Quote
Old 03-10-2015, 04:17 PM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ericmjones View Post
Disk is defragged regularly (done in the last few days) Running 2.20. Removed library as you suggested and then restarted calibre and opened library - back to normal opening in a few seconds. Looks like a "funny" that has been cleared. Restarted machine and it still opens quickly. Thanks for the ideas.
- that wasn't supposed to fix the problem

Curious - was the library folder ever 'attached' via a symbolic link or a junction ?

BR
BetterRed is online now   Reply With Quote
Old 03-13-2015, 01:05 AM   #14
ericmjones
Junior Member
ericmjones began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2015
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
- that wasn't supposed to fix the problem

Curious - was the library folder ever 'attached' via a symbolic link or a junction ?

BR
No - directly open when I first used Calibre. survived several calibre upgrades with no problems. I cannot understand it either
ericmjones is offline   Reply With Quote
Old 03-13-2015, 03:53 AM   #15
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,723
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@ericmjones - I'll add 'detach/re-attach library' to my list of "try this" solutions. I normally have an inkling of why "this" is worth "trying" - but on this occasion I haven't a clue.

Some sort of ephemeral 'hook up' between calibre, your library, and windows or something; that was 'torn down' by detaching the library from calibre - weird

I wonder if something to do with the 'lazy writing' of book folder .opf files, or Find Duplicates Marked Exemptions went haywire - I can 'vaguely imagine' that a detach/attach library sequence might overcome such a glitch.

BR
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup of calibre veeeeeery slow (>3 min) drmaxx Calibre 15 11-09-2013 04:50 PM
Aura HD Aura HD VERY slow startup with microSD inserted Major General Kobo Reader 31 09-13-2013 03:08 AM
Calibre startup very slow manawydan Calibre 3 12-27-2012 03:49 PM
Sorting/searching composite column causes slow startup [solved] capnm Library Management 0 11-08-2011 11:44 AM
Firmware Update New Firmware, Slow Startup mdibella Amazon Kindle 1 12-03-2009 09:52 AM


All times are GMT -4. The time now is 06:58 PM.


MobileRead.com is a privately owned, operated and funded community.