Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2016, 01:46 AM   #1
Julez
Junior Member
Julez began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
Sending metadata to Kobo Glo via Calibre is slow

Would love if someone can shed some light on this!

I notice that calibre is taking longer and longer to "send metadata to device". I normally sideload all my books to microSD card.

It takes a couple of seconds to upload books (be it 1 or 10 books) and the other jobs but now it takes at least 1min 30 secs to send metadata to the device. It was never that long before.

Is it something to do with my settings?

Calibre version 2.73
Kobo Glo version 3.19.5761

Last edited by Julez; 12-22-2016 at 01:51 AM.
Julez is offline   Reply With Quote
Old 12-22-2016, 02:10 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
The time taken to do the "send metadata to device" job does not depend on how many books you send to the device, but on how many books you have on the device. Each time it runs, whether it is when you connect the device, send or delete books, it will process the details in the database on the device for all the books to update the collections and series info if you have these set. It also updates the file metadata.calibre that calibre uses to assist in connecting the books between the device and calibre library.
davidfor is offline   Reply With Quote
Advert
Old 12-22-2016, 03:05 AM   #3
Julez
Junior Member
Julez began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
Thanks for your reply!

Is there no way to cut down the time? I have over 1000+ ebooks on SD card and growing! I don't need it to update the old collections, just the new ones which I am uploading. I wouldn't mind if I had to update the entire collection now and then but I am a pretty voracious reader so go through books quite quickly.

I also have an issue with the turning of pages. I have mine set with the top half to turn backwards and the bottom to move forward. It sometimes goes wonky and flips backwards even though it's supposed to move ahead. There have been times it hangs! I normally rectify it by turning it off and then back on. A pop-up box will appear and will say "Something went wrong". Is there a patch for this?
Julez is offline   Reply With Quote
Old 12-22-2016, 06:58 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Julez View Post
Thanks for your reply!

Is there no way to cut down the time? I have over 1000+ ebooks on SD card and growing! I don't need it to update the old collections, just the new ones which I am uploading. I wouldn't mind if I had to update the entire collection now and then but I am a pretty voracious reader so go through books quite quickly.
The driver isn't updating all the collections, it is updating what has changed since the last connection. But, that means it has to check the current state of the collections. The time taken will also depend on the number of collections and how many books are on them. The more collections, and the more books per collection, the longer it will take.

Having said that, your 1m 30 seems a bit long. For 3200 books and 38 pages of collections, it takes about 30 seconds on my Glo HD. I don't have enough books on my Glo, so I can't say how long it takes. I'll have to do some experiments. And I'll have another look at the code. It was as efficient a I could make it at he time, but, it has been a while.

It might be worthwhile checking and compressing the database. Any problems in the database could slow things down. And the compress will reorganise the database and clean up any unused space. This should improve the performance. My Kobo Utilities plugin has both functions, or you can use an SQLite database manager.
Quote:
I also have an issue with the turning of pages. I have mine set with the top half to turn backwards and the bottom to move forward. It sometimes goes wonky and flips backwards even though it's supposed to move ahead. There have been times it hangs! I normally rectify it by turning it off and then back on. A pop-up box will appear and will say "Something went wrong". Is there a patch for this?
Over the years, there have been a lot of complaints about erratic page turns. Some of them are firmware version dependent, some seem to be the device and some seem to be the user. The recent firmware seem to be better in this regard as I haven't heard complaints recently, but 3.19.5761 should be OK. For the device, clean under the bevel, as anything trapped there can affect the IR touch emitters and sensors. And for the user, some people see these problems when they tap, and others when they swipe. I've never seen a good explanation of why.
davidfor is offline   Reply With Quote
Old 12-23-2016, 10:54 AM   #5
Julez
Junior Member
Julez began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
I will take your advice and revert. I see the option to compress database but I will have to explore SQLite database manager. This girl here is far from being a techie so this may be tricky Hahaha

So far I have been cleaning the screen from edge to edge with a screen cleaner and a micro fibre cloth. I'll have to look more closely but seems pretty ok to me.
Julez is offline   Reply With Quote
Advert
Old 12-23-2016, 06:34 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Julez View Post
I will take your advice and revert. I see the option to compress database but I will have to explore SQLite database manager. This girl here is far from being a techie so this may be tricky Hahaha
The compress through the Kobo Utilities is the same that the database manager will do. I mention the choice in case someone doesn't want the plugin or simply prefers to do it themselves.
Quote:
So far I have been cleaning the screen from edge to edge with a screen cleaner and a micro fibre cloth. I'll have to look more closely but seems pretty ok to me.
My son's Touch had a tiny piece of paper stuck in the corner at one time. It meant that the menu wouldn't stay open when tapped. Something like that isn't likely to be causing your problem, but it's a good idea to eliminate all the possibilities.
davidfor is offline   Reply With Quote
Old 01-03-2017, 12:10 AM   #7
Julez
Junior Member
Julez began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
Sorry it's taken me so long to get back to you! Things got manic on my end! Hope you had a good break over Christmas and new year!

