CrazyEngineers
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • dipen30

    MemberDec 4, 2009

    Re: what exactly is paging in o.s reffer to

    A page is "physical unit" invisible to user's program and is of fixed size.


    A segmentation is "logical unit" visible to user's program and is of variable size.

    this is simple difference between paging and segmentation.

    I hope I am write...Give correct info if I am wrong..
    Are you sure? This action cannot be undone.
    Cancel
  • faizaan

    MemberDec 6, 2009

    Pagging & segmentation are two concepts which look much similar ,but both were invented for diffrent reasons & so as dipen told first diffrence is that in pagging page is of fixed size & in segmentation segment is of variable size (though they are made up of fixed size pages but no of pages are diffrent in each segment)

    As far as i know Pagging was invented to implement the cocept of virtual memory & that gave programmer his own address space in which he can write his program.But there is one problem in pagging ,as pages are of fixed size & programs always have stack which may grow or shrink as time progresses & program executes than fixed size pages cannot work (as other parts of program may be there in pages above or below where stack part is allocated).

    So here comes segmentation into picture & it solves above problem .It was invented to seprate parts of program in logical units each independent other.So programs data & stack are in diffrent segments ,stack can grow or shrink in size without disturbing other parts of program.

    pls orrect me if i am wrong.
    Are you sure? This action cannot be undone.
    Cancel
  • dipen30

    MemberDec 6, 2009

    thanx for this info faizaan.
    Are you sure? This action cannot be undone.
    Cancel
  • aban14

    MemberJun 17, 2012

    this link may b helpful

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register