System Administration

configuring nfile parameter in 11.23 environment

 
SOLVED
Go to solution
Mike Abasolo
Occasional Advisor

configuring nfile parameter in 11.23 environment

Hi Folks,

Can you please help me/teach me how to do kernel tuning on nfile parameter. I understand that it is a dynamic parameter in 11.23 and doesnt need a reboot to take effect. What are the steps?

[root@server1:/root]
# kctune | grep nfile
nfile 94508 (15*nproc)+2048 Imm (auto disabled)

I am to change the present value to 1011240

Best,
Mike
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: configuring nfile parameter in 11.23 environment

I assume you just change the value:
# kctune nfile=1011240
Dennis Handly
Acclaimed Contributor

Re: configuring nfile parameter in 11.23 environment

Note nfile is auto tuned so you don't really need to change it.
/usr/sbin/kctune -v nfile
Current Value 65536 [Default]
Value at Next Boot 16384 [Default]
Can Change Automatic Tuning Enabled
Gokul Chandola
Trusted Contributor

Re: configuring nfile parameter in 11.23 environment

Dear Mike,
Please read the following document.
http://docs.hp.com/en/939/KCParms/KCparam.Nfile.html

Note please you can use glance to view nfile -option t. Use the 'F' option in glance to see Process Open Files.

** 'lsof' is an excellenet utility for viewing open files.
e.g.
# lsof -p

Regards,
Gokul Chandola
There is always some scope for improvment.
Sandeep_Chaudhary
Trusted Contributor

Re: configuring nfile parameter in 11.23 environment

sam>kernel configuration>configurable parameters>


here u have to select parameter u want to tune
go to "Action"
go to "Modify configurable parameter"


Choose One to Modify Parameter: â Formula/Value: 2048 â â
â â â <*> Specify New Formula/Value â â â
â â â < > Use Formula in Source File â Calculated Value: 2048


here i choose "Specify New Formula/Value" and written Formula value as 2048 so my calculated value also become 2048


forsuxde900 # kmtune|grep nfile
nfile 2048 - 2048
Mike Abasolo
Occasional Advisor

Re: configuring nfile parameter in 11.23 environment

Guys,

Thanks for the responses. I was looking for a way to tuned it in cli and not in sam. I have tuned the parameter by

#/usr/sbin/kctune -B nfile=1011240

no reboot was needed.. :)

Best,
Mike