increasing swap activity

Nagilum freebsd at nagilum.org
Sun Feb 6 05:52:39 PST 2005


Michael Hines wrote:

>
> I've written a remote-memory system for a thesis of mine. As a result, 
> I'm able to setup a diskless client that swaps to remote memory 
> instead of a remote disk. The specifics, reasons, and design of the 
> system are a long story....
>
> However - this system allows for much faster page-fault latencies (on 
> the order of 10-20 times faster than using a disk for swap space). The 
> problem is: I cannot get the swapper to page-out or page-in data any 
> faster.
>
> My end question is: how would one DRASTICALLY increase the rate at 
> which the system does its paging in freebsd?
>
> Everthing I find on the net says "don't mess with freebsd's VM system 
> or you'll die and go to hell."
>
> However, I do in fact need to drastically increase the paging bandwidth.
>
> Anybody know how? Preferably during runtime?
>
> Thanks a lot.
>
> /*********************************/
> Michael R. Hines
> Grad Student, Florida State
> Dept. Computer Science
> http://www.cs.fsu.edu/~mhines/
> Jusqu'a ce que le futur vienne...
> /*********************************/


I think the first thing to do is determine the bottleneck you're fighting.
Maybe using several machines as swap-slaves would help? (the swapspace 
will be used interleaved)
Also it would help to explain a bit more what you have done so far. Have 
you written your own swapfs?
Kind regards,
Alex.



More information about the freebsd-questions mailing list