Difference Between Paging and Segmentation (2024)

Both of these are techniques of memory management with major variations in their elements. In this article, we will discuss the difference between Paging and Segmentation. But let us first know more about them individually. Read ahead to know more.

What is Paging?

It is a technique of memory management that breaks the process address space into various blocks of similar sizes, known as pages. Here, we measure the size of a process in the total number of pages. In a similar manner, the main memory gets divided into various frames. The frames are small physical memory blocks of fixed size. We keep the overall size of a given frame to a page so that we can utilize the main memory in the most optimum manner. It also avoids external fragmentation.

What is Segmentation?

It is a technique of memory management in which every job gets divided into various blocks of varied sizes, known as segments. This way, we get one segment for every module with pieces performing related functions. These segments act as different spaces of the logical address of any program. While executing a process, the corresponding segmentations load into a non-contagious form of memory. It happens even if every segmentation loads into the available memory’s contagious block.

Management of segmentation memory works similar to that of paging. The only difference is that the length of segments is varied, and the pages have a fixed size. The segment of a program has the program’s data structures, functions, utility, main function, and more. The OS (operating system) primarily maintains segment tables for individual processes along with a list of all memory blocks that are free. It also includes the segment numbers and size, along with their locations in the main memory.

For individual segments, the table mainly stores the segment’s starting address along with its length. The memory location’s reference includes the values identifying the segment along with their offset.

Here is the difference between Paging and Segmentation in a tabular form:

Difference Between Paging and Segmentation

Parameters Paging Segmentation
Individual MemoryIn Paging, we break a process address space into blocks known as pages.In the case of Segmentation, we break a process address space into blocks known as sections.
Memory SizeThe pages are blocks of fixed size.The sections are blocks of varying sizes.
AccountabilityThe OS divides the available memory into individual pages.The compiler mainly calculates the size of individual segments, their actual address as well as virtual address.
SpeedThis technique is comparatively much faster in accessing memory.This technique is comparatively much slower in accessing memory than Paging.
SizeThe available memory determines the individual page sizes.The user determines the individual segment sizes.
FragmentationThe Paging technique may underutilize some of the pages- thus leading to internal fragmentation.The Segmentation technique may not use some of the memory blocks at all. Thus, it may lead to external fragmentation.
Logical AddressA logical address divides into page offset and page number in the case of Paging.A logical address divides into section offset and section number in the case of Segmentation.
Data StorageIn the case of Paging, the page table leads to the storage of the page data.In the case of Segmentation, the segmentation table leads to the storage of the segmentation data.

Keep learning and stay tuned to BYJU’S to get the latest updates onGATE Examalong withGATE Eligibility Criteria,GATE 2024,GATE Admit Card,GATE Application Form,GATE Syllabus,GATE Cutoff,GATE Previous Year Question Paper, and more.

Difference Between Paging and Segmentation (2024)
Top Articles
Sony Music Nashville Named Billboard 2020 Top Country Label - Sony Music
How to Use the Command Line Interface – for Beginners
Skyward Houston County
Mopaga Game
Valley Fair Tickets Costco
Ofw Pinoy Channel Su
Www.craigslist Augusta Ga
CKS is only available in the UK | NICE
Noaa Weather Philadelphia
Stolen Touches Neva Altaj Read Online Free
Crime Scene Photos West Memphis Three
New Day Usa Blonde Spokeswoman 2022
Jesus Revolution Showtimes Near Chisholm Trail 8
Ohiohealth Esource Employee Login
Becky Hudson Free
Space Engineers Projector Orientation
fltimes.com | Finger Lakes Times
W303 Tarkov
Conscious Cloud Dispensary Photos
Wal-Mart 140 Supercenter Products
Kountry Pumpkin 29
Gina Wilson All Things Algebra Unit 2 Homework 8
Bennington County Criminal Court Calendar
Bn9 Weather Radar
Piedmont Healthstream Sign In
Royalfh Obituaries Home
Isablove
Account Now Login In
Napa Autocare Locator
October 19 Sunset
In Branch Chase Atm Near Me
Sedano's Supermarkets Expands to Orlando - Sedano's Supermarkets
A Man Called Otto Showtimes Near Carolina Mall Cinema
2012 Street Glide Blue Book Value
USB C 3HDMI Dock UCN3278 (12 in 1)
R Nba Fantasy
Dadeclerk
Latest Nigerian Music (Next 2020)
5 Tips To Throw A Fun Halloween Party For Adults
Compare Plans and Pricing - MEGA
Barber Gym Quantico Hours
Cnp Tx Venmo
Quick Base Dcps
Tlc Africa Deaths 2021
Willkommen an der Uni Würzburg | WueStart
Adams-Buggs Funeral Services Obituaries
Bbwcumdreams
Convert Celsius to Kelvin
Bomgas Cams
Bob Wright Yukon Accident
Cool Math Games Bucketball
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 6476

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.