* kernel Unaligned AIO/DIO on inode EXT4-fs Unaligned AIO/DIO on inode by VirtualBox; performance will be poor.
@ 2011-12-23 9:42 Simon Mcnair
2011-12-23 13:00 ` Jan Kara
0 siblings, 1 reply; 3+ messages in thread
From: Simon Mcnair @ 2011-12-23 9:42 UTC (permalink / raw)
To: linux-kernel
Hi all,
Sorry for the Newb question but I can't find much clarification of
what this means via google search. Having seen that it's a generic
kernel error message which just happens to be caused by Virtualbox, I
do not think that Virtualbox is the culprit ?
Dec 20 09:27:24 simon-Vostro1510 kernel: [ 345.592265] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 20 15:27:24 simon-Vostro1510 kernel: [21945.601069] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 21 07:58:48 simon-Vostro1510 kernel: [75161.962664] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 21 13:58:48 simon-Vostro1510 kernel: [96762.223676] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 22 11:25:52 simon-Vostro1510 kernel: [173988.954615] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 22 11:25:52 simon-Vostro1510 kernel: [173988.954615] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
Dec 21 13:58:48 simon-Vostro1510 kernel: [96762.223676] EXT4-fs
(sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
will be poor.
root@simon-Vostro1510:/var/log# parted /dev/sda align-check opt 5
5 aligned
Linux simon-Vostro1510 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21
20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
root@simon-Vostro1510:/home/simon/VirtualBox VMs/Win7 64bit# ls -lah
-rw------- 1 simon simon 116G 2011-12-22 20:12 Win7.vmdk
Anything I can do to stop this message ?, a change in virtual disk
file from vmdk to VDI or ...something ?
regards
Simon McNair
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel Unaligned AIO/DIO on inode EXT4-fs Unaligned AIO/DIO on inode by VirtualBox; performance will be poor.
2011-12-23 9:42 kernel Unaligned AIO/DIO on inode EXT4-fs Unaligned AIO/DIO on inode by VirtualBox; performance will be poor Simon Mcnair
@ 2011-12-23 13:00 ` Jan Kara
2011-12-23 18:23 ` Simon McNair
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kara @ 2011-12-23 13:00 UTC (permalink / raw)
To: Simon Mcnair; +Cc: linux-kernel
Hello,
On Fri 23-12-11 09:42:08, Simon Mcnair wrote:
> Sorry for the Newb question but I can't find much clarification of
> what this means via google search. Having seen that it's a generic
> kernel error message which just happens to be caused by Virtualbox, I
> do not think that Virtualbox is the culprit ?
>
> Dec 20 09:27:24 simon-Vostro1510 kernel: [ 345.592265] EXT4-fs
> (sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
> will be poor.
...
>
> Linux simon-Vostro1510 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21
> 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
>
> root@simon-Vostro1510:/home/simon/VirtualBox VMs/Win7 64bit# ls -lah
> -rw------- 1 simon simon 116G 2011-12-22 20:12 Win7.vmdk
>
> Anything I can do to stop this message ?, a change in virtual disk
> file from vmdk to VDI or ...something ?
Well, kernel complains that VirtualBox is doing unaligned AIO/DIO.
I suppose that it's caused by the fact that the filesystem in Win7.vmdk
image has block size smaller than 4 KB but I'm not really sure how
VirtualBox does IO. You should talk to VirtualBox guys whether you could
tune your installation somehow so that VirtualBox works more efficiently.
Honza
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel Unaligned AIO/DIO on inode EXT4-fs Unaligned AIO/DIO on inode by VirtualBox; performance will be poor.
2011-12-23 13:00 ` Jan Kara
@ 2011-12-23 18:23 ` Simon McNair
0 siblings, 0 replies; 3+ messages in thread
From: Simon McNair @ 2011-12-23 18:23 UTC (permalink / raw)
To: Jan Kara; +Cc: linux-kernel
Hi Jan,
Thank you. I did a search for "virtual box block size" and came up
with the link https://forums.virtualbox.org/viewtopic.php?f=6&t=25336
which happens to be just what I wanted. I would have thought that the
people at Oracle would have stuck to 512kb unless you specified a
different block size via command line but as a newB I'm sure there is
a million reasons why (I thought for databases or SSD'd which seem to
me to be a minority case).
I've gone to a load of trouble to align my hard drive partitions, and
now find I need to align my VM's as well. Major headache.
Thanks again for taking time out to answer what must have seemed a
silly question to you.
regards
Simon
On 23 December 2011 13:00, Jan Kara <jack@suse.cz> wrote:
> Hello,
>
> On Fri 23-12-11 09:42:08, Simon Mcnair wrote:
>> Sorry for the Newb question but I can't find much clarification of
>> what this means via google search. Having seen that it's a generic
>> kernel error message which just happens to be caused by Virtualbox, I
>> do not think that Virtualbox is the culprit ?
>>
>> Dec 20 09:27:24 simon-Vostro1510 kernel: [ 345.592265] EXT4-fs
>> (sda5): Unaligned AIO/DIO on inode 3408273 by VirtualBox; performance
>> will be poor.
> ...
>>
>> Linux simon-Vostro1510 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21
>> 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
>>
>> root@simon-Vostro1510:/home/simon/VirtualBox VMs/Win7 64bit# ls -lah
>> -rw------- 1 simon simon 116G 2011-12-22 20:12 Win7.vmdk
>>
>> Anything I can do to stop this message ?, a change in virtual disk
>> file from vmdk to VDI or ...something ?
> Well, kernel complains that VirtualBox is doing unaligned AIO/DIO.
> I suppose that it's caused by the fact that the filesystem in Win7.vmdk
> image has block size smaller than 4 KB but I'm not really sure how
> VirtualBox does IO. You should talk to VirtualBox guys whether you could
> tune your installation somehow so that VirtualBox works more efficiently.
>
> Honza
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-23 18:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-23 9:42 kernel Unaligned AIO/DIO on inode EXT4-fs Unaligned AIO/DIO on inode by VirtualBox; performance will be poor Simon Mcnair
2011-12-23 13:00 ` Jan Kara
2011-12-23 18:23 ` Simon McNair
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®