Darren J Moffat wrote: > Mike Gerdts wrote: > > >>> Not at all, and I don't see how you could get that assumption from what I >>> said. I said "dynamically when it is needed". >>> >> I think I came off wrong in my initial message. I've seen times when >> vmstat reports only megabytes of free swap while gigabytes of RAM were >> available. That is, reservations far outstripped actual usage. >> > > Ah that makes it more clear. > > > Do you have mechanisms in mind to be able to detect such circumstances > >> and grow swap to a point that the system can handle more load without >> spiraling to a long slow death? >> > > I don't as yet because I haven't had time to think about this. Maybe > once I've finished with the ZFS Crypto project and I spend some time > looking at encrypted VM (other than by swapping on an encrypted ZVOL). > At the moment while it annoys me it isn't on my todo list to try and > implement a fix. > >
Here is a good start, BSD's dynamic_pager http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/dynamic_pager.8.html Mike, many people use this all day long and seem to be quite happy. I think the slow death spiral might be overrated :-) -- richard _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss