Re: How can I bypass the buffer cache or disable it for a process?

Michael Schuster <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CADqw_gKZHSeJOW6PKfuSe7ZHitCtiBEQZ8G-hHbQDsu-eBAowA@mail.gmail.com>
On Thu, 6 Aug 2026, 01:24 Bob Bishop, <[email protected]> wrote:

> Hi,
>
> On 4 Aug 2026, at 23:45, Friedrich Doku <
> [email protected]> wrote:
>
> Hello,
>
> Is there a way to reliably run a single userspace process such that all of
> its I/O (reads and writes) bypasses the UFS buffer cache?
>
>
> The short answer is probably “no”.
>

Doesn't FreeBSD support direct I/O?

-- Michael


> What are you trying to achieve exactly?
>
> Best,
> Friedrich
>
>
> --
> Bob Bishop
> [email protected]
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.