LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 04-09-2006, 10:33 PM   #1
hongxing
Member
 
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?

thanks!
 
Old 04-10-2006, 12:46 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
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
so
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 12:48 AM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 06:32 AM.

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