public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Pratik Solanki <pratik.solanki.ml@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: Re: VM Vs Swap space
Date: Thu, 7 Oct 2004 12:05:39 -0400	[thread overview]
Message-ID: <9cb08bfa0410070905188b0197@mail.gmail.com> (raw)
In-Reply-To: <20041007093740.79630.qmail@web52904.mail.yahoo.com>

On Thu, 7 Oct 2004 10:37:40 +0100 (BST), Ankit Jain
<ankitjain1580@yahoo.com> wrote:
> well if we dont have a swap area then shall i say my
> system dosent have virtual memory

No.
 
> is this correct? because i feel even if this swap area
> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2004-10-07 16:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06  8:52 VM Vs Swap space Ankit Jain
2004-10-07  1:57 ` chuck gelm
2004-10-07  6:01   ` kernel kernel
2004-10-07  9:15   ` Ankit Jain
2004-10-07  9:25     ` kernel kernel
2004-10-07  9:37       ` Ankit Jain
2004-10-07 10:31         ` chuck gelm
2004-10-07 16:05         ` Pratik Solanki [this message]
2004-10-07 16:07         ` Pratik Solanki
2004-10-08  3:29           ` kernel kernel
2004-10-07 10:41     ` chuck gelm
2004-10-07 16:09       ` Pratik Solanki
     [not found]         ` <20041007172157.63553.qmail@web52908.mail.yahoo.com>
2004-10-07 18:49           ` Pratik Solanki
2004-10-07 22:13             ` chuck gelm
2004-10-08  2:49               ` Jim Nelson
2004-10-08 15:25               ` Pratik Solanki
     [not found] <9cb08bfa04100708182c097689@mail.gmail.com>
     [not found] ` <20041007160656.32450.qmail@web52904.mail.yahoo.com>
2004-10-07 16:13   ` Pratik Solanki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cb08bfa0410070905188b0197@mail.gmail.com \
    --to=pratik.solanki.ml@gmail.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox