[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is memory allocation boundery in Dindows?
Monish Shah,
>There's no guarantee that an OS will be willing to give you such a large
>region of physically contiguous memory. In fact, I suspect that most OSes
>will never be willing to do this.
I would suspect you are right about windows. I know you are mostly wrong
for DPS (our OS) - if you request 2M and there is a 2M contiguous block,
you will get it and not some collection of scattered pieces (this
allocation strategy - called "worst fit" back in the 60-es - when applied to
allocation of disk storage allows you to not need to reorganize
your HDD for years).
However, if you do the allocation at a very early stage, I guess even
windows will have problems doing the wrong thing so you'll get a contioguous
block - I mean when all memory is mostly non-allocated. Well, may be
I underestimate windows' consistent behaviour as a stumbling
block for anything beyond office usage...
Dimiter
--------------------------------------------------------------------
Dimiter Popoff
http://transgalactic.freeyellow.com