- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Buffer cache/UFC does not grow
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
05-06-2009 09:57 AM
05-06-2009 09:57 AM
Normally when I copy files over and over the file is cached in the buffer cache and the cache grows.
On my rx2600 the filecache stays at 200MB and my buffer cache is 32k.
The filecache_min=5%
filecache_max=50%
but it does not grow and copying files are always the same speed ?
Am I missing a tuneable to turn on caching or is there a patch to make buffer cache work.
Points will be provided.
Thanks for all help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 10:11 AM
05-06-2009 10:11 AM
Re: Buffer cache/UFC does not grow
Additional data would help here:
1) The filecache stays at 200Mb... out of? [Is this 5%? 50%?] How did you determine this (what tool, exact output preferably)
2) How many files / size of files? (Are the files perhaps just already in the cache in the first place? Is there so much file data that you always push the pages from the first set of files out from the cache by the time you get to the last set?)
3) What's the memory pressure on the rest of the system, anyway? min/max means that the File Cache will try to grow from min to max -- but it does not do so [and will release memory] if there is memory pressure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 10:15 AM
05-06-2009 10:15 AM
Re: Buffer cache/UFC does not grow
I copied the kernel file about 4 or 5 times
timex cp /stand/vmunix /tmp/file1
5 seconds
timex cp /stand/munix /tmp/file2
5 seconds
timex cp /tmp/file1 /tmp/file2
5 seconds
This should be very very very fast
The system is in idle
It has 4 GB of memory 2.5 GB of which is unused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 11:19 AM
05-06-2009 11:19 AM
SolutionIf so -- check the VxFS direct I/O tunable( 'vxtunefs /stand |grep discovered_direct_iosz'). That tunable sets the size that VxFS doesn't use the file cache and instead does unbuffered direct I/O... and since I'm sure your vmunix is more than 256Kb, that's almost certainly over what appears to be the default.
Example of effect:
[{root}3227]$ vxtunefs /tmp |grep discovered_direct_iosz
discovered_direct_iosz = 262144
[{root}3230]$ vxtunefs /stand |grep discovered_direct_io>
discovered_direct_iosz = 262144
[{root}3231]$timex cp /stand/vmunix /tmp/file1;timex cp /stand/vmunix /tmp/file2;timex cp /tmp/file1 /tmp/file2
real 3.34
user 0.00
sys 0.18
real 2.88
user 0.00
sys 0.16
real 5.28
user 0.00
sys 0.06
Setting discovered_direct_iosz to 536870912 (512Mb) gives:
real 0.28
user 0.00
sys 0.22
real 0.26
user 0.00
sys 0.24
real 0.27
user 0.00
sys 0.27
Note, this is after I had already done this once -- my first run, the original copy took 0.93 real / 0.0 / 0.29 sys... and since I haven't really generated any memory pressure, those pages were very likely hanging around the file cache still, hence the copies all used those pages and got the faster times.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 11:39 AM
05-06-2009 11:39 AM
Re: Buffer cache/UFC does not grow
Thank you very very much for this highlight on this parameter.. It must be a new 11.31 parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 05:09 AM
05-07-2009 05:09 AM