Results 1 to 4 of 4

Thread: Ext4 fregmentation

  1. #1
    Join Date
    Nov 2007
    Location
    Hungary
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Ext4 fregmentation

    Hello all,

    I am running Karmic Koala, and I have an encrypted home (ext4).
    The fregmentation of the home partition is 14%. I have huge number of mp3 files, when I delete them, fregmentation goes down to 4%. Free space on this partition is 90%.

    I tried moving all the mp3 files to an external hdd, delete from the home, and copy back. I got the exact same fregmentation as before.

    How can I reduce fregmentation? (I need to do that, sometimes I got delays while listening mp3)

  2. #2
    Join Date
    Mar 2006
    Location
    cyberspace
    Beans
    6,198
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Ext4 fregmentation

    Per Wikipedia and other links the defragment tool for ext4 isnt in the mainline kernel yet. There are patches, if you feel up to the task and are willing to risk your data on unproven code. Here is more info on it.
    I trust Microsoft as far as I could comfortably spit a dead rat

    I'm in my third year at a Lutheran seminary!

  3. #3
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ext4 fregmentation

    Quote Originally Posted by potam View Post
    Hello all,

    I am running Karmic Koala, and I have an encrypted home (ext4).
    The fregmentation of the home partition is 14%. I have huge number of mp3 files, when I delete them, fregmentation goes down to 4%. Free space on this partition is 90%.

    I tried moving all the mp3 files to an external hdd, delete from the home, and copy back. I got the exact same fregmentation as before.

    How can I reduce fregmentation? (I need to do that, sometimes I got delays while listening mp3)
    The seek time for a hard disk is much, much less than the buffer time for a typical MP3 player. In other words, when you go to play an MP3 it will put probably 5 seconds into RAM first before starting to play. Hard disk seek times are measured in milliseconds.

    If you're talking about the delay at the beginning before the file starts to play, well heck I have that too. It's not a fragmentation issue.

    If that's your only "symptom", then you've got nothing to worry about.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  4. #4
    Join Date
    Nov 2007
    Location
    Hungary
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ext4 fregmentation

    No, the playing starts normally, and some of the mp3s (I guess the fragmented ones) have delays during the playing.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •