Re: New shmfs and Debian
Grendel wrote:
> > Anyway, I have never thought of shared memory machines interfacing
> > through a filesystem. Sounds spooky.
> Why not? After all chunks of shared memory are allocated to intercommunicate
> between programs. Think of them as about some kind of two-way pipes. A
> program that requests shared memory, just opens a file which happens to be
> in the shared memory area. Another process opens the same file and they can
> communicate at will. After that both ends close the file and the vm-area is
> deallocated. Besides, now by doing 'df' you see how much of shared memory
> is used :)) - I like that :))
>
Okay, it's the UNIX way. Good ol' System V. Now I guess you know what I'm
about to ask: is it feasible performance-wise?
> > Hmmm, I guess that has nothing to do with multiprocessing? Or is it just
> > some facility for inter-process shared memory? Great, these guys re-invent
> SystemV IPC, that's it. See at the top of ipc/shm.c in the 2.3.99 tree.
I will check it. So no effort is made to get it to the cluster level, right?
--
++++-+++-+++-++-++-++--+---+----+----- --- -- - -
+ Eray "eXa" Ozkural . . . . . .
+ CS, Bilkent University, Ankara ^ . o . .
| mail: erayo@cs.bilkent.edu.tr . ^ . .
Reply to: