Re: What is the limit size of tmpfs /dev/shm ?
- From: Hugh Dickins <hugh@xxxxxxxxxxx>
- Date: Wed, 6 Feb 2008 19:48:22 +0000 (GMT)
On Wed, 6 Feb 2008, H. Peter Anvin wrote:
Hugh Dickins wrote:
Don't forget that tmpfs overflows into swap, so you could save money
by adding adding more swap and cutting down on the RAM: though of
course that will perform very poorly once it's actually using the
swap, probably not the direction you want to go in.
It can still outperform conventional disk filesystems, however, mostly because
it doesn't have to worry one iota about consistency.
In theory, yes, and should be true in practice before it hits swap.
But I think you'll find our swap handling is too primitive for tmpfs
to perform well once we hit swap. Most filesystems pay considerable
attention to good performance within their constraints of correctness.
Whereas with tmpfs we've just never worried about the performance once
swapping. It's used so you don't lose your data, but if you're really
expecting to be going to disk very much, better start with a filesystem
really designed for that.
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/
- Follow-Ups:
- Re: What is the limit size of tmpfs /dev/shm ?
- From: H. Peter Anvin
- Re: What is the limit size of tmpfs /dev/shm ?
- References:
- What is the limit size of tmpfs /dev/shm ?
- From: Tomasz Chmielewski
- Re: What is the limit size of tmpfs /dev/shm ?
- From: Hugh Dickins
- Re: What is the limit size of tmpfs /dev/shm ?
- From: H. Peter Anvin
- What is the limit size of tmpfs /dev/shm ?
- Prev by Date: Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds
- Next by Date: Re: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9
- Previous by thread: Re: What is the limit size of tmpfs /dev/shm ?
- Next by thread: Re: What is the limit size of tmpfs /dev/shm ?
- Index(es):