bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd: fadvise?


From: Paul Eggert
Subject: Re: dd: fadvise?
Date: Tue, 10 Oct 2006 22:26:55 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

"Leroy van Logchem" <address@hidden> writes:

> +         posix_fadvise(STDOUT_FILENO,0,0,POSIX_FADV_DONTNEED);
>
> I'am doing so in order to benchmark writing files several times the
> physical memory without invalidating all imported cached pages.

That sounds like such a specialized need that it probably
doesn't need to go into a general-purpose utility like 'dd'.
I can't imagine why an ordinary user would want to use an
I/O buffer size that is bigger than physical memory.  It
kind of defeats the purpose of having a buffer at all, no?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]