12-22-2016, 01:46 AM | #1 |
Junior Member
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. |
12-22-2016, 02:10 AM | #2 |
Grand Sorcerer
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.
|
Advert | |
|
12-22-2016, 03:05 AM | #3 |
Junior Member
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? |
12-22-2016, 06:58 AM | #4 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
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:
|
||
12-23-2016, 10:54 AM | #5 |
Junior Member
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. |
Advert | |
|
12-23-2016, 06:34 PM | #6 | ||
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
01-03-2017, 12:10 AM | #7 |
Junior Member
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. |
01-03-2017, 01:01 AM | #8 |
Wizard
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.) |
01-03-2017, 04:21 AM | #9 |
Junior Member
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. |
01-03-2017, 05:27 AM | #10 |
Grand Sorcerer
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. |
01-03-2017, 09:21 PM | #11 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
|
|
|
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 |