TMPFS Maximum File Size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hugh/All,

Is there any kind of file size limitation in TMPFS ?
Our application SEGFAULT inside write() after filling 70% of TMPFS
mount. (re-creatable but does not happen every time).

We are using 98GB TMPFS without swap device. i.e. SWAP is turned off.
Applications does not take approx. 20GB memory.

we have Physical RAM of 128GB Intel x86 box running SLES 11 64bit.
We use Infiniband, export TMPFS over NFS and IBM GPFS in same box.
(hope those won't affect)

Bit confused about "triple-indirect swap vector" ?

Extracted from shmem.c ....

/*
Â* The maximum size of a shmem/tmpfs file is limited by the maximum size of
Â* its triple-indirect swap vector - see illustration at shmem_swp_entry().
Â*
Â* With 4kB page size, maximum file size is just over 2TB on a 32-bit kernel,
Â* but one eighth of that on a 64-bit kernel. With 8kB page size, maximum
Â* file size is just over 4TB on a 64-bit kernel, but 16TB on a 32-bit kernel,
Â* MAX_LFS_FILESIZE being then more restrictive than swap vector layout.
 *

Thankx a lot.
__
Tharindu R Bamunuarachchi.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]