I finally compressed the database and it shaved of 30 secs when it had to "send metadata to device". So I am down to 1 minute at the moment.

Did you make any headway with your tests?

By the way, after you mentioned about cleaning under the bezel, I actually had an issue at the top right hand corner where I couldn't close the settings menu. I actually had to use a corner of a very fine microfiber cloth soaked in screen cleaning fluid to clean under the bezel for it to work again!! Thanks for the tip!

Do let me know if you other suggestions where I could improve the kobo a bit more. Much thanks and happy new year!

Last edited by Julez; 01-03-2017 at 01:19 AM.
Julez is offline   Reply With Quote
Old 01-03-2017, 01:01 AM   #8
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
It could just be that your micro-SD card is very slow, and a faster one might help.

I am not sure exactly what activity you are measuring (sending metadata takes less than a second on my Glo, so we must be thinking of different things), but in general you should be able to work out how much of the time spent is due to Calibre and how much is due to the slow micro-SD card by closing and restarting Calibre with the device still plugged in and repeating the activity. The first time will be the time taken by Calibre plus the time Calibre spends waiting for the micro-SD card. The second time the files will be in the system cache and so the time should be almost entirely the time taken by Calibre. Subtract the second time from the first and you have the time taken by the micro-SD card.

E.g. I have about 1000 books on my Glo, Kobo database size is about 80MB, Calibre metadata is about 2.5MB. The first time I plug the device in it takes Calibre about 20 seconds to fetch data from the device. Close and restart Calibre with the device still plugged in and it only takes about 5 seconds, so I take it that Calibre is spending aout 15 seconds waiting on the micro-SD card. (I have a 8GB class 4 Sandisk card.)
GeoffR is offline   Reply With Quote
Old 01-03-2017, 04:21 AM   #9
Julez
Junior Member
Julez began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: Kobo Glo
Hi GeoffR,

The time I am referring to is when I side load books on into my kobo. If you click on "Jobs" on the bottom right of Calibre, you can see the different processes and the time it takes when I send ebooks to device. All my ebooks are saved to SD card. That's what I am referring to.

I am running a 16GB, class 10 SanDisk card.
Julez is offline   Reply With Quote
Old 01-03-2017, 05:27 AM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@Julez: As I said before, a lot of the time depends on the number of books, collections, number of books in the collections and number of books with series. You could turn the collection management and series info options off in the driver and see how much time was saved. I would also be interested in seeing a debug log from calibre to see if there are any obvious places that are using time. From my logs, it isn't obvious, but maybe the comparison will show something.

I also haven't had a real chance to check the code. I have looked at one of the things I was thinking of, and it's about as quick as I can do. But, if it is a problem point, the debug log would show.

For the debug log, restart calibre in debug mode (right-click the preferences button and choose the option), then connect the device. After the jobs have finished, close calibre. The debug log will be displayed. Post or PM the log to me to look at.
davidfor is offline   Reply With Quote
Old 01-03-2017, 09:21 PM   #11
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by Julez View Post
The time I am referring to is when I side load books on into my kobo. If you click on "Jobs" on the bottom right of Calibre, you can see the different processes and the time it takes when I send ebooks to device. All my ebooks are saved to SD card. That's what I am referring to.

I am running a 16GB, class 10 SanDisk card.
That "Send metadata to device" job only takes 1 second at most on my Glo. But from what davidfor said I guess the difference is because I don't have any collections managed by Calibre.
GeoffR is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Glo is soooo slow..... Cameronpaterson Kobo Reader 6 10-29-2015 09:35 PM
How slow is the Kobo Glo HD? OverTwo Kobo Reader 8 09-30-2015 10:45 PM
[Old Thread] Why is Calibre so slow sending ebooks in emails? rfog Calibre 10 05-17-2013 01:42 PM
Error while sending books to my Kobo Glo diane55 Devices 5 04-17-2013 03:18 PM
Sending metadata to Wifi Kobo is slow Joyful Devices 24 06-12-2011 02:57 AM


All times are GMT -4. The time now is 09:25 PM.


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