LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2014, 04:56 AM   #1
skaushal_lk
LQ Newbie
 
Registered: Jul 2010
Distribution: Ubuntu, CentOS
Posts: 27

Rep: Reputation: 4
how to calculate the minimum virtual memory for 1GB ram 32bit-x86?


Hi Gurus,

I am reading vitual memory (VM) and I want to understand more about it from programming point of view. I have few queries pertaining to 1GB ram 32bit-x86 system:
[*] Is VM larger than RAM? if yes/no why?[*] How to calculate the minimum VM required for system?


Thanks in advance!
 
Old 01-20-2014, 06:59 AM   #2
cornholiobg
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
The VM /Swap file is must to be 100/150% x RAM, but the best is 200% from RAM. For your way for 1GB RAM you need to create swap file 2GB.

Regards,
Alexander.
 
Old 01-20-2014, 07:35 AM   #3
dolphin_oracle
Member
 
Registered: Dec 2013
Posts: 328

Rep: Reputation: Disabled
I tend to match my swap file size to my memory size, although on my system swap is hardly ever used.
 
Old 01-20-2014, 08:09 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I wont go into swap here. On my kvm host the process for each machine is slightly higher than the max mem configuration. Also some are a bit lower. It all heavily depends on what hypervisor you're using. As a generel rule of thumb I'd say they need a bit more of memory than configured
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux shared memory segment access problem and x86 Virtual Memory layout. regmee Linux - Kernel 1 08-23-2008 01:11 AM
Top shows virtual memory use by proccess more than physical RAM! help! aznblood Linux - Software 2 08-21-2008 10:19 AM
Out of memory on 16gb ram, PAE 32bit 2.6.23 heson Linux - Server 4 11-04-2007 06:54 AM
Do not seem to be able to use more than 1GB RAM surajc Linux - Kernel 6 10-13-2006 09:55 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration