Difference Between Paging and Segmentation


Main Difference

Paging is a process that is performed by the computer itself. The segmentation can be performed only in the case when a programmer provides inputs to the system. The process of getting a large linear address space for which you don’t have to purchase more physical memory is known as Paging. On the contrary, Segmentation is a process that caters the facility of broken up into logically sovereign address spaces to the programs and data. You will get the facility of sharing and protection in segmentation as well. The Paging procedure is not able to distinguish and protect the process and data on individual basis. With the help of Segmentation, you can obtain the functionality of distinguishing and separately protects process and data. The process of paging demands a 6-bit page value in order to select a proper entry in process page table. A 16-bit physical address is formed in paging. Quite the opposite, the segmentation process needs to have a 4-bit segment of a logical address necessary for the basic objective of selecting the proper entry in the process segment table.

What is Paging?

After critically examine the working of computer memory, you will find that it is divided into small partitions that have equal size known as page frames. At the time when a course of action is loaded, it digs up into pages with similar size as those earlier frames. After that these process pages are loaded into the frames. This whole course of action is known as paging. It is a system of memory management in computer operating systems. The main purpose of paging is to store the data for the prime goal of retrieving it whenever it is required. Since the system handles the Paging process by design, hence it is transparent to programmers.


What is Segmentation?

The allocation of computer memory is performed in various sizes that are commonly called segments. The size of the segment is depends upon the requirements for address space by the process. These segments are either separately confined or shared between the processes. Segmentation is basically a computer process in which the primary memory of the computer is divided known as sections or segments. These sections are commonly utilized in object files of compiled programs. If you are working as a programmer then you need to be aware of memory limits while working with the segmentation.

Key Differences

  1. The nearby range of memory addresses that is mapped to physical memory is known as page. An autonomous address space is called segment.
  2. Paging is a physical process while the segmentation is a logical one.
  3. The process of compilation on separate basis can never be performed in paging while the segmentation allows it separately.
  4. In paging, the processes are not capable of sharing between the users but this facility is available in segmentations.
  5. In the process of paging, only one linear address space is used. A lot of address spaces are utilized in segmentation.
Harlon Moss

Harlon currently works as a quality moderator and content writer for Difference Wiki. He graduated from the University of California in 2010 with a degree in Computer Science. Follow him on Twitter @HarlonMoss

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.