Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

HP Unix system file buffer issue

jiangzx
Occasional Contributor

HP Unix system file buffer issue

I have some questions about system file buffer, I manage a sybase oltp system, I use the raw device as datafile, because database application handle raw device directly, so I changed bufpages and nbuf to 0 and reduced the dbc_max_pct to a lower value than default, but after I reboot my system and found that the memory used by the file buffer is increased gradully and at last it stay in the value equal to dbc_max_pct*total physical memory and remain the same value, in my opinion, this value will increase or reduce depend on the system file buffer usages. Why?
2 REPLIES
Bill Hassell
Honored Contributor

Re: HP Unix system file buffer issue

As long as there is enough memory for processes and shared memory structures to remain resident (no paging) then the buffer cache will always continue to increase. Every file that is read or written (including all those used during login, or configuration) will be run through the buffer cache. The cache will shrink only when processes need more memory than is available. There is no way for the buffer cache to know which files will no longer be needed so it always grows on a busy system.


Bill Hassell, sysadmin
jiangzx
Occasional Contributor

Re: HP Unix system file buffer issue

tks!