* A possibility of turning off file caching for certain operations
@ 2006-04-27 8:29 Artem Tashkinov
2006-04-27 8:32 ` Arjan van de Ven
0 siblings, 1 reply; 2+ messages in thread
From: Artem Tashkinov @ 2006-04-27 8:29 UTC (permalink / raw)
To: linux-kernel
A nice feature of emptying files and buffer cache was introduced in kernel 2.6.16 but my question is: Is it possible to turn off file caching for certain operations? E.g. I do not want the kernel to cache an ISO image which is being copied from HDD to the LAN or burned to CD.
Best wishes, Artem
--
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A possibility of turning off file caching for certain operations
2006-04-27 8:29 A possibility of turning off file caching for certain operations Artem Tashkinov
@ 2006-04-27 8:32 ` Arjan van de Ven
0 siblings, 0 replies; 2+ messages in thread
From: Arjan van de Ven @ 2006-04-27 8:32 UTC (permalink / raw)
To: Artem Tashkinov; +Cc: linux-kernel
On Thu, 2006-04-27 at 00:29 -0800, Artem Tashkinov wrote:
> A nice feature of emptying files and buffer cache was introduced in kernel 2.6.16 but my question is: Is it possible to turn off file caching for certain operations? E.g. I do not want the kernel to cache an ISO image which is being copied from HDD to the LAN or burned to CD.
it's called O_DIRECT and madvise()
but do you rEALLY REALLY want to disable caching? Caching, even a little
bit, is essential to get ok performance; if you disable caching it's
your responsibility to do all the things needed to get good IO
performance.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-27 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27 8:29 A possibility of turning off file caching for certain operations Artem Tashkinov
2006-04-27 8:32 ` Arjan van de Ven
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®