Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2006, 11:33 PM   #1
Registered: Oct 2005
Posts: 73

Rep: Reputation: 15
how much memory can tmpfs support?

I am using SuSE Linux Enterprise 9 on a 32bit x86 machine.
my question is can tmpfs support more than 4GB size of vmdisk?

if can, what's the max memory can tmpfs suport on a 32bit x86 machine?

Old 04-10-2006, 01:46 AM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i might be wrong about this cause i am vague about shmfs/tmpfs
differences if there are any
in my mind this limit is for a combination of the two
both are pageable and swappable unlike ramfs which might or might not be a part of this limit (some help i am)
i think overall limit would be
cat /proc/sys/kernel/shmall
* page_size which is generally 4096
2097152*4096=8 GB total for all shared memory

now on top of that limit i think you can specify limits on tmpfs at mount
if you don't specify it defaults to half real memory.

so i guess the answer is yes as long as you got that much ram+swap

Last edited by foo_bar_foo; 04-10-2006 at 01:48 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tmpfs and swap memory basics kushalkoolwal Debian 1 09-12-2005 05:24 PM
top reports 99% memory used when using a tmpfs damonnew Linux - General 1 01-30-2005 02:51 AM
Linux can support how much memory ? futurist Linux - Hardware 11 03-08-2004 01:55 PM
How many processors and how much memory does Mandrake 9.2 support? loganking Mandriva 3 01-23-2004 11:53 PM
IPC Shared Memory support in kernel? stevho Linux - General 1 01-17-2002 08:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration