Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2012, 10:35 AM   #31
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
@Lugopt

Hide the tag browser.

Stop sorting on composite columns at startup -- as described here
capnm is offline   Reply With Quote
Old 01-15-2012, 07:02 PM   #32
dmunson
Junior Member
dmunson began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2011
Location: Mid Illinois
Device: Kindle
I use to have problems but after I upgraded to windows 7 and maximizing memory it seems to be ok. 6.6 seconds and ~12,500 books. I also lost all previous settings so maybe that's what fixed my slow startup. I did have custom columns.
dmunson is offline   Reply With Quote
Old 01-19-2012, 10:45 AM   #33
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
Just done as you suggested capnm,
(Set the maximum number of sort 'levels'")
(Specify columns to sort the booklist by on startup)
Close tag browser before exiting etc
It didn't make any change to my 2min startup time.

Its weird to have a program take such a long time to start up from a rebooted system, even photoshop only takes 14seconds on my system.

I guess I'll have to remove all my custom columns - but that'll pretty much break the way I use calibre.
If I don't have my genre column and my audio book column, then I'm not going to be able to use the program to easily find the books I want to read etc..

Maybe there's some other bug or setting specific to our libriarys that is causing this issue.

Anyway for now I'll either just stare at the blank white Calibre window, or go make a cup of tea on restarts
transmitthis is offline   Reply With Quote
Old 01-19-2012, 11:17 AM   #34
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 transmitthis View Post
I guess I'll have to remove all my custom columns - but that'll pretty much break the way I use calibre.
If I don't have my genre column and my audio book column, then I'm not going to be able to use the program to easily find the books I want to read etc..
As far as I have been able to determine, the only kind of custom column that can cause a significant start up performance problem is the type "column built from other columns" (a "composite column"). In addition, this kind of column can cause a problem only if it is sorted or has "show in tag browser" checked.

Regarding getting the attributes of the formats, Kovid and I have changed calibre to ask for that information only when needed. This change will be available in this week's release. I don't know how much it will help. In my tests of a 4,000-book library it improved performance by 20%, but that was with information cached. A start after a boot will see a larger improvement. Please note that if you have composite columns that use any of the functions "formats", "formats_sizes", or "formats_modtimes", then you likely won't see any improvement.

Last edited by chaley; 01-19-2012 at 12:00 PM.
chaley is offline   Reply With Quote
Old 01-19-2012, 11:52 AM   #35
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
@ transmitthis -- this has me befuddled:
Quote:
weirdly after using cmd to open, it now only takes 19seconds, instead of 1m30. so all's good

EDIT - Hrm, that was only after repeatingly opening Calibre

After restarting Windows, Calibre takes 2 minuets to load
Quote:
Its only the first startup after a reboot with a large library, that takes a very long time.
All my custom column/tag browser issues manifested themselves anytime a library was opened, whether when starting calibre, or when switching libraries within calibre.

If you want to test to see if it's related to your custom columns, it'll only take a few cups of tea Use windows to make a copy of your library, switch to the copy in calibre, delete the custom columns, wait for the library metadata backup to complete* (ok, a pot of tea), then try switching libraries and closing/opening calibre.

*Look under Library Maintenance - Metadata backup status
capnm is offline   Reply With Quote
Old 01-20-2012, 01:58 AM   #36
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
@ chaley
I don't have any composite columns, just several yes/no and a format one, I'll try removing them anyway and see.
Will look forward to that update, thanks for the reply

@ capnm
weird that my issue is just on reboots. I have some Earl Gray in the caffettiera this morning so I'll give it a go.
Want to remove all Plugins and try without - but not sure how to do that without loosing things like books on my "read list plugin" etc


Edit:
Well got the new update, and also copied my library to troubleshoot.

Normal Boot with some custom 2min 25sec
Default columns - no custom 1min.15sec

So Custom columns are causing a 70second delay on boot. (not composite)

restarts during the same windows session are fine though, I guess it's just something I'll live with for now, its not a major issue, and seems to be only me, so no point using up forum space on it.

thanks for the suggestions though.

Last edited by transmitthis; 01-20-2012 at 04:52 AM.
transmitthis is offline   Reply With Quote
Old 01-20-2012, 02:46 AM   #37
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 transmitthis View Post
@ chaley
I don't have any composite columns, just several yes/no and a format one, I'll try removing them anyway and see.
What kind of column is "format"?
chaley is offline   Reply With Quote
Old 01-20-2012, 09:00 AM   #38
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Quote:
Originally Posted by transmitthis View Post
Want to remove all Plugins and try without - but not sure how to do that without loosing things like books on my "read list plugin" etc
A separate install of calibre.
See http://manual.calibre-ebook.com/portable.html

IIRC --
Create a folder eg 'CalibreTest' containing:
calibre-portable.bat
A copy of your existing Calibre2 folder
A copy of your existing CalibreConfig folder
Ignore the part about copying your library -- just run the .bat and point to your existing library after calibre starts. (Actually, I think it will already, since you've copied your settings.)

I've always set calibre up this way so I'm just a couple of mouse clicks away from a new test copy, or having my customized install to another machine
capnm is offline   Reply With Quote
Old 01-20-2012, 09:11 AM   #39
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
Quote:
Originally Posted by transmitthis View Post
weird that my issue is just on reboots.
This sounds like something file system/network related - not calibre code.

Internet connection?
Calibre 'phones home' on startup

Anything going on across a network?

Spin up of a second hard drive?

capnm is offline   Reply With Quote
Old 01-20-2012, 09:12 AM   #40
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
Quote:
Originally Posted by chaley View Post
What kind of column is "format"?
Just one that shows format, epub, lit, pdf etc

Looking at it just now, it does seem to be build from other columns - at least thats what it says - so I guess that is a composite one.
Attached Thumbnails
Click image for larger version

Name:	Untitled 1542.jpg
Views:	229
Size:	28.4 KB
ID:	81539  
transmitthis is offline   Reply With Quote
Old 01-20-2012, 09:18 AM   #41
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 transmitthis View Post
Just one that shows format, epub, lit, pdf etc

Looking at it just now, it does seem to be build from other columns - at least thats what it says - so I guess that is a composite one.
This is one of the situations that can slow down calibre the most. Why? First, "Show in tags browser" is checked for that column, forcing the template to be evaluated for all books in the library at startup. Second, it uses "Formats", which causes calibre to verify the existence of every "format" (ebook file) during evaluation of the template. The two combine to check every ebook file during calibre startup, which can be thousands of files.

Uncheck "show in tags browser". The standard formats category gives you the same functionality, so you won't lose anything. Once unchecked, I suspect that your two minutes will drop to some number of seconds.
chaley is offline   Reply With Quote
Old 01-20-2012, 09:18 AM   #42
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
@ capnm

A portable install, nice fresh one with no plugins etc, that sounds like a good idea - why didn't I think of that, I'll get on that as soon as I have a clear head.

Network - not really, using my home system, just one PC, one HD very reliable connections, I'm starting to wonder if windows 7 search indexing service is having an impact here, anyway have a few more things to try.
transmitthis is offline   Reply With Quote
Old 01-22-2012, 04:50 AM   #43
transmitthis
Addict
transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.transmitthis ought to be getting tired of karma fortunes by now.
 
transmitthis's Avatar
 
Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
Sorted!

Startup time of 14seconds woohoo

Just for reference it was nothing to do with internal library or calibre in the end,

Every month or so I do a full security audit on my system, (apart from the MSE scans etc) and as soon as yesterdays was finished some trojan's showed up that were not detected normally. As soon as they were sandboxed my start up in Calibre was lightening quick

Thanks for all your help

I hope lugopt, DrChiper or anyone else with startup issues gets it sorted soon.
Malwarebytes is what actually caught the issue, in case your wondering.
But you should always use several programs, just to be sure.
transmitthis is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't start up hwhovis Calibre 3 02-04-2011 03:45 AM
Way to speed up Calibre? johnnyr Calibre 14 11-24-2010 02:21 AM
calibre program launch speed cybmole Calibre 44 10-16-2010 10:57 PM
Calibre 0.7.9 won't start HarryC Calibre 4 07-20-2010 04:45 PM
Calibre won't start nathancabopino Calibre 14 06-30-2009 11:40 AM


All times are GMT -4. The time now is 11:02 AM.


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