Archive for May, 2010

Where’s tiered desktop storage

I got a couple SSDs last year and they are super fast. I bought two Intel X-25m g2 and put them in a raid 0. I get over 400MB/s sequential read.

It’s a the best upgrade that money can buy. Why? Because for years disk performance has been improving so slowly compared to the rest of system performance. Disk capacities have grown dramatically, but I/O latency and in particular random access time hasn’t seen much improvement in decades.

The next step is for system developers to take advantage of SSD’s unique properties to present a new tier in the hierarchy of data access. SSD is not quite as fast as memory, but it offers large amounts of data/$. DDR3 memory is about $20/G, while MLC SSDs are closer to $3/G. And as importantly, random access memory performance is more similar to SSD than traditional hard disk. There’s a lot of computing research and technology devoted to bridging the gap in performance characteristics of memory and spinning disk. Things like virtual memory, ram disks, disk caches, and maximizing sequential access all are designed to avoid slow random accesses of disk, but what if we lowered the cost of random disk reads by two orders of magnitude? That’s what SSD does.

There are several ways to take advantage of SSDs. One is to simply use it like memory. It’d make a great swap disk. One thing I’m going to try is allocating a full 80GB or 160GB SSD as a swap disk and try and create a process that occupies that much virtual memory. That’ll be interesting experiment because there’s no reason it shouldn’t work, and while it won’t be quite as fast as real memory, it’d be a lot cheaper if you need to make a process that needs a huge amount of memory. I’ve seen a couple of appliances which use this technique to make a dense memcached server.

The second trickier way to use an SSD is to build a tiered storage system. The simplest type of this is a single disk hybrid ssd. It just uses an ssd as a cache for the regular hard disk. So you get some of both, fast SSD access and cheap storage in the hard drive. This could be popular but isn’t yet. Seagate announced the Momentus hybrid storage for laptops. I don’t know if there are volume shipments of these. Enterprise vendors now have expensive SSD arrays which companies can use to build their own storage tiers. These solutions are flexible and reliable, but extremely expensive and typically deployed as SAN storage arrays.

What I want is more sophisticated desktop support, I want the OS to support tiered storage in software. Windows and Linux already support software raid, but it’d be even better if they built on that and created support for software storage tiering. So for instance, I could dedicate a pool of ssd drives as my cache and a pool of hard drives as my long term storage and data automatically gets moved from the cache to the hard drive and back when the cpu is idle and the data in the cache is old. Sun’s ZFS supports designating an SSD as a cache pool, but licensing has prevented it from running directly on linux. And I have doubts about the future of ZFS with Oracle owning it.

If I had a lot more knowledge and an infinite amount of time, I’d write the linux support myself, but I don’t, so I’m hoping someone else will.

Comments off

Week in Puerto Vallarta

We spent last week in Puerto Vallarta at the Crown Paradise all inclusive resort. It’s nice, I recommend it. We got a good deal. It wasn’t super upscale, but it was pretty good. It was mostly relaxing, we didn’t have any planned activities.

The hotel itself was pretty nice, it was a bit odd that we had a full kitchen and refrigerator in a 1 bedroom unit at an all inclusive hotel. But we later found out that our part of the hotel had been re-converted from a condo to a hotel so it made sense. A few other things struck me. Compared to our trip to Cabo San Lucas last year, the hotel guests were much more Mexican. At Cabo, I think like 70% of the guests were American/Canadian. At Puerto Vallarta, it felt like less than 40%. Part of it was that our hotel in Cabo was nicer, but it still was good to see that at least some Mexicans still seem to be doing pretty well for themselves. The kids water park was interesting as a contrast to what an American water park would be. The water slides were short, maybe 10 feet tall, but the bottom of the slide dropped into about 12 inches of water on slick painted concrete. An American hotel would never have that kind of thing due to liability and injury concerns. This didn’t stop me from letting Lucas play there, but I did wonder if that made me a bad parent. The water park was pretty busy with dozens of other kids so apparently I wasn’t the only bad parent. Many kids ran around with even less supervision than I was giving Lucas. The food was good, better than expected I’d say. In particular the meats were always very good, or excellent. The food tended to cater to the mostly Mexican guests, but I enjoyed it even though Mexican food isn’t usually my favorite. Unfortunately as with any all inclusive, even if it’s very good, by day 4 or 5, you’re kind of sick of it anyways. And of course, we ate too much.

I did play a round of golf at the Vista Vallarta golf course with my brother-in-law. It’s a nice course, well maintained, it only cost us I think $60/round but that was a discounted rate. I don’t play much golf and I’m bad, so I’m not sure how I’d describe it, but it was a bit tricky and had a lot of ditches. I saw a lot of sand play and lost many many balls. The good news was that I shot 10 strokes better on the back 9. The bad news was that I shot a 78 on the front nine, and that might’ve been a bit generous.

We bought a nice cake for Lauren’s birthday, unfortunately it didn’t taste quite as good as it looked. It was very nutty and heavily sauced inside.

We also got to swim with some dolphins while we were there. I figured it was kind of a once in a lifetime thing, so I might as well try. It was more fun than I imagined, though my expectations were probably a bit low. Dolphins are cool.

Pictures at http://tierneychen.shutterfly.com/1972.

Comments off