Why is posix_fallocate slow on Red Hat Enterprise Linux 5?

Solution Unverified - Updated -

Issue

  • Pre-allocating a large file with posix_fallocate() takes a very long time on Red Hat Enterprise Linux 5 (RHEL5)

Environment

  • Red Hat Enterprise Linux 5
  • kernel prior to kernel-2.6.18-128.el5
  • glibc-2.5-*

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In