- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tuning HP-UX 11.00 Kernel Parameters
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
Discussions
Discussions
Forums
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
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
тАО12-03-2004 04:54 PM
тАО12-03-2004 04:54 PM
I just performed kernel tuning on the following parameters,
ksh > kmtune -s nproc=maxusers*3+64
ksh > kmtune -s bufpages=0
ksh > kmtune -s dbc_max_pct=20
ksh > kmtune -s maxfiles=120
ksh > kmtune -s maxfiles_lim=2048
ksh > kmtune -s nfile=5*nproc+2048
ksh > kmtune -s nflocks=nproc
ksh > kmtune -s ninode=3*nproc+2048
ksh > kmtune -s msgtql=nproc
ksh > kmtune -s msgmnb=65535
ksh > kmtune -s msgmni=nproc
ksh > kmtune -s msgssz=128
ksh > kmtune -s msgseg=msgtql*4
ksh > kmtune -s semmni=nproc
ksh > kmtune -s semmns=semmni*2
ksh > kmtune -s semmnu=semmni/2
ksh > kmtune -s semume=64
ksh > kmtune -s shmmax=0x08000000
ksh > kmtune -s shmmni=200
ksh > kmtune -s shmseg=32
ksh > kmtune -s maxvgs=20
ksh > kmtune -s nswapdev=25
ksh > kmtune -s swapmem_on=0
ksh > kmtune -s unlockable_mem=maxusers*10
ksh > kmtune -s maxuprc=nproc*8/10
ksh > kmtune -s timeslice=1
ksh > kmtune -s npty=60
ksh > kmtune -s nstrtel=maxusers
Issue: While performing the command,
ksh > mk_kernel -o /stand/vmunix
A lot of error messages were reported as mentioned below.
Compiling /stand/build/conf.c...
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 97: error 1588: "nproc" undefined.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 97: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 102: error 1584: Inconsistent type declaration: "nproc".
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 102: error 1588: "maxusers" undefined.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 102: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 113: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 144: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 150: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 223: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 293: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 294: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 295: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 297: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 300: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 302: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 303: error 1588: "msgtql" undefined.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 303: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 332: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 333: error 1588: "semmni" undefined.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 333: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 334: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 347: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 350: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 351: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 352: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 353: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 405: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 428: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 429: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 515: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 515: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 516: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 516: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 619: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 620: error 1502: Array size must be a constant expression.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 623: error 1521: Incorrect initialization.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 624: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 624: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 624: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: "/usr/conf/space.h.d/core-hpux.h", line 624: error 1552: First expression of ?: must be arithmetic.
(Bundled) cc: Panic 2161: Maximum allowed number of errors exceeded.
*** Error exit code 1
Stop.
config: make did an exit(1)
/usr/conf/space.h.d/core-hpux.h
Query: Is there something wrong starting from my first kmtune -s nproc=maxusers*3+64?
The original value nproc=(20+8*MAXUSERS)
Need forumers advise/cliff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 05:21 PM
тАО12-03-2004 05:21 PM
Re: Tuning HP-UX 11.00 Kernel Parameters
use capital variables NPROC,MAXUSERS etc in
your tunable set (kmtune -s) commands. I think
they are predefined C MACROs, which get
modified after kmtune is executed.
HTH -vishwas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 05:39 PM
тАО12-03-2004 05:39 PM
Re: Tuning HP-UX 11.00 Kernel Parameters
Using capital does not seem to work....
ksh > kmtune -s NPROC=MAXUSERS*3+64
kmtune: Cannot identify parameter name NPROC
SGP rootunix @ devdfs04 | /stand >
ksh > kmtune -l -q NPROC
kmtune: Cannot identify parameter name NPROC
Please advise/thanks cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 05:42 PM
тАО12-03-2004 05:42 PM
SolutionSorry for being not very clear ...
I meant the following..
# kmtune -s nproc=MAXUSERS*3+64
# kmtune -s msgmni=NPROC
and not the following..
>> ksh > kmtune -s NPROC=MAXUSERS*3+64
>> kmtune: Cannot identify parameter name NPROC
HTH - vishwas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 06:22 PM
тАО12-03-2004 06:22 PM
Re: Tuning HP-UX 11.00 Kernel Parameters
It works....cheers cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 03:42 AM
тАО12-06-2004 03:42 AM
Re: Tuning HP-UX 11.00 Kernel Parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 03:46 AM
тАО12-06-2004 03:46 AM
Re: Tuning HP-UX 11.00 Kernel Parameters
Immediately (if not sooner) set timeslice back to 10. Your setting will lead to context switching (and very little else) when the box sees any significant load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 03:51 AM
тАО12-06-2004 03:51 AM
Re: Tuning HP-UX 11.00 Kernel Parameters
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&search.y=8&search.x=28&mode=id&admit=-682735245+1102350851284+28353475&searchCrit=allwords
Then do what A. Clay says immediately.
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
тАО12-31-2004 06:02 PM
тАО12-31-2004 06:02 PM
Re: Tuning HP-UX 11.00 Kernel Parameters
Dun seem to be able to retrieve the document as advised by Steven....
Thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2005 02:54 AM
тАО01-01-2005 02:54 AM
Re: Tuning HP-UX 11.00 Kernel Parameters
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000073344890
It goes to the same doc.
HTH,
Ross