- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Slow response on new install. Tuning help.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2003 04:28 PM
10-11-2003 04:28 PM
New to this form, and little HP-UX experience, so looking for some hand holding on a new install.
We purchased a HP-UX11 box for a DB app. I had the VAR do the install, and tuning. I dont have a very good feeling about some of the kernel parms he set, and the performance of the box is very poor.
Currently, ~15 users are accessing one app on this box, and seeing normal response for most of the time. Dramatic slowdowns occur several times per day. I cannot run sam while users are attached, or the users app comes to a complete standstill. Other slowdowns occur when a user performs one of several 'file builds' from the db app.
So thats the background. What I have found thus far;
VAR set kernel parms for memory;
Dbc_max=80
Dbc_min=5
Nbuf=5256
Bufpages=21024
swaprm_on=1
Q1) From everything I can glean from this forum, we are NOT using dbc_max/min as nbuf and bufpages are set. I am trying to set these to 0 now, and change dbc_max to 30 to start. I have seen recommendations in the 10-15 range, but small steps. Is this right?
Q2) vhand is running in the 4-5% range. High? This is symptom of memory starvation?
Q3) And please help on this one, caus it creeps me out. I have changed the kernel parms, rebuilt the kernel, and sam sits FOREVER. What am I doing wrong.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2003 04:55 PM
10-11-2003 04:55 PM
Re: Slow response on new install. Tuning help.
Also keep a copy of the current kernal parameters and apply the tuned templates (OLTP Database base setver), i am sure you'll get a better performance that what u are getting currently and then tune other parameters desired, like nfile, max_users, nproc etc..
Use sar to see the disk io, memory bottle neck.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2003 07:41 PM
10-11-2003 07:41 PM
Re: Slow response on new install. Tuning help.
Thanks. I was looking at the templates.
I was just trying the dbc_max/min, and get this error from sam when building kernel.
UNEXPECTED EXIT: process LANG=C LC_ALL=C /usr/sam/lbin/samx -C -p
13485 -s kc_sa_param /usr/sam/lib//kc.ui exited with a non-zero exit
status.
sh: 13593 Bus error(coredump)
Got any thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2003 07:53 PM
10-11-2003 07:53 PM
Solutioncd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
vi /stand/build/system
mk_kernel -s /stand/build/system
kmupdate
cp /stand/system /stand/system_old
cp /stand/build/system /stand/system
cd /
shutdown -r now
####################################333
And attach the results of these commands after making changes. Try to the normal state of the server. Idle won't help.
sar -u 5 5
sar -v 5 5
sar -d 5 5
sar -b 5 5
vmstat 5 5
swapinfo -tam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2003 07:54 PM
10-11-2003 07:54 PM
Re: Slow response on new install. Tuning help.
cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
vi /stand/build/system
mk_kernel -s /stand/build/system
kmupdate
cp /stand/system /stand/system_old
cp /stand/build/system /stand/system
cd /
shutdown -r now
####################################333
And attach the results of these commands after making changes. Try to use the normal state of the server. Idle won't help.
sar -u 5 5
sar -v 5 5
sar -d 5 5
sar -b 5 5
vmstat 5 5
swapinfo -tam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 04:29 AM
10-12-2003 04:29 AM
Re: Slow response on new install. Tuning help.
Did as you suggested. When I vi /stand/build/system, its empty. Should I put the kernel changed in this file? I see a file system.SAM that HAS my changes plus several others.
Getting the sam patch now, but I would like to try the manual method, as sam and I are not getting along.
Thanks
TBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 04:45 AM
10-12-2003 04:45 AM
Re: Slow response on new install. Tuning help.
Sorry, this can't be. Please rerun:
cd /stand/build
/usr/lbin/sysadm/system_prep -s /stand/build/system
You should see kernel values in the top half of the system file and device drivers in the bottom.
With great care, try this command for an example of the system file:
# more /stand/system
All you're doing is making a copy of this with 'system_prep'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 05:46 AM
10-12-2003 05:46 AM
Re: Slow response on new install. Tuning help.
OK, I made the changes in the system file, ran mk_kernel -s /stand/build/system and get this;
Generating module: krm...
Compiling conf.c...
Loading the kernel...
Its been sitting for ~15 min. Should it be done? What if it doesn't complete?
Just as a note, from another fourm post hint, deleted system.SAM and changed parms in sam again. It recreated the exact same file with the same results. I cant seem to find the sam patch.
Thanks again...
TBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 06:03 AM
10-12-2003 06:03 AM
Re: Slow response on new install. Tuning help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 06:47 AM
10-12-2003 06:47 AM
Re: Slow response on new install. Tuning help.
A cold install takes maybe two hours.
NOTE: Use these file system sizes for a 9 gb or 18 gb disk, but go smaller for a 4 gb boot disk. You can extend later.
To install from a CDROM verify that you have the right cd, 'core', and insert.
You can't do anything at the ISL so recycle the power and interrupt the boot up when the 10 second option is displayed.
This will bring you to the bch or boot console handler.
From here you want to find the core o/s install so run 'sea ipl' or just 'sea'.
'sea' will display every device attached while 'sea ipl' will display only bootable devices, like the cdrom.
You'll get a report with P0, P1... in the left most side of the display, reading across you'll note the HW address and a description of the device.
'bo P1' or whatever corresponds to the cdrom, or 'bo HW PATH'. I.e., 'bo 10/5/2.0'.
Chose the installation option when the menu is dsiplayed and then select 'media only' and 'advanced installation' options.
At this point you'll be filling in data fields. You'll need hostname, ip, gateway ip, ntp ip, nis and dns ip, as well as the file system sizes for the core O/S. This depends on the size of your disk so I'll give you file system sizes for a 4gb disk.
/dev/vg00/lvol1 - /stand - 256 mb
/dev/vg00/lvol2 - swap - 2048 mb
/dev/vg00/lvol3 - / - 256 mb
/dev/vg00/lvol4 - home - 200 mb
/dev/vg00/lvol5 - /opt - 1024 mb
/dev/vg00/lvol6 - /tmp - 512 mb
/dev/vg00/lvol7 - /usr - 1024 mb
/dev/vg00/lvol8 - /var - 1536 mb
256 + 2048 + 256 + 200 + 1024 + 512 + 1024 + 1536 = 6856 mb or 6.9 gb.
This will work on a 9 gb boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 06:49 AM
10-12-2003 06:49 AM
Re: Slow response on new install. Tuning help.
Should read...
This depends on the size of your disk so I'll give you file system sizes for a 9 gb disk..."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 07:18 AM
10-12-2003 07:18 AM
Re: Slow response on new install. Tuning help.
At least as fast as a speeding locomotive, Ill have to wait for my users to see if it makes it to superman speed.
Michael, Rajeev. THANKS!
I will run sar â x 5 5 tomorrow when I have a load on the server, and post.
OK, now some forum questions. How does the point system work on this forum? How about carriage returns? I put them in, but donâ t see them in MY posts. Michaels are readable, but I look like a mess.
WOWWOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 07:20 AM
10-12-2003 07:20 AM
Re: Slow response on new install. Tuning help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 09:48 AM
10-12-2003 09:48 AM
Re: Slow response on new install. Tuning help.
If you've got error's post them. Exactly. But one and one half hour's for a new kernel on a newly install O/S is a big, big problem.
What happens when new patches are release every 6 months?
I'd be willing to bet that your server is in an 'UNKNOWN STATE' and unsupportable by HP.
Think about that before blowing off a re-install.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 10:09 AM
10-12-2003 10:09 AM
Re: Slow response on new install. Tuning help.
As mentioned, there are very big problems with SAM and kernel building that never happen in a normal system install.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 02:06 PM
10-12-2003 02:06 PM
Re: Slow response on new install. Tuning help.
http://www1.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&mode=id&admit=-682735245+1066010574084+28353475&searchCrit=allwords&printable=true
dbc_max_pct and dbc_min_pct should be low figures and close together. It is very expensive in terms of cpu to change that setting. Mine are 5 and 7.
This system seems messed up enough to require a new cold install as Bill recommends.
One thing I noticed on a recent cold install was SD-UX ran like a one legged dog. To fix it, I downloaded and installed all SD-UX patches I could get my hands on. That was after cold install, June 2003 Service Pack, HWE and the big bundle that comes on the Core OS CD.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2003 04:05 PM
10-12-2003 04:05 PM
Re: Slow response on new install. Tuning help.
I should hope that it takes less than 1.5 hrs to build a FILE on my BRAND SPANKING NEW box. I think I got a bad installer. I dont want to bash them (him) too bad till I have a bit more info under my belt. I can tell you I have had this happen to me on NetWare systems I have installed just to be vindicated later. So, Ill just say, I hope there (his) next victim has your help.
Bill,
Thanks for joining the conversation.
Thanks for the link. I will patch. I would wish for a normal install now. Just goes to show, dont ever trust, learn it your self.
Will you and Michael help with the fresh install? Never done it, dont know where to start.
Steven,
Read the doc. That was part of my basis for blame on the bad install. Just dont get how this tech could have come up with some of the settings. He must have had a thought. He definitely has more experience with the OS than I (paid $200/hr). It took no more than a couple searches on this forum, four people to confirm, and my users SCREAMING their heads off to find the correct settings. Im working my way down to your (and everyone else on this forum) 5 â 10 suggestion.
So to all. My next steps are.
1)Watch performance through next week.
2)Research (mostly on the reinstall) (please help)
3)Reinstall over next weekend.
P.S.
Michael. No visible errors. Where should I look?
P.P.S
Not kidding about the
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2003 12:05 AM
10-13-2003 12:05 AM
Re: Slow response on new install. Tuning help.
Begin your reinstall and when a question pops up post it.
Reemeber these keys on the keyboard for control:
tab
arrows
enter / return
Note 1: When installing in the TUI if you miss a data field just keep tabbing until you circle around back to it.
Note 2: When entering in the file system sizes use the 'MODIFY' option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2003 12:23 AM
10-13-2003 12:23 AM
Re: Slow response on new install. Tuning help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2003 12:57 AM
10-13-2003 12:57 AM
Re: Slow response on new install. Tuning help.
The SEA command will show you several P codes as in P0 P1 P2 ... Use the appropriate P-number to select the CD and boot from it:
boot p3
and say NO to interact with IPL. After a minute or two, you'll get the main menu. Select the Interactive install option (tab key and then spacebar to select), then OK. Using the arrow keys, tab key and spacebar, got through each of the menus tabs, especially System setup and Disk layout. Once completed, the rest is automatic. (side note: blhconsulting at mindspring.com)
Bill's guide to formatting in the forums:
The secret to providing a blank line is: space return. Just a
And same for scripts...leading spaces are always deleted.
For complex scripts where spacing is important, always attach a file. NEVER attach .doc .ppt .xls or other specialized files. That's where Notepad is VERY useful.
Note also that text attachments always have a few leading spaces on line 1 so make line 1 a single space.
Bill Hassell, sysadmin