06-15-2011, 08:47 PM | #16 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I was surprised a few weeks ago to see a report of ~30s wait times when going back to home on the K3 with ~1,500 ebooks. I have ~1,000 ebooks on my K3, all managed by Calibre. They are spread across 11 folders, based on tags. I suspect even more folders would help (a sub-folder for each author for example) , but even with 11 folders I see no delay switching back to home when in "most recent" mode. It only takes a second or two to switch between home's ebook sorting options, but a search can take a while.
I have not been able to find definitive information on FAT32 file operations, but it looks like the Directory table is a linear list (i.e. a table). No modern general purpose filesystem would be designed this way, because average and worse case performance of some single-file operations will be proportional to the number of files in the folder. See, for example, a discussion of how Linux's ext3 improved on ext2 at Directory indexing. I'm not sure O(n) file performance is an issue in practice on the Kindle (even though there are multiple files per ebook), but it could be and adding sub-folders is easy with Calibre and likely can't hurt. Last edited by wallcraft; 06-15-2011 at 08:52 PM. |
06-15-2011, 09:43 PM | #17 | |
Layback feline
Posts: 3,034
Karma: 6980745
Join Date: Nov 2010
Location: USA
Device: Oasis 2nd gen, Sony DPTS1, iPad Pro 10.5"
|
Quote:
Very interesting post! |
|
Advert | |
|
06-16-2011, 06:32 AM | #18 |
Groupie
Posts: 170
Karma: 1010944
Join Date: Oct 2010
Location: The African bush
Device: Kindle 3
|
I think it was my post you originally saw, where accessing the Home screen takes about 30 seconds for my collection of more than 1,700 books on the device. I do indeed use Calibre to manage my books, so that every book is actually in a folder (or to be correct a sub-folder) in the Documents directory.
Initially I thought it might be a problem that each book was also accompanied by a separate (but redundant) cover.jpg file and so I did a global deletion of them all. That saved me a hundred MB or so, but still didn't speed up Home screen access. My current statistics, running a Properties check on the device from Windows 7, shows 1,711 files (i.e. ebooks), and 2,373 folders. What I haven't done is run a fragmentation assessment utility on the Kindle -- but this is probably academic anyway given that most expert advice is not to defragment a SSD. |
06-16-2011, 07:50 AM | #19 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
|
|
06-16-2011, 07:55 AM | #20 |
LB's lolz Mutt Minion
Posts: 2,902
Karma: 5700001
Join Date: Jun 2011
Location: Hong Kong now but NYC forever
Device: Kindle3, GalaxyTab, BB Bold9700, BB 8300, Sony Clie, Palm Vx, Palm III
|
^ this is an awesome thread. Thank you all for your input.
While no stranger to ebook formats and even calibre, I have only now started using calibre to transfer books over to my first dedicated reader device. I never had a need to dig deeper into calibre beyond conversion tasks. The tips about enabling/disabling subfolders created on Kindles/devices by calibre is priceless to me. Being new to dedicated ereaders but a very old hand at tech and folder structures for stuff like music, I am still working out the best workflow process for myself and to get ebooks onto my devices. My own preference for both music and books is to avoid subfolders, for artists or in this case, authors. It is indeed a shame that [at present] real folder browsing on the K3 is not possible - I do hope that Amazon will make this available soon through simple FW update. The only type of sub-folders I might employ for ebooks would be category based, rather than author based as this is how I think I want to organize my digital library. Please pardon any noob-ish questions below and apologies if I should post on the general discussion subforum: - Does anyone who doesn't use sub-folder structures on Kindles know if there are any upper file count limits in the root book folders to be aware of? - What is the exact/default folder name [when connected to PC] that the Kindle uses to look for books? - Are there any folder file count limits for Android devices and ebooks, also on the root book folders? - Meta-tags: Is there any type of standard meta-tag format or a universal meta-tag editor for ebooks? Highly unlikely I would guess, if ebooks are anything like digital music [which sucks]. - Do ebook devices like Kindles and Android apps prefer tag into or can they also work off of filenames? My 20k+ track music library is exclusively HQ LAME mp3. As such, I have no need to worry about various formats and metatag info. It took a long time, but I have my audio collection exactly how I want it. I would like to achieve the same thing with my own huge, but at present, completely disorganized ebook library. Physically my music lives in this folder hierarchy: E:\Music E:\Music\0-9 E:\Music\A-C E:\Music\D-F etc I think I would like to do this for ebooks: E:\eBooks E:\eBooks\Horror E:\eBooks\SciFi E:\eBooks\Fantasy E:\eBooks\Non-Fiction E:\eBooks\Favorite Authors etc I also plan to rename all my ebook files to adhere to this kind of uniform file naming convention: George RR Martin - 1996 - Song Of Ice And Fire 01 - A Game Of Thrones.mobi [AZW, ePub, PDF, whatever]. This will allow me not to need Author sub-folders and organize my books simply by general category. Anal perhaps, but that's how I organize my stuff. Any advice from the gurus around here? And I am totally open to other options for organizing my digital book library. It took forever for me to retroactively fix my music collection and get it exactly how I like it. Now, armed with that experience, I would like to get a leg up and do things right with my ebooks, regardless of device. cheers, tia and sorry for derailing this thread, -les Last edited by lestatar; 06-16-2011 at 08:02 AM. |
Advert | |
|
06-16-2011, 10:52 AM | #21 |
Groupie
Posts: 166
Karma: 5358
Join Date: Aug 2010
Location: Davis, CA
Device: Kindle 3
|
In terms of what you want to do for organizing your files, you could utilize Calibre to organize the naming. It may not be as simple as what you find in terms of music tagging and naming software, but I believe when you convert a file in Calibre, you can dictate its name. In other words, you might convert a mobi file to a mobi file to get the file name you want. It isn't as elegant as music files can be for just renaming, but it could work (I haven't tried it yet myself).
As for naming scheme. You really should choose what's right for you, but you probably already know that. By relying on programs like Calibre for my library (and other software for my music), I think of the file names as more of a backup to the most important info about the file, i.e. the bare minimum I would need to build a database again should I completely lose it. For a book, it seems like author and title would be a bare minimum. You've got that covered and then some. After that it just depends on what you have in your collection and how you look for files. As an aside, I have a music library that exceeds 20,000 tracks now. However, I organize tracks differently because I tend to be an album oriented listener and it works best for me if each album is in its own subfolder. It doesn't mean it can't work in another configuration, but it is how I've done things. Books should be the same way. |
06-16-2011, 12:39 PM | #22 | |||||
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Quote:
Quote:
I don't think you'll be surprised by that answer though, considering we STILL don't have full support for the MP3 composer field. Quote:
Quote:
In calibre Preferences > Send to Device: Allows you to specify a template that dictates how the files will be organized on the device, including folder structure and filename. Preferences> Save to Disk: Allows you to specify a template when using the Save to Disk feature. This is useful in the event that you'd like to have a copy of your library in your preferred file structure. This way, you have a copy that makes you happy (and also serves as a backup) and calibre gets to do its thing in its own library. Cuz calibre has to do its thing in its own library. Plugboards: If you want to see series names or such on the Kindle, this is your go-to feature. There's a sticky in the calibre forum which explains how it works and has many useful template examples. Get in there, dig in, play around. If you don't like the results, empty the Kindle and start over. That's the great thing about calibre's library being off-limits - you can screw up everything outside of the library, but the library will always be there to save your a$$. (Just be sure to occasionally back up the library itself - its god-like power doesn't extend to hard drive failures and other catastrophes.) Last edited by CWatkinsNash; 06-16-2011 at 12:41 PM. |
|||||
06-16-2011, 12:47 PM | #23 |
LB's lolz Mutt Minion
Posts: 2,902
Karma: 5700001
Join Date: Jun 2011
Location: Hong Kong now but NYC forever
Device: Kindle3, GalaxyTab, BB Bold9700, BB 8300, Sony Clie, Palm Vx, Palm III
|
@emalvick, CWN: You guys are terrific. Thanks so much for the invaluable tips. Will def start poking around in the incredible calibre - I am sure I will be able to define a workflow/process that works best for me.
<with help from kind folks like you as well> cheers! -les |
06-16-2011, 12:55 PM | #24 | |
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
|
|
06-19-2011, 08:11 PM | #25 | |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Quote:
http://en.wikipedia.org/wiki/Flash_memory and http://en.wikipedia.org/wiki/USB_flash_drive Flash drives present an interface that appears to be a sequential mapping of storage locations, but not only are they not sequential, the the device frequently changes the physical block that a particular address points to. In addition, a flash memory block is much larger than a disk sector and probably much lager than a file system cluster. The remapping is used to implement wear leveling and the block size is inherent to the physical construction of the flash memory. Wear leveling is needed because flash memory cells wear out after a number of writes, a smaller number than they would like you to believe. Whenever a file on flash is changed, the flash device copies the entire block containing the change to a never written block and remaps the address to point to that new block. When the device runs out of never written blocks, it has to erase an entire previously written but no longer used block, then write to that. To change even a single bit in a file, the flash needs to read the entire block that has that bit, change that bit, erase an unused block, write the entire changed block and remap it address. Now think what happens when a software application tries to defragment at the file system cluster level. Fragmentation has no meaning for a flash drive, the block addressing is completely arbitrary. Trying to defragment a flash drive could easily cause every block to be erased and rewritten several times. That is just for the blocks storing the file contents. Just think about the blocks containing the FAT. Those get moved many times in a defragment attempt on a flash drive. Trying to defragment flash not only does not make data access any faster, it also causes the drive to wear out much sooner. Something to think about. Let's say you put 100 books on a new reader, a few at a time, then do not delete or add any books for months as you read the books that are there. Every time you switch to reading a different book or stop reading for a while or make a bookmark or highlight, your reader keeps track of your last page read, marks and notes. Those changes may not change the size of the files, so the file system thinks nothing has moved, yet the flash device has already moved blocks around every time the reader has changed your book state. Presumably, the programmers try to minimize the number of writes to flash, but they have to save your last page read sometime, probably when you or the device exits the book (to open another, or go to the bookshelf, or whatever. So your flash is getting "fragmented" even when the file system thinks it is not. And even when the file system thinks there is lots of fragmentation, there really is no difference in access time. But trying to defragment will increase wear and take a long time. |
|
06-19-2011, 10:39 PM | #26 | |
LB's lolz Mutt Minion
Posts: 2,902
Karma: 5700001
Join Date: Jun 2011
Location: Hong Kong now but NYC forever
Device: Kindle3, GalaxyTab, BB Bold9700, BB 8300, Sony Clie, Palm Vx, Palm III
|
Quote:
^ This. Exactly right in my experience, both as professional geek manager and as decades long computer end-user. Defragging flash drives is a waste of time and can indeed lead to premature failure as j.p.s. so eloquently points out. I see this exact topic coming up on mp3 player forums as well and the answer is the same for that stuff too. No benefit to defragging flash drives so why do it? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question: Multiple files in one zip folder | BMaloney | Library Management | 8 | 03-24-2013 08:53 AM |
Device management really slow when device = connected folder | nickdma | Calibre | 5 | 12-27-2010 02:41 PM |
PRS-600 Slow to Shut Down, Slow to Start | UniquelyMoi | Sony Reader | 10 | 11-29-2010 04:57 PM |
How to save ebook with multiple files in the same folder | vne | Calibre | 34 | 11-22-2010 06:09 PM |
calibre - very slow conversion, very slow on PRS | cremofix | Calibre | 3 | 06-10-2009 04:21 PM |