Skip to contentSkip to conversation

VM Vs Swap space

DISCUSSION Pratik Solanki 1 participant 1 message Oct 7, 2004 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Yes. 32 bit address = 2^32 addresses = 4GB

For a 64-bit machine, the limit is 2^64.

Pratik.

Quoted 40 lines · Ankit Jain

why limit is upto 4 GB is it due to address bus limit?

thanks

ankit
--- Pratik Solanki <[email protected]>

Quoted 31 lines · wrote:
Quoted 1 line · Ankit Jain

well if we dont have a swap area then shall i say

my

Quoted 1 line

system dosent have virtual memory

No.

Quoted 1 line

is this correct? because i feel even if this swap

area

Quoted 1 line

is not there then also virtual memory concept

exists?

Virtual memory is the reason why applications can think they have 4GB
of memory while your physical machine might actually have only 32MB.
You don't need to have swap in order to have virtual memory, although
its very advantageous to have swap with VM.

Virtual memory maps the viurtual pages (from 0 to 4GB) to actually
physical memory pages (from 0 to however much RAM you have). Swapping
is the process of using the disk to store physical memory pages when
they are not in use, and then restoring them when an application
accesses them.

Quoted 8 lines
Quoted 2 lines

Pratik.

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs