mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to bypass buffer caches?
@ 2003-02-13 17:29 Bruno Diniz de Paula
  2003-02-13 17:37 ` Valdis.Kletnieks
  2003-02-14  8:36 ` Helge Hafting
  0 siblings, 2 replies; 6+ messages in thread
From: Bruno Diniz de Paula @ 2003-02-13 17:29 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

Hi,

I've sent some messages about using O_DIRECT to read files, but I
suppose that is not possible using 2.4 kernel and ext2. So I was
wondering which other alternatives I have to bypass the buffer cache of
the kernel. One option would be create a raw device on top of my disk
partition, but in this case I would have to learn how to map a logical
file name (/var/tmp/myfile) to a set of block disks. Is there any other
solution? Can I disable buffer caches or at least limit their memory
utilization?

Thanks,

Bruno.
-- 
Bruno Diniz de Paula <diniz@cs.rutgers.edu>
Rutgers University

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-14  8:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 17:29 How to bypass buffer caches? Bruno Diniz de Paula
2003-02-13 17:37 ` Valdis.Kletnieks
2003-02-13 17:51   ` Bruno Diniz de Paula
2003-02-13 18:20     ` Valdis.Kletnieks
2003-02-13 23:36       ` Andries Brouwer
2003-02-14  8:36 ` Helge Hafting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®