Re: adding physical memory-pages to Linux' pool-of-pages

From: Mads Bondo Dydensborg (madsdyd@challenge.dk)
Date: Fri Jul 21 2000 - 03:49:30 EST


On Thu, 20 Jul 2000, Gabor Lenart wrote:

> On Thu, Jul 20, 2000 at 11:39:59AM -0500, Jeff Garzik wrote:
> > On Thu, 20 Jul 2000, Heusden, Folkert van wrote:
> > > What I want to do is; I have an PCI-card with on-board RAM. I want somehow
> > > to tell the kernel that it can use that RAM as if it was any other RAM.
> >
> > Have you benchmarked accessing system memory versus PCI shared mem?
> > I'm thinking not...
>
> Maybe it would be perfect to create swap on it ...

I know that SCIos (http://sci-serv.inrialpes.fr/) does something like
this: They use SCI networks to do distributed shared memory in a
cluster. Then, if a node in the cluster wants to swap, it first checks if
there are free memory in the distributed shared memory. If there is, it
swaps to these pages. AFAIK they have found that it is quite a bit faster
then disk. The SCI controllers are on the PCI bus, but the memory is main
memory of a remote node. This means that they will have to travel 2 pci
busses, the network and the main memory bus of the remote node. Only going
through the local pci bus should be quite fast compared to this. (Slow
compared to main memory, yes).

SCIos is based on Linux (is a set of patches) - maybe there are some code
in there that could inspire someone.

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@challenge.dk
If a man says something in a forest and there are no women around to
hear him, is he still wrong?

- Anonymous

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:15 EST