frame classes
Posted: Wed Oct 03, 2007 2:51 pm
Hello, all.
Paging gets rid of external fragmentation by virtue of being able to map any frame to any page. But that's not the end of the story, since all frames are not created equal. Some frames are accessible by DMA, some are not. There's also page colors to be considered, and NUMA-stuff (which is even weirder).
And I'm sure that's not the end of the possibilities. So what frames *are* (more or less) equivalent?
I ask because I am wondering about the benefits of allowing applications to choose any particular frame for mapping (as is permitted in Nemesis and Xok). Are there any benefits to this over having predetermined frame classes? So maybe I can't ask for some specific frame, but I can ask for any frame of color X, DMA/not, etc.? Is anyone aware of a situation which a system like that doesn't handle just as well?
Paging gets rid of external fragmentation by virtue of being able to map any frame to any page. But that's not the end of the story, since all frames are not created equal. Some frames are accessible by DMA, some are not. There's also page colors to be considered, and NUMA-stuff (which is even weirder).
And I'm sure that's not the end of the possibilities. So what frames *are* (more or less) equivalent?
I ask because I am wondering about the benefits of allowing applications to choose any particular frame for mapping (as is permitted in Nemesis and Xok). Are there any benefits to this over having predetermined frame classes? So maybe I can't ask for some specific frame, but I can ask for any frame of color X, DMA/not, etc.? Is anyone aware of a situation which a system like that doesn't handle just as well?