Sponsored Content
Top Forums UNIX for Dummies Questions & Answers reduce buffer cache allocation? Post 302116316 by ilko_partizan on Thursday 3rd of May 2007 05:26:02 AM
Old 05-03-2007
It maybe will help you:
http://scitsc.wlv.ac.uk/cgi-bin/mansec?1+limit

Best regards,
Iliyan Varshilov

Last edited by ilko_partizan; 05-03-2007 at 06:35 AM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

buffer cache information

anybody please tell me how do i get all the information about buffer cache in hp-ux .if anybody familiar with the system call them please specify . i found the extern variables in /sys/buf.h . but that didn't help .:) (2 Replies)
Discussion started by: vish_shan
2 Replies

2. UNIX for Advanced & Expert Users

vm and buffer cache

i have a serious doubht about the assignment of memory in hp-ux system . i read from somewhere that the page allocation in hp-ux is not unified unlike compaq . i wanted to know in hp-ux kernel ,once the pages are assigned for the univarsal buffer cache... (2 Replies)
Discussion started by: vish_shan
2 Replies

3. HP-UX

Buffer Cache

What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies

4. Solaris

Unix Cache / Buffer

Does anyone know how the unix buffer / cache is set in a Solaris based system ? ( I presume it is a kernel based setting ) I notice from SAR -d that my read cache is consistently at 100% but my write cache frequently falls below 65%. What does this mean. Should I be tuning the write cache and... (1 Reply)
Discussion started by: jimthompson
1 Replies

5. Red Hat

buffer cache size

hi everyone, can any one help change the buffer cache size in redhat and suse?? this error i got when i installed oracle 10g and it went well and when i try to mount the database using startup cmd it says too many buffer cache parameters (error code : ora-1034) thnq in advance (0 Replies)
Discussion started by: gsr_kashyap
0 Replies

6. Linux

Buffer size/memory allocation for shell scripts

Hello, I have a small problem some large shell scripts. My scripts do lot of text manipulation with large files. But at some point they stuck. The variables in the script lose their value, it becomes null. I guess this is because of lack of memory. What could be the other reason of... (1 Reply)
Discussion started by: netsecwork
1 Replies

7. Filesystems, Disks and Memory

Buffer Cache Stats from /proc/meminfo

Hi, I am trying to understand the role of buffer cache in block I/O. I am monitoring /proc/meminfo, my question is does the value of 0 for 'buffers', mean that any subsequent disk read issued by a process, would get the data physically from the disk, and not an allocated buffer for the block? ... (1 Reply)
Discussion started by: jake24
1 Replies

8. Red Hat

How do I clear RHEL3 Cache get allocation to RAM?

Hi I am running in Issue that my total system RAM is 8GB. If I run command free -m I get 6.0 Gb RAM free -m total used free shared buffers cached Mem: 7554 5928 1626 0 123 4798 -/+ buffers 1006 ... (3 Replies)
Discussion started by: osamamunir
3 Replies

9. UNIX for Advanced & Expert Users

Deciding whether to get a buffer cache block or inode block

I was reading a book on UNIX internals "The design of the UNIX Operating system." There are two memory structures that are confusing me: 1) Buffer cache 2) Inode cache My questions are 1) Does a process get both buffer cache and Indoe cache allocated when it opens/creates a file? 2) if no,... (1 Reply)
Discussion started by: sreeharshasn
1 Replies

10. Shell Programming and Scripting

bash history buffer cache

Moderators, Please excuse if I am in the wrong section. I have a question that someone may know the answer to. We know that a current bash shell keeps a record of all commands in a buffer. When the shell is terminated this buffer is written out to ~/.bash_history for the user. I know... (2 Replies)
Discussion started by: jaysunn
2 Replies
libcache(3)						   BSD Library Functions Manual 					       libcache(3)

NAME
libcache -- the caching framework SYNOPSIS
#include <cache.h> DESCRIPTION
The libcache framework provides a facility for creating in memory data caches. Each cache is a mutable dictionary that associates values with their keys. A cache limits the number of values it keeps according to available system memory and selects values to evict when the limit is exceeded. Recently and frequently used values are less likely to be selected for eviction. Cache keys and values should be cast as pointers. The framework provides a callback interface for supporting arbitrary types of keys and values and implements callback functions for common types. See cache_callbacks(3) for more information. Clients retrieve a value previously added to a cache using the value's key. When the client gets a value, the cache increments a reference count on the value. When the client finishes with a value retrieved from a cache they must release the value back to the cache. Referenced values are considered in use and will not be evicted. The cache may evict unreferenced values (e.g. to make room for other values or reduce its size). The number of values allowed in a cache at one time is managed by the cache framework. Cache size will grow when the system has available memory and shrink under memory pressure. Libcache is thread-safe. It is not safe to call back into the cache API from cache callback functions. SEE ALSO
cache_create(3), cache_set_and_retain(3) Darwin May 7, 2009 Darwin
All times are GMT -4. The time now is 05:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy