<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Swapping and Paging in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837874#M272867</link>
    <description>Hi indrajit,&lt;BR /&gt;&lt;BR /&gt;Swapping is one of the Unix mechanisms to accommodate the size limitation of memory by moving entire processes to disk to reclaim memory. &lt;BR /&gt;&lt;BR /&gt;Paging is another Unix machanism to manage the limitations of memory. Unlike swapping, where entire processes are moved in and out of memory, paging moves only individual pages of processes to disk. Paging is not as serious a problem as swapping, as the entire program does not have to reside in memory to run. A small amount of paging may not noticeably affect the performance of a system. However, the performance of a system may degraderapidly as paging activity increases. &lt;BR /&gt;&lt;BR /&gt;Swap space on disk is used to hold pages of memory that have been paged or swapped out. A shortage of swap space may cause symptoms such as system hanging, poor response times, and unsuccessful spawning of new processes.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
    <pubDate>Mon, 07 Aug 2006 07:01:51 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2006-08-07T07:01:51Z</dc:date>
    <item>
      <title>Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837868#M272861</link>
      <description>HI ALL,&lt;BR /&gt;I wan to know that what is the difference between the swapping and paging</description>
      <pubDate>Sat, 05 Aug 2006 06:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837868#M272861</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2006-08-05T06:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837869#M272862</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The terms are used somewhat loosely to mean the same thing.  Strictly speaking they are different.&lt;BR /&gt;&lt;BR /&gt;"Swapping" is an old mechanism where whole process images were moved from memory to disk to free memory for another process.&lt;BR /&gt;&lt;BR /&gt;"Paging" is the deactivation of pages or portions of a process's memory.   That is, the least most recently used pages are moved to disk as necessary to create free memory.&lt;BR /&gt;&lt;BR /&gt;HP-UX uses paging, although the disk allocated to hold the deactivated memory pages is called "swap".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 05 Aug 2006 07:01:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837869#M272862</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-05T07:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837870#M272863</link>
      <description>posted in wrong forum, moved to more appropriate forum</description>
      <pubDate>Sun, 06 Aug 2006 05:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837870#M272863</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-08-06T05:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837871#M272864</link>
      <description>Hi Indrajit,&lt;BR /&gt;&lt;BR /&gt;Here is your answer..&lt;BR /&gt;&lt;BR /&gt;In particular, "swapping out a process"&lt;BR /&gt;used to be simultaneously a scheduling operating and a memory management&lt;BR /&gt;operation. &lt;BR /&gt;&lt;BR /&gt;With paging, there is no explicit connection between how much of a program's&lt;BR /&gt;virtual memory is resident and whether that process is schedulable. A&lt;BR /&gt;program in a tight loop might only have one or two pages mapped with the&lt;BR /&gt;majority of it being paged out. In other words, the OS just grabs pages away&lt;BR /&gt;from processes, and doesn't give them back unless the process asks for them&lt;BR /&gt;again (via a page fault). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With swapping, the OS guarantees that the program is resident before&lt;BR /&gt;scheduling it. The program may also explicitly manage swapping in areas of&lt;BR /&gt;memory, by asking the OS to swap the data in before the program uses it, and&lt;BR /&gt;telling the OS it's done afterwards. (Windows allows memory to be managed&lt;BR /&gt;this way.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paging is preferred over swapping because it does a better job of keeping&lt;BR /&gt;only the most important data in memory. However, paging requires restartable&lt;BR /&gt;instructions, so that an instruction can be restarted after a page fault has&lt;BR /&gt;been handled. You also need an MMU or a TLB to handle the&lt;BR /&gt;virtual-to-physical address conversions.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Venkat.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Aug 2006 02:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837871#M272864</guid>
      <dc:creator>Venkatesan_5</dc:creator>
      <dc:date>2006-08-07T02:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837872#M272865</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;Swapping occurs when whole process is transfered to disk, while paging is when some part of process is transferred to disk while rest is still in physical memory.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sudhakaran.K</description>
      <pubDate>Mon, 07 Aug 2006 02:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837872#M272865</guid>
      <dc:creator>sudhapage</dc:creator>
      <dc:date>2006-08-07T02:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837873#M272866</link>
      <description>Indrajit,&lt;BR /&gt;&lt;BR /&gt;Also, if you are having issues with memory or want to know more about it this is an excellent document to read,&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jaime.</description>
      <pubDate>Mon, 07 Aug 2006 06:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837873#M272866</guid>
      <dc:creator>Jaime Bolanos Rojas.</dc:creator>
      <dc:date>2006-08-07T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping and Paging</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837874#M272867</link>
      <description>Hi indrajit,&lt;BR /&gt;&lt;BR /&gt;Swapping is one of the Unix mechanisms to accommodate the size limitation of memory by moving entire processes to disk to reclaim memory. &lt;BR /&gt;&lt;BR /&gt;Paging is another Unix machanism to manage the limitations of memory. Unlike swapping, where entire processes are moved in and out of memory, paging moves only individual pages of processes to disk. Paging is not as serious a problem as swapping, as the entire program does not have to reside in memory to run. A small amount of paging may not noticeably affect the performance of a system. However, the performance of a system may degraderapidly as paging activity increases. &lt;BR /&gt;&lt;BR /&gt;Swap space on disk is used to hold pages of memory that have been paged or swapped out. A shortage of swap space may cause symptoms such as system hanging, poor response times, and unsuccessful spawning of new processes.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 07 Aug 2006 07:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-and-paging/m-p/3837874#M272867</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-08-07T07:01:51Z</dc:date>
    </item>
  </channel>
</rss>

