Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux で ext4: Unaligned AIO/DIO on inode X by processY: performance will be poor メッセージは何を示していますか?

Solution Verified - Updated -

Issue

  • 以下のメッセージがログに記載されています。

    ext4: Unaligned AIO/DIO on inode 12 by dataserver: performance will be poor.
    
  • SAP インフラストラクチャーを RHEL 6.1 に移行しています。インストール後、2 台あるテストサーバーの両方で、/var/log/messages にエラーが定期的に記録されます。

    # grep align /var/log/messages
    kernel: EXT4-fs (dm-23): Unaligned AIO/DIO on inode 131078 by oracle; performance will be poor.
    kernel: EXT4-fs (dm-20): Unaligned AIO/DIO on inode 131078 by oracle; performance will be poor.
    
  • 1 台のサーバーで、dmesg に以下のエラーメッセージが表示されます。

    EXT4-fs (dm-0): Unaligned AIO/DIO on inode 673075 by java; performance will be poor
    

    これは何を示していますか? これを防ぐにはどうしたら良いですか?

  • /var/log/messages ファイルに、以下が表示されます。

    kernel: EXT4-fs (dm-6): Unaligned AIO/DIO on inode 131370 by java; performance will be poor.
    

    参照される inode は /mdev/local/jboss/jbc7/node2/data/hornetq/journal/hornetq-data-1.hq ファイルです。
    パフォーマンスは下がらないようにしたいです。この問題はどのように解決することができますか?

Environment

  • Red Hat Enterprise Linux 5.6 以降
  • Red Hat Enterprise Linux 6.0 以降
  • Ext4 ファイルシステム
    • アプリケーションが、非同期のダイレクト I/O (AIO) でファイルに書き込む必要があります。
    • このため、整理されていない書き込みが行われます (つまり、ファイルシステムブロックの一部に書き込みが行われます)。
    • 書き込みは、ディスクブロックの割り当てや、記録されていないエクステントの変換、またはその両方を必要とします。
  • ブロック整理された AIO 書き込みがこの問題の原因であることを確実に示すアプリケーションはありません。
    • 現在、この問題の原因と見られているアプリケーションには、その他の Java アプリケーション、HornetQ、SAP、MRG Messaging (qpid)、qemu-kvm などが含まれます。

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content