[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


IBM BRMS on system-i (i5) initial loading, performance

Posted on 2009-05-13
Medium Priority
Last Modified: 2013-12-06
if  the command "GO BRMS"  is executed  first time a day, it takes 1 to 3 minutes for execution (disply BRMS main menu).
Afterwards respond time is "normal",  within seconds.
If repeated later again (after 1h or more)  it takes again minutes.
This situation  is not Job-depending and not a configuration mistake.
 May be, the bad performance is caused by  "first loading  BRMS objects in main storage" (explanation from IBM Support), but i need a practical solution to speed up first, initial BRMS commands.

Question by:asdf13
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 35

Expert Comment

by:Gary Patterson
ID: 24378129
Well, this kind of slowdown can be caused by several things, and one of them is certainly "first load" time, especially if you are running in a memory-restricted system, or on a system that has very high CPU and/or disk arm utilization.

First, run the GO BRMS command in a freshly-signed on job, and check the job log for messages.  Locks, errors, damaged objects, communications errors, and other problems can create slowdowns like you describe, too.  Job log messages may give you a clue as to why.

Is it only BRMS that experiences this slow load time, or do other applications take a long time to load, too?  
Is this a new problem, or has it always behaved this way?

If you can identify the objects that are taking a long time to load, you can force them into memory using the SETOBJACC command.  This causes the objects to be loaded into memory.  Keeping an object from being paged out is trickier - you may need to create a private memory pool for the BRMS objects and for jobs that need to access them.

Here's an IBM article on the SETOBJACC comand:


This is a symptom of a system that is very short on memory or has very high  disk utilization (or both) for it's workload, or is improperly tuned.  Bear in mind that setting aside memory for BRMS objects in this fashion may exacerbate an existing problem, and may cause performance issues for other functions.

Sign on to a fresh session in the morning, and print out the results of a WRKSYSSTS command.

Next, in the samej job, use the DSPJOB command (or SysReq 3) to display programs on the call stack, open files, and objects locked to the job.  Also use the DMPJOB command to dump the job.  Do this before and after executing the GO BRMS command and compare the two sets of information to identify BRMS objects that have been loaded.

Now do another WRKSYSSTS and see if memory pool sizes have changed drastically.  This could be one reason for the slowdown.

Once you have identified likely objects, do a DSPOBJD to look at object sizes, and experiment with loading the largest object or objects first.

Feel free to post the results of your troubleshooting if you need more help resolving this issue.  If you do, please post your OS version and BRMS version.

- Gary Patterson

Author Comment

ID: 24379914
hello Garry Patterson,
thanks a lot for your explanation and advices. According your suggestion, i have checked pool sizes
before and after BRMS activation (i.g. GO BRMS) and found, that machine pool size enlarged after
execution of "GO BRMS".

 System    Pool-    Reserv.    Max.  -DB-Seiten--  --Nicht-DB--
  Pool   Größe(M)  Größe (M)  Aktiv  fehl.  geles  fehl.  geles
    1     1080,39    236,75   +++++    0,0    0,0    0,4    0,7
    2     4595,89     39,05     395    9,7  187,7   28,3   77,9
    3      493,99      0,00      52    0,0    0,0    1,0    1,6
    4     4633,77      <.01     749    1,3    3,6    6,0   15,0
 System    Pool-    Reserv.    Max.  -DB-Seiten--  --Nicht-DB--
  Pool   Größe(M)  Größe (M)  Aktiv  fehl.  geles  fehl.  geles
    1     1378,88    236,85   +++++    0,0    0,0    0,0    0,0
    2     3334,18     39,04     395    0,0    0,0    0,0   10,5
    3      344,96      0,00      52    0,0    0,0    0,0    0,0
    4     5746,02      0,03     749    1,5    7,0    0,0    0,5
also this procedures arised,  during GO BRMS execution:
 Thread:   000002D3
 Art   Programm                 Anweisung         Prozedur
        Q1ACOND    QBRM                            _CXX_PEP__Fv
       Q1ACOND    QBRM          30                main
       Q1AROUT    QBRM                            _CXX_PEP__Fv
       Q1AROUT    QBRM          94                main
       Q1AOL      QBRM          208               q1aConditionExitMain
       Q1AAU      QBRM          102               checkFunctionUsage__25q1aFu >
       QSYFNUSG   QSYS          44                QsyCheckUserFunctionUsage
       QSYUSGUTL  QSYS          14                qsy_check_func_usage__FPvPc >
       QSYUSGUTL  QSYS          35                sy_check_usage_for_user__FP >
       QSYUSGUTL  QSYS          10                qsy_get_auth_users__FPP16_M >
       QSYMIUTLS  QSYS          8                 qsy_matauu__FP16_MAUU_Templ >



LVL 35

Expert Comment

by:Gary Patterson
ID: 24380541
Assuming that GO BRMS is the cause (you'd need to repeat this exercise several times and see if the same amount of memory moves each time), Pool 1 and Pool 4 look undersized for this operation, at least as your system is currently configured.

Looks like autotune moved 300MB from pools 2&3 to the machine pool, and over a gig (!) into pool 4.  That seems like a lot for a menu.  I haven't noticed this behavior before when starting BRMS, but I'm not a daily BRMS user.

In order to move all this memory, the OS has to page a bunch of data out to disk to free up memory, and then resize the pools, and THEN load the BRMS objects from disk.  That's a lot of work.  If disk drives are slow or busy, or both, this can take some time.  High CPU utilization can also slow down the paging and resizing process.

  • Is it only BRMS that experiences this slow load time, or do other applications take a long time to load, too?  
  • Is this a new problem, or has BRMS always behaved this way?
  • What OS version are you running on the AS/400?
  • What version of BRMS are you running?
  • **** Are you current on your OS and BRMS PTFs? *****
  • Check the sizes of the various BRMS objects and see if you can account for the gig that moved to pool 4.
If BRMS really needs this much memory, then you may be stuck with poor BRMS startup performance unless you are willing to either add more memory, or re-tune just to improve BRMS performance.  Depending on your version, you may want to try using the Windows-based Operations Navigator BRMS Plug-in instead of the green-screen menu to see if it performs better in your environment.

I can't make specific tuning recommendations without doing performance analysis first, since every machine runs different workload is different.  If you will tell me your OS version, I can point you toward some system performance tuning resources specific to your version.

- Gary Patterson

Author Comment

ID: 24384189
additional requested  info :

- only BRMS "load time"  is focused,  critisised by Sysadmin.
- affected are all l BRMS commands (also dsplogbrm, wrkmedbr, if it is the first BRMS command  
  execution within a  timeframe (about 1 h)  
- OS/400 Version V5R4M0 ( with newest PTF level )
- same situation, problem on serveral systems (about 10).  
LVL 35

Accepted Solution

Gary Patterson earned 2000 total points
ID: 24387507
Assuming this isn't a BRMS or OS bug, the bottom line is that if you want BRMS to load fast at all times, you'll probably need to reserve memory and/or preload objects.  This may have a significant negative impact on other applications and users, so proceed with caution.  The basic steps are outlined in the IBM Tech Support document in my first post, above:
  1. Create a dedicated subsystem for your BRMS user(s),  
  2. Create a private memory pool for your new subsystem.  Looks like it may need to be a bit over 1 gigabyte based on your quick experiment.  You will need to experiment to find the ideal size.
  3. Configure a workstation entry (or entries) in your new subsystem for you BRMS users.
  4. Identify the large BRMS objects and preload them using SETOBJACC.
You may also need to increase the minimum machine pool size in order to achieve optimim performance.

Setting aside 10-15% of a production system's memory to make things faster for one user may not be the best use of resources.  You may want to consider using an alternate interface (BRMS via Operations Navigator), re-tuning to accomodate this workload, or adding memory.

- Gary Patterson


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question