Re: [QUESTION] Filesystem like structure in RAM w/o using filesystem (not ramdisk)

From: Bernd Eckenfels
Date: Thu Dec 01 2005 - 07:56:42 EST


In article <438EE256.6040403@xxxxxxxxxxx> you wrote:
> As I have understood the accessing ramdisk goes through the same kernel
> path which is meant for accessing slow block device (i_nodes caching etc.).
> Is there any other common way (some API above shared memory?) to
> create/open/read/write globally accessible hierarchical datablocks in RAM?

SYSV IPC Shared Memory?

> Could it be possibly faster than ramdisk?

I think if you mmap tmpfs files it is pretty good, which is what libc is
doing for shm emulation.

Gruss
Bernd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/