14
Thu, Nov
5 New Articles

Is Your System's Performance the Very Best It Can Be?

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

If you're using the same old techniques from years ago, it's time you re-thought your approach.

 

Are you expecting an all-too-familiar AS/400 performance-tuning article written 15 years ago about disk arms, memory pools, and batch-vs.-interactive queries? Well, those things still matter with IBM i version 7.1, but there's a whole new raft of things you have to think about as well when tuning your system.

Is Your System Sized Properly?

I recall an anonymous company many years ago that installed a new iSeries that was head and shoulders in every level above the old AS/400 they were replacing...except the new iSeries had a low interactive CPW rating (about 75 or so). The AS/400 they were coming from had no interactive governor, and the IBM Business Partner strongly recommended the customer purchase a powerful, yet very expensive, interactive card and six additional 17.54GB disk drives for their new iSeries based on the workload of 200-plus interactive users banging away on dumb terminals. The undersized new system lasted perhaps two months before the customer purchased the interactive card and disk.

 

Trust your Business Partner when sizing your system. Do your homework and ask the tough questions.

              

Are You Still Running Older Systems?

Those of you still running V5R4 or earlier (Come on! Really?) on System i, System i5, or iSeries models can't take advantage of what IBM i on Power Systems has to offer in terms of pure horsepower. The price/performance of Power Systems running IBM i compared to systems from as few as five or six years ago is night and day. If your system's performance is not the very best it can be, perhaps you need to look at upgrading your system.

 

I can do all the tuning and maintenance in the world, but my 2006 Honda CRV starts to shake and shudder when I have the wife, three kids, and a trunk load of stuff heading down the highway. It's getting pretty tight with the car seats, strollers, diaper bags, groceries, and anything else I can wedge into it. It's a great car, but it's just a little past its prime and we're outgrowing it. It's only going to get worse as the kids get a little older. I'm sure I can get a 2012 mini-van with many more features and much more cubic space for a similar—if not way better—cost per month to own than the CRV. Plus, I get a new factory warranty.

 

The same applies to systems because storage and workloads really don't get smaller. The hardware maintenance costs alone on some older systems can probably justify leasing a new Power Systems server that runs circles around the old one.

 

I'll never forget upgrading an AS/400 Model 170 for a customer about 10 years ago. The system was suffering, and the customer was stubborn. They simply didn't want to spend any money, but they were forced to upgrade to keep up with a vendor that would make them pay through the nose for supporting an older OS. After the upgrade, when a morning batch job that usually ran for 30 to 40 minutes completed in about 30 seconds, the customer immediately thought I had messed up the implementation and the job had failed because of what I did. Once they understood the system was fine, they quickly started to realize exactly what they paid for. "We can do this now! We can do that now! We don't have to wait for the system!" It was like seeing shackles literally fall off the organization's technology capabilities.

 

By the way, I'll share with you my mantra:

 

No one—not ever—should have to wait for the system.

              

What Can We Do from a Tuning Perspective?

Because there are differences in workloads for each system and each system can be inherently unique—plus other variables are involved, such as application programming languages and bad coding practices—this article is by no means a catch-all solution.

 

There's a lot to cover, so let's get started. I'll break these tips down into sections and keep them fairly brief. If you're looking for more information, I'll expand on these in later TechTips or you can dig the information out yourself form the links at the end of the article.

 

Memory

Tuning memory pools is important. Set all of yours to *CALC, and let the system manage it. Also, the only way you'll take advantage of Expert Cache is by having your pools set to *CALC. Tuning your pools manually can have advantages in some instances, but more often than not, manual tuning won't offer you much improvement over *CALC. Steering your car with your knees allows you to eat your bagel and drink your coffee, but you may find that it's best to use your hands because you can adapt to changes more quickly and effectively.

 

Backup and Recovery

Use like media for your storage hardware. If you have a 400GB tape drive then use a 400GB tape.

 

Investigate using virtual tape. Writing to disk and then doing a DUPTAP can be much more effective than writing directly to tape. When writing to tape, each file is checked on the tape via a flush buffer to ensure that it's actually been written successfully. When saving to virtual tape, the system doesn't need that double-check because everything is saved to disk. The flush buffer is done only once when the DUPTAP is run. This means your save can be completed much faster, and you'll have the system up and running while the DUPTAP is running.

 

You can also set the DUPTAP to run at a less processor-intensive priority level to minimize the amount of performance impact on the system. DUPTAP is fantastic for a 24x7 shop because it lets you back up what you need and get users onto the system again as soon as possible with minimal performance issues.

 

Communications

Here's an easy one: line speed! If you've been upgrading and migrating for years and years, you may have your line descriptions inheriting old parameters. For instance, you could've had 10/100MB Ethernet cards on your last system and moved to a new system with 1000MB cards, yet the line speed is still set to 100MB. And half duplex.

 

Or do you have a 1000 Mbps Ethernet card plugged into a 10 Mbps switch with a 100 Mbps Ethernet cable? You may laugh, but it happens a lot. Your system is only as strong as its weakest link, so make sure your network is wired optimally.

 

Configure your virtual Ethernet adapters with jumbo frames! Lab testing confirms that 1 Gigabit Ethernet set with jumbo frames has a 12 percent increase over 1 Gigabit Ethernet without jumbo frames enabled.

 

Turn Packet Trainer on for virtual Ethernet lines, and turn it off for physical gigabit Ethernet lines.

 

On your line descriptions, configure your maximum frame size (MAXFRAME) to *LIND.

 

On the TCP/IP interface, accessed via CHGTCPIFC, set maximum transmission unit (MTU) to *LIND.

 

Storage

What does a better job? A smaller quantity of big disk drives or a larger quantity of smaller drives? More arms means better performance on the entire system, from your communication speed to your FTP transfer times. That's a fact.

 

What about RAID? According to some benchmark tests, RAID6 is overwhelmed by workload a little faster than RAID5. It's not a major difference but something to consider if RAID5 satisfies your requirements for protection.

 

IPL

Change the IPL attributes (CHGIPLA) to HDWDIAG = *MIN in order to perform only critical hardware tests. This will speed IPL time and is fine for normal circumstances unless you suspect a hardware problem.

 

Clean up your spooled files on a regular basis. Excess spooled files affect IPL time.

 

Remove old and unused device descriptions. They're checked at IPL.

 

IPL the system every once in a while if you can afford to because it doesn't hurt to do it as a preventive measure. Plus, it's always good to know that your IPL will be clean. I had a customer who purchased a new ERP and ran the system for six months before doing an IPL. It turned out the ERP subsystem wasn't set up in the IBM i startup program.   

For Further Information...

Please check out the following links that expand on what I've talked about here. If you're investigating using any performance-management tools, then be aware that IBM offers a number of them for free.

 

Applications for performance management collection

Investigate data

Performance management resource library

iDoctor Please note the performance papers and articles halfway down the page

PM for Power Systems

IBM Systems Workload Estimator

as/400, os/400, iseries, system i, i5/os, ibm i, power systems, 6.1, 7.1, V7, V6R1

 

 

Steve Pitcher
Steve Pitcher works with iTech Solutions, an IBM Premier Business Partner. He is a specialist in IBM i and IBM Power Systems solutions since 2001. Feel free to contact him directly This email address is being protected from spambots. You need JavaScript enabled to view it..
BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: