File Buffering Questions ...

Ben Duncan bns
Wed Jun 14 06:36:40 PDT 2006


Ohhh .. developing an ICE CREAM headache from writing my MVISAM database.
It's too bad some of the more advance stuff is making sense now, 'cause
I cannot plead ignorance on mistakes.

Anway, thought I would run this past the REAL experts.

When dealing with multiple open/access on the SAME file from within MVISAM module,
should I share the already allocated cache/buffers for that file, or would it
be more prudent to allocate each file descriptor it's own set of buffers?

Each fd will have a minimum cache of 4 - 4K buffers (A node is 4K bytes). There is
a place in the Super Block to specify "Buffering" for additional allocation of
buffers.

Thanks ...

-- 
Ben Duncan   - Business Network Solutions, Inc. 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
        - Hanlon's Razor




More information about the Linux-users mailing list