10-17-2011
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, then when does a process decide that it requires a buffer cache or/and inode cache
pls provide any pointers regarding the information on the above questions.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
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
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. Solaris
hiho,
i would like to show my apprentices the auto-defrag/perform mechanism from UFS. new FS, creating new directories, each directory get its own cylinder on the disk. hmm....
they want proofs.....
*embarrassing*
i couldn't remember how to look on which block the inode is linked....
so,... (4 Replies)
Discussion started by: pressy
4 Replies
4. Solaris
Hi,
I want to find out a particular disk block belong to which file. in solaris 2.8
Can anyone help.
Thanks and Regards
Bala (1 Reply)
Discussion started by: Balamurugan
1 Replies
5. HP-UX
What is the "Buffer Cache" used for? (1 Reply)
Discussion started by: ALTRUNVRSOFLN
1 Replies
6. Solaris
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
7. Red Hat
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
8. UNIX for Dummies Questions & Answers
Hi,
Is it possible to reduce the amount of buffer cache in the memory allocation of a Unix Server? If so where can I do that?
Also, does buffer cache count as tied up memory, or will it decrease as more memory is requested by other programs. (1 Reply)
Discussion started by: dehuang83
1 Replies
9. Filesystems, Disks and Memory
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
10. Shell Programming and Scripting
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
LEARN ABOUT HPUX
dbc_max_pct
dbc_max_pct(5) OBSOLETED dbc_max_pct(5)
NAME
dbc_max_pct, dbc_min_pct, bufcache_max_pct, bufpages, nbuf - OBSOLETED kernel tunable parameter
DESCRIPTION
These tunables have been obsoleted and removed. Do not make any changes to these tunables, as they have no effect on the kernel.
Use the file cache tunables and (see filecache_max(5)).
In previous releases, the tunables and were used to set limits to the dynamic buffer cache, and the tunables and were used for tuning the
buffer cache when a static cache was desired.
This release of HP-UX offers improved file caching technology and improved physical memory control associated to caching file I/O data.
The number of tunable parameters used to control file caching memory usage is reduced from five to two, and previous usability issues are
addressed.
Restrictions on Changing
These tunables should not be modified. Attempting to tune any of the obsolete buffer cache tunables, or results in an error.
Use the tunables and to set limits on the file cache. Note that, on a any given system, the optimum values of these two new tunables are
not necessarily equivalent to the optimum values of the obsolete buffer cache tunable values in the older systems. You should first deter-
mine if the new default values yield acceptable performance on your system, before attempting to change the values of the new file cache
tunables.
AUTHOR
and were developed by HP.
SEE ALSO
filecache_max(5).
Kernel Tunable Parameter dbc_max_pct(5)