In segmentation, the address space is typically divided into a preset number of segments like data segment (read/write), code segment(read-only), stack(read/write) etc. And the programs are divided into these segments accordingly. Logical addresses are represented as tuple <segment, offset>.
While with paging, the address space is divided into a sequence of fixed size units called "pages". And logical addresses take the form of a tuple <page, offset>.
Each of these techniques offer several benefits e.g., segmentation offers better security since the segments are pre-defined and we can avoid spurious reads/writes at the time of address translations etc.
On the other hand, paging helps reduce fragmentation and ensures better memory management.
So, most modern operating systems employ a combination of both these techniques for their memory management.
Chat with our AI personalities
what a wicked page, really helpfull Difference between pre-tensioned and post-tensioned?
You cannot. The conversion goes this way: segment+offset -> [segment-table] -> linear_address -> [page-table] -> physical_address PS: In most cases there is only one (4GB long) segment (or one code-segment and one data-segment), so offset is quite the same as linear address
Right in this moment you are reading a web-page.
The space between a page's content and the edge of the page is called "margin" in printing, as well as web design.
the print command gives an order to the computer to print a page but the print preview gives us a preview of the way in which it has to be printed