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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
I spent a few days looking through the code for this and I will be implementing a fix that should should relieve the performance issue seen when using the '-l' flag.
There is currently no way to avoid scanning through all the devices. A fair amount of investigation,
design, implementation and testing would be needed to change this behavior (assuming it is
possible to do so).
However, lscfg accepts a * (wildcard) as part of a device name.
For example,
lscfg -l hdisk*
would return output on all resources matching that string (string could be "hdisk*", "hdisk1*", etc).
# lscfg -l hdisk*
hdisk3 U789C.001.DQDFF62-P2-D4 SAS Disk Drive (73400 MB)
hdisk2 U789C.001.DQDFF62-P2-D5 SAS Disk Drive (73400 MB)
hdisk0 U789C.001.DQDFF62-P2-D3 SAS Disk Drive (300000 MB)
hdisk1 U789C.001.DQDFF62-P2-D6 SAS Disk Drive (300000 MB)
Though it is possible that this feature has never been tested with such a large number of
devices.
This usage would eliminate the overhead of the scan for each individual device/invocation of
the command since the command would only be run once. It would be the user's responsibility
to parse the returned output.
Does this provide any relief?
Creating a new RFE based on Community RFE #90503 in product IBM AIX.