Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be poor

  1. #11
    Join Date
    Jun 2006
    Beans
    Hidden!

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    The same problem, https://bugzilla.kernel.org/show_bug.cgi?id=36722
    bug in ext4 filesystem, not solved yet.

  2. #12
    Join Date
    Aug 2007
    Beans
    1

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    euroford, did actually you read the bug report? It's unrelated.

  3. #13
    Join Date
    May 2008
    Location
    /dev/null
    Beans
    216
    Distro
    Ubuntu

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    I have came across this error as well:
    EXT4-fs (sdcX): Unaligned AIO/DIO on inode NNN by VirtualBox; performance will be poor.
    But I did not notice any performance degradation.

  4. #14
    Join Date
    Jun 2011
    Beans
    12

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    Hi!

    I had the same problem after moving my VDI directory to an external USB 3.0 hard drive with ext4 fs.
    Actually, I've noticed low speed with my virtual machines. Do you think it would be better to use XFS instead?

  5. #15
    Join Date
    May 2012
    Beans
    1

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p


  6. #16
    Join Date
    Jul 2007
    Beans
    414
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    Quote Originally Posted by mariposil View Post
    I'm still getting this in my logs and I've never seen any real issue with it. Glad to know it's not something more critical.

  7. #17
    Join Date
    May 2009
    Location
    Raleigh, NC
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    I'm seeing this same problem. So how do you realign the VDI hard disk? I don't notice any performance problem but I would like to get rid of this message.
    http://www.stephenoverton.net
    Twitter: @Steve0verton

  8. #18
    Join Date
    Jul 2009
    Location
    Athens, GR
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    have the same on raid-1 sata disks Dell server.
    could it be the host i/o option under the drives selection tab?
    I usually prefer to uncheck.

  9. #19
    Join Date
    Jun 2008
    Beans
    3

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    For what it's worth, here's my further findings on this topic.

    I stumbled upon an IBM devworks article dated 04/2010 that includes some benchmarks and impact scenarios using different filesystems:
    http://www.ibm.com/developerworks/li...-sector-disks/

    The essence, as I understood it:
    • if you're seeing this error on Advanced Format type drives (newer, bigger HDs, using default 4k blocksize), the speed penalty is substantial. You should rethink your partitioning layout and probably move away from 512k block size in linux.
    • If you're (like me) on a HW RAID5 of bigger, newer disks and seeing this error, the penalty for ext4 filesystems on top is somewhere between 5-30%.
    • YMMV with other filesystems etc.


    In my use case (SATA disks in HWRAID5, lvm2 on top, ext4 fs), I decided to live with the daily warning and the (neglecable) performance hit - which I didn't notice yet in real life.

    hth Chris
    Last edited by karlmikaze; October 18th, 2012 at 09:39 AM. Reason: added missing link

  10. #20
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: EXT4-fs (sda6): Unaligned AIO/DIO on inode N by VirtualBox; performance will be p

    Quote Originally Posted by SteveONCSU View Post
    I'm seeing this same problem. So how do you realign the VDI hard disk? I don't notice any performance problem but I would like to get rid of this message.
    I have the same thing, but only with only 1 of my VDIs. I will see if exporting it and importing it fixes it.

    EDIT: It turned out the problem was that VM didn't have "Use host I/O cache" enabled. All good now.
    Last edited by CharlesA; December 18th, 2012 at 04:02 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 2 of 3 FirstFirst 123 LastLast

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
  •