flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Best Memory Model

Goto page Previous  1, 2, 3

Which memory model is the best?
Paged
40%
 40%  [ 6 ]
Paged with Segmentation (segments within pages)
0%
 0%  [ 0 ]
Flat
60%
 60%  [ 9 ]
Total Votes : 15

Author
Thread Post new topic Reply to topic
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 21 Sep 2008, 13:40
neville wrote:
...In FR mode there is only physical memory...
There is no such a thing as a Flat RM. "Unreal" flat -- is. Definitely, what do you mean of the "flat real"?

Segmentation is of no use to protect processes from each other without page faults. sic.
Post 21 Sep 2008, 13:40
View user's profile Send private message Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 21 Sep 2008, 13:51
OK, spread it lightly...

You have 65535 selectors (most of them of no use, and 8k*2 descriptors, too). Without paging, you're limited to 4GB.
Post 21 Sep 2008, 13:51
View user's profile Send private message Reply with quote
Mat



Joined: 30 Sep 2008
Posts: 11
Mat 01 Oct 2008, 09:25
hello everybody:

paging has one avantage against a flat adress space. A modern memory managment mechanism (slab allocator or something similar) can eleminate fragmentation though remapping of splitting areas into a linear adress space. These reduce the complexibility to handle memory areas of different size and position at cost of the mean performance for memory accesses (because the fast change of mapped adresses results in increasing page faults).
Post 01 Oct 2008, 09:25
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.