Re: What is the limit size of tmpfs /dev/shm ?

From: Hugh Dickins
Date: Wed Feb 06 2008 - 17:41:22 EST


On Wed, 6 Feb 2008, H. Peter Anvin wrote:
>
> The specific application was this:
>
> - extract a kernel tarball
> - "make distclean"
> - cp -al the resulting tree
> - apply a patch to each tree
> - do a diff between the trees
> - delete all files
>
> ... repeat something like 20,000 times.

Right, thanks.

Certainly extracting a tarball can be a surprising challenge
for some filesystems.

And you remind me that of course, to the extent that a load is
about metadata (lots of creates for example), tmpfs can hardly
lose since its metadata never goes out to swap. But there is
plenty of data in your test above.

Hugh
--
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/