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

From: Michael Schuster <michaelsprivate_at_gmail.com>
Date: Thu, 06 Aug 2026 05:39:22 UTC
On Thu, 6 Aug 2026, 01:24 Bob Bishop, <rb@gid.co.uk> wrote:

> Hi,
>
> On 4 Aug 2026, at 23:45, Friedrich Doku <
> friedrichdoku2030@u.northwestern.edu> 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
> rb@gid.co.uk
>
>
>
>
>