66000+ little Thumbnail files in .cache - fragmentation?

Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 27
Joined: Sun May 01, 2011 7:26 am

66000+ little Thumbnail files in .cache - fragmentation?

Post by Darktrax » Wed Jun 12, 2013 5:46 am

Getting short on space, and looking for where 1.4GB of disk space in my home folder was being used, I find..
~/.cache/thumbnails/normal - more than 66000 of them!
OK - so delete them, but does the space ever get cleaned up to be contiguous ever again?

I am not expert at fragmentation, but I don't think it is something that has gone away, and my instinct is telling me that this cannot be good. Even if there was a scheme that kept the number limited to a reasonable stash of the most recently used, the joy of thumbnail previews has this price in small file creation.

Level 6
Level 6
Posts: 1498
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Re: 66000+ little Thumbnail files in .cache - fragmentation?

Post by Orbmiser » Wed Jun 12, 2013 10:31 am

HTG Explains: Why Linux Doesn’t Need Defragmenting
If fragmentation does occur, the file system will attempt to move the files around to reduce fragmentation in normal use, without the need for a defragmentation utility.
Wouldn't worry about it and do not apply what Windows partition needs vs. Linux partitions.
Apple's vs. Oranges kind of thing.

Level 5
Level 5
Posts: 531
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

Re: 66000+ little Thumbnail files in .cache - fragmentation?

Post by homerscousin » Thu Jun 13, 2013 2:58 pm

Just one little tidbit to add. I noticed when I first installed Linux last year, when I was searching some old cd's/dvd's for wallpapers etc, that all the folders I opened in my file mgr created a thumbnail preview. Great. But all those thumbnails are saved to disk even though I may never pop in that disk again. If I do something like that, searching, it might be a good thing do delete all thumbnails afterwards. Doesn't really take much time to recreate the ones on my hdd, and the new folder is clean again. Yea or Nea.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.

Post Reply

Return to “MATE”