public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: kernel kernel <unix.hacker@gmail.com>,
	newbie <linux-newbie@vger.kernel.org>
Subject: Re: VM Vs Swap space
Date: Thu, 07 Oct 2004 06:31:48 -0400	[thread overview]
Message-ID: <41651B14.4050506@gelm.net> (raw)
In-Reply-To: <20041007093740.79630.qmail@web52904.mail.yahoo.com>

Ankit Jain wrote:

>well if we dont have a swap area then shall i say my
>system dosent have virtual memory
>  
>
 Yes, I think so.  I think that it is difficult to say that a system
has no 'swap area', because a 'swap area' could be a file.

 How can you be sure that none of the files on a system are
a 'swap file' ?

 I think that you can say that a system has no 'swap' or 'virtual memory'
if there are no swap areas enabled.

I suggest that the output of 'free' will indicate your swap. 
If 'free' indicates that you have no swap, then you have no swap.
If 'free' indicates that you have      swap, then you have      swap.

>is this correct? because i feel even if this swap area
>is not there then also virtual memory concept exists?
>
A system can have a swap partition and not use it.
A system can have a swap file          and not use it.
Swap can be enabled and disabled on a running kernel.
So, at any given instance, a running system can have
or have not 'virtual memory'.

>thanks
>
>ankit 
>--- kernel kernel <unix.hacker@gmail.com> wrote: 
>  
>
>>Virtual Memory is a policy. Swap  Area is a
>>artifact, u use to
>>implement this policy
>>
>>Hope makes sense
>>
>>
>>On Thu, 7 Oct 2004 10:15:15 +0100 (BST), Ankit Jain
>><ankitjain1580@yahoo.com> wrote:
>>    
>>
>>>how will u differentiate virtual memory and swap
>>>      
>>>
>>area
>>    
>>
>>>thanks
>>>
>>>ankit
>>>--- chuck gelm <chuck@gelm.net> wrote:
>>>      
>>>
>>>>Ankit Jain wrote:
>>>>
>>>>        
>>>>
>>>>>hi
>>>>>
>>>>>if somebody can tell me that is this correct?
>>>>>
>>>>>(1)can i say that swap area created by linux is
>>>>>          
>>>>>
>>>>nothign
>>>>        
>>>>
>>>>>but virtual memory. (2)is it correct to use the
>>>>>          
>>>>>
>>>>term
>>>>        
>>>>
>>>>>interchangeably
>>>>>
>>>>>thanks
>>>>>
>>>>>ankit
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>(1) A swap file or swap partition can be used as
>>>>virtual memory.
>>>>(2) I am not sure.  Why one would wish to use
>>>>        
>>>>
>>'swap
>>    
>>
>>>>area'
>>>>interchangeably with 'virtual memory'.
>>>>:-|
>>>>Chuck
>>>>        
>>>>


-
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

  reply	other threads:[~2004-10-07 10:31 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 [this message]
2004-10-07 16:05         ` Pratik Solanki
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=41651B14.4050506@gelm.net \
    --to=chuck@gelm.net \
    --cc=ankitjain1580@yahoo.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=unix.hacker@gmail.com \
    /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