Skip to contentSkip to conversation

Is /dev/shm needed?

DISCUSSION RaúlNúñez de Arenas Coronado 2 participants 2 messages Dec 17, 2001

lore
Share & tools
lore
#0 lore raw

Hi Christoph :)

Quoted 4 lines
Quoted 2 lines

Yes, I knew, I meant the maximum size. I don't want half of the
RAM occupied just by a programming mistake ;)))

What I like most about /tmp in tmpfs is the ability to resize on the fly

[...]

Quoted 2 lines

When one of these gets full I can either stop the affending job or increase the limit

That's one of my doubts: if the available RAM decreases then the
buffer (disk) cache will do too. So, if I have /tmp mounted with tmpfs, the contents here will be cached no matter the available RAM, or am I completely wrong?

Ra�l

#1 lore raw

Hi Raúl,

Quoted 7 lines · RaXl NXXez de Arenas Coronado
Quoted 2 lines

When one of these gets full I can either stop the affending job or increase the limit

That's one of my doubts: if the available RAM decreases then the
buffer (disk) cache will do too. So, if I have /tmp mounted with tmpfs, the contents here will be cached no matter the available RAM, or am I completely wrong?

No, it will be swapped out.

Greetings
Christoph