Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace AIX
Created by Guest
Created on Oct 29, 2015

Enhance JFS2 defragmentation facility for files and filesystems

Enhance JFS2 defragmentation facility for files and filesystems: alter files in-place, online, to make them contiguous on the filesystem

Inspired by PMR 44659,7TD and other cases from this customer.
Affected applications are writing randomly to large mmap/shmat files, or have a highly random write pattern. When the files are highly fragmented, a relationship is reproducibly established between these write patterns and (a) high IOPS commit cycles and (b) iodone + page-fault-end-processing interrupt waves that grossly affect low-latency application component operation. When the fragmentation is high, the JFS2 IO Gather step is unable to coalesce blocks, and the I/O process becomes inefficient.

Concerted efforts to improve this include reprogramming applications to pre-allocate and pre-initialize blocks using posix_fallocate and write across the file blocks.

There are other variants of this: involving sparse files (PMR 50192,7TD), files with blocks allocated but not initialized, unlinking highly fragmented files (PMR 93866,7TD / DCR #MR0915141358).

In addition to application retooling (and there are many of those), a faster method is needed from the SysAdmin side, to provide relief in Production situations.

Request an enhancement to be able to alter a single file, or multiple files in a filesystem, while in use, to make the files as contiguous as possible. (If Norton Utilities can do it, IBM can too.)

Idea priority Medium
  • Guest
    Reply
    |
    Nov 2, 2017

    .This feature is available in AIX 7.2 Technology Level (TL) 2
    The defragfs command attempts to coalesce free space in the file system in order to increase the file system's contiguous free space. A new option "-f" is added to also coalesce internal fragmentation of all files in the file system.

  • Guest
    Reply
    |
    Mar 4, 2016

    The AIX JFS2 file system does attempt to minimize fragmentation, but it may occur anyway depending on application actions.
    The existing defragfs command only attempts to coalesce free space in the file system. It does not address internal fragmentation in files. Adding the ability to reorganize files to optimize for i/o performance is a worthwhile goal and it will be considered for implementation in a future release. Implementation is dependent on availability of resources.

  • Guest
    Reply
    |
    Oct 30, 2015

    Creating a new RFE based on Community RFE #79068 in product IBM AIX.