Translated message

A translation of this page exists in English.

ext4: 大きなディレクトリーエントリーは ls 出力を遅くする

Solution In Progress - Updated -

Issue

  • ls コマンドは初回実行時に時間がかかります。
# time ls /mnt &> /dev/null

real    1m1.896s
user 0m0.002s
sys 0m0.142s
  • dentry がキャッシュされるため、その後の実行ははるかに高速になります。
# time ls /mnt &> /dev/null

real    0m0.048s
user 0m0.001s
sys 0m0.046s

ls でリストされるエントリーはそれほど多くありません

Environment

  • RHEL 6
  • RHEL 7

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