News for hackers. Stuff that matters.
Re:Superfast SSDs are coming, but will they be used the righ... by bensummers on Friday October 29, 2010 @07:11AM (#1846858)
Look into what ZFS can do with a spot of flash.

ZIL: http://blogs.sun.com/rdm/entry/zil_ssd_and_other_fun

L2ARC: http://blogs.sun.com/brendan/entry/test

I believe this is the "right way" the article is advocating. You can use it now.

Re:Superfast SSDs are coming, but will they be used the righ... by Nate75Sanders on Friday October 29, 2010 @08:26AM (#1847034)
Am I missing something or is this pure filesystem cache? What happens instead if you configure an SSD as your swap device? Wouldn't the OS then be able to use the SSD more generally as a piece of the memory hierarchy?
Re:Superfast SSDs are coming, but will they be used the righ... by bensummers on Friday October 29, 2010 @09:02AM (#1847120)
This is only for ZFS. However, ZFS also does block devices, so in a typical deployment swap would be on a ZFS zvol.

I'm not sure how effective this would be, though. If you want to 'extend' the amount of RAM you have, it would be far better to mmap() a file rather than hope that everything works as you expect with swap.

Re:Superfast SSDs are coming, but will they be used the righ... by wmf on Friday October 29, 2010 @02:07PM (#1848269)
This is a great idea, too bad it's chained to an obscure OS: http://leaf.dragonflybsd.org/cgi/web-man?command=swapcache
Re:Superfast SSDs are coming, but will they be used the righ... by CJefferson on Friday October 29, 2010 @09:12AM (#1847156)
If the OS used the SSD as a swap device, it would still try to write the data back to the underlying drive within a reasonable period of time, which isn't necessary for SSD.
Re:Superfast SSDs are coming, but will they be used the righ... by Nate75Sanders on Friday October 29, 2010 @09:16AM (#1847173)
Unless I'm mistaken, you're still thinking of file writes. I'm talking about using your SSD as "slow RAM". Your statement is true, but it doesn't account for the use of SSD as something that could be used for very large ephemeral data structures.
Re:Superfast SSDs are coming, but will they be used the righ... by eru on Friday October 29, 2010 @02:53PM (#1848484)
But that wouldn't be too much of a problem. Actually it's a good idea, so that you can shovel in different data, in case those get hot.