[LAU] Mounting /tmp to tmpfs

Paul Davis paul at linuxaudiosystems.com
Wed Feb 9 11:56:19 UTC 2011


On Wed, Feb 9, 2011 at 3:37 AM, Jeremy Jongepier <jeremy at autostatic.com> wrote:
> On 02/08/2011 11:45 PM, Paul Davis wrote:
>> no, but putting JACK's tmpdir on a tmpfs filesystem does.
>>
>> current versions of JACK use /dev/shm as the location for this, no
>> /tmp (this was done years ago).
>>
>> --p
>
> Thanks for the reply Paul. But what about other applications that use
> /tmp? Could they benefit from a /tmp directory mounted on a tmpfs
> filesystem?

programs that use the filesystem from a realtime audio thread are
incorrectly written.
a system that allows disk i/o to interfere with a realtime audio
thread is badly configured.

ergo, i would conclude that the only realtime audio programs that can
benefit from this sort of thing are either badly written or running on
a misconfigured system.

JACK itself isn't doing any file I/O - it just happens to use an
inter-process communication system that uses identifiers that are
related to the filesystem.


More information about the Linux-audio-user mailing list