On Sat, May 28, 2011 at 9:50 AM, Jim Klimov <jimkli...@cos.ru> wrote: > Hello all, > > I was recently asked if it is possible to specify different priorities to > swap devices in Solaris, like it is possible on Linux, and found that "I > don't know but probably not" :\ > > One use-case might be a system running with the rpool in a fast SSD with > limited space, and the owner wants the system to swap into the SSD swap > partition (or rpool volume) until that space runs out, and only then swap > into slower additional HDD swap spaces - and not round-robin all available > swap spaces all the time.
If swap is on a ZFS volume (zvol, e.g, /dev/zvol/dsk/rpool/swap) it will take advantage of the native ability of ZFS to intelligently use SSD as a layer of caching, including for swap. That being said, if you are doing a lot of paging to swap, your in for a world of hurt no matter whether you are using SSD or traditional hard drives. See, for example, http://serverfault.com/questions/272426/how-does-putting-swap-space-on-an-ssd-affect-performance http://blogs.oracle.com/partnertech/entry/swap_space_on_ssd http://serverfault.com/questions/239808/ssd-for-swap-on-ubuntu-server -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ sysadmin-discuss mailing list sysadmin-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss