SandForce 1222 SSD Testing, Part 1: Initial Throughput Results
SandForce has developed a very interesting and unique SSD controller that uses real-time data compression. This can improve performance (throughput) and extend the life of the SSD but it hinges upon the compressibility of your data. This article is the first part in a series that examines the performance of a SandForce 1222-based SSD and the impact of data compressibility.
Thursday, March 31st, 2011
Introduction
SandForce is a relatively new company that has developed a unique SSD controller. It’s fairly well known that their controllers use real-time data compression within the controller. While this doesn’t increase the capacity of the SSD it can increase the throughput and increase the number of rewrite cycles of an SSD (i.e. the “life” of the SSD). What makes it even more interesting is that performance and longevity of the SSD depend upon your data (very unique and exciting concept). If your data is very compressible then you get a performance boost and a longer lasting SSD. If your data is very incompressible, then you don’t get any performance boost and the SSD will last as long as any other with the same type of cells.
Having this flexibility in your SSD creates the opportunity for what I like to think of as “re-design” of your application to take advantage of the real-time compression. You can write your application(s), if you write your own, so that the data is easier to compress. For example, you could switch from binary data to pure text data. This can improve performance and longevity because text is fairly easy to compress, but it could also mean that the space used by your data increases.
The obvious key to using SandForce based SSDs is the compressibility of the data. When I discuss this issue with various people I almost always get the same immediate response – “my data is very incompressible.” However, some simple experiments I have done show that quite a few different data types have some level of compressibility (albeit I looked primarily at HPC data types). Some data types I have examined have remarkably compressible data despite the fact that they are “binary”. So before you react with the same initial answer that your data is incompressible I think it behooves you to examine your data and to test a SandForce based SSD. Of course there will always be exceptions such as heavily encrypted data or data that has been compressed using gzip, but for the majority of situations, you should examine the compressibility of your data (however, let me also point out that I know one compression company that can compress even already compressed data files and heavily encrypted data).
This article examines the performance of a 64GB Micro Center SSD that uses a SandForce 1222 controller. This is a very inexpensive drive that gives you about 60GB of useable space for just under $100. ($1.67/GB). The specifications on the website state the drive has a SATA 3.0 Gbps interface (SATA II), and has a performance of up to 270 MB/s for writes, 280 MB/s for reads, and up to 50,000 IOPS.
For examining the performance, this article uses IOzone to test the throughput capability of the SandForce SSD. IOZone has the capability of specifying the “dedup” level of the data used in the tests. This “dedupability” is basically the same thing as “compressibility” so it will allow me to control the level of data compression in the testing. The details of the configurations are below as are the details of the benchmarks and tests run. It’s been a while since I’ve presented benchmarks, but we always need to use our good benchmarking techniques so now would be a good time to review them.
IOzone
IOzone is one of the most popular throughput benchmarks. It’s open-source and is written in very plain ANSI C (not an insult but a compliment). It is capable of single thread, multi-threaded, and multi-client testing. The basic concept of IOzone is to break up a file of a given size into records. Records are written or read in some fashion until the file size is reached. Using this concept, IOzone has a number of tests that can be performed:
- Write
This is a fairly simple test that simulates writing to a new file. Because of the need to create new metadata for the file, many times the writing of a new file can be slower than rewriting to an existing file. The file is written using records of a specific length (either specified by the user or chosen automatically by IOzone) until the total file length has been reached.
- Re-write
This test is similar to the write test but measures the performance of writing to a file that already exists. Since the file already exists and the metadata is present, it is commonly expected for the re-write performance to be greater than the write performance. This particular test opens the file, puts the file pointer at the beginning of the file, and then writes to the open file descriptor using records of a specified length until the total file size is reached. Then it closes the file which updates the metadata.
- Read
This test reads an existing file. It reads the entire file, one record at a time.
- Re-read
This test reads a file that was recently read. This test is useful because operating systems and file systems will maintain parts of a recently read file in cache. Consequently, re-read performance should be better than read performance because of the cache effects. However, sometimes the cache effect can be mitigated by making the file much larger than the amount of memory in the system.
- Random Read
This test reads a file with the accesses being made to random locations within the file. The reads are done in record units until the total reads are the size of the file. The performance of this test is impacted by many factors including the OS cache(s), the number of disks and their configuration, disk seek latency, and disk cache among others.
- Random Write
The random write test measures the performance when writing a file with the accesses being made to random locations with the file. The file is opened to the total file size and then the data is written in record sizes to random locations within the file.
- Backwards Read
This is a unique file system test that reads a file backwards. There are several applications, notably, MSC Nastran, that read files backwards. There are some file systems and even OS’s that can detect this type of access pattern and enhance the performance of the access. In this test a file is opened and the file pointer is moved 1 record forward and then the file is read backward one record. Then the file pointer is moved 2 records forward in the file, and the process continues.
- Record Rewrite
This test measures the performance when writing and re-writing a particular spot with a file. The test is interesting because it can highlight “hot spot” capabilities within a file system and/or an OS. If the spot is small enough to fit into the various cache sizes; CPU data cache, TLB, OS cache, file system cache, etc., then the performance will be very good.
- Strided Read
This test reads a file in what is called a strided manner. For example, you could read at a file offset of zero for a length of 4 Kbytes, then seek 200 Kbytes forward, then read for 4 Kbytes, then seek 200 Kbytes, and so on. The constant pattern is important and the “distance” between the reads is called the stride (in this case it is 200 Kbytes). This access pattern is used by many applications that are reading certain data structures. This test can highlight interesting issues in file systems and storage because the stride could cause the data to miss any striping in a RAID configuration, resulting in poor performance.
- Fwrite
This test measures the performance of writing a file using a library function “fwrite()”. It is a binary stream function (examine the man pages on your system to learn more). Equally important, the routine performs a buffered write operation. This buffer is in user space (i.e. not part of the system caches). This test is performed with a record length buffer being created in a user-space buffer and then written to the file. This is repeated until the entire file is created. This test is similar to the “write” test in that it creates a new file, possibly stressing the metadata performance.
- Refwrite
This test is similar to the “rewrite” test but using the fwrite() library function. Ideally the performance should be better than “Fwrite” because it uses an existing file so the metadata performance is not stressed in this case.
- Fread
This is a test that uses the fread() libary function to read a file. It opens a file, and reads it in record lengths into a buffer that is in user space. This continues until the entire file is read.
- Refread
This test is similar to the “reread” test but uses the “fread()” library function. It reads a recently read file which may allow file system or OS cache buffers to be used, improving performance.
There are other options that can be tested, but for this exploration only the previously mentioned tests will be examined. However, even this list of tests is fairly extensive and covers a large number of application access patterns that you are likely to see (but not all of them).
There are a large number of command line options available for IOzone, far more than will be covered here. The next sections will present the test system as well as the specific IOzone commands used.
Test System
Comments on "SandForce 1222 SSD Testing, Part 1: Initial Throughput Results"
hoverboard 700 watt quotes
new hoverboard real or fake video
hoverboard new laws passed
hoverboard 20000 dollars
hoverboard laws wisconsin
hoverboard repair nashville hours
hoverboard battery recall
hoverboard not working windows
lexus and hoverboard
hoverboard 62 dollars 2016
hoverboard lamborghini edition
hoverboard at the mall jobs
hoverboard reviews swagway shirt
hoverboard completely real
hoverboard new law january 1st
hoverboard real lexus of
Thanks for the auspicious writeup. It in fact was once a enjoyment account it.Look advanced to far brought agreeable from you!By the way, how can we be in contact?Also visit my web page … best credit report monitoring services (tangounidad.de)
If some one wants to be updated with newest technologies therefore he must be pay a visit this website and be up to date every day.Also visit my web-site y
Wow that was unusual. I just wrote an really long comment but after I clicked submit my comment didn’t show up.Grrrr… well I’m not writing all that over again. Anyway, just wanted to say great blog!my homepage; credit fraud alert equifax
I really wanted to write down a message to thank you for all of the great pointers you are giving out on this site. My particularly long internet research has at the end of the day been honored with high-quality points to write about with my family and friends. I would believe that many of us visitors actually are extremely lucky to live in a fantastic place with very many wonderful people with helpful basics. I feel somewhat blessed to have encountered your webpage and look forward to really more thrilling moments reading here. Thank you once more for all the details.
Ridiculous story there. What occurred after? Good luck!Look at my blog post – hardwood floor vacuum and steamer reviews
I like the helpful information you provide in your articles.I’ll bookmark your blog and check again here frequently.I’m quite certain I’ll learn a lot of new stuff right here!Good luck for the next!my blog – credit monitoring services (http://www.amamacerata.it)
hello there and thank you for your information – I’ve certainly picked up something new from right here.I did however expertise a few technical points using this site, since I experienced to reload the site many times previous to I could get it to load correctly.I had been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will often affect your placement in google and could damage your quality score if ads and marketing with Adwords. Anyway I am adding this RSS to my e-mail and can look out for much more of your respective fascinating content.Ensure that you update this again very soon.Visit my website – forskolin price (Carissa)
You made some decent points there. I checked on the net to find out more about the issue and found most people will go along with your views on this site.Feel free to visit my blog post – y latina
Hi, just wanted to say, I liked this blog post. It was funny.Keep on posting!Here is my page … allsportslive24.com
Hello there I am so excited I found your blog page, I really found you by mistake, while I was browsing on Bing for something else, Nonetheless I am here now and would just like to say thank you for a tremendous post and a all round interesting blog (I also love the theme/design), I don’t have time to browse it all at the moment but I have bookmarked it and also included your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the great job.Here is my website – forskolin extract, Piper,
Fantastic beat ! I would like to apprentice at the same time as you amend your web site, how can i subscribe for a blog site? The account helped me a appropriate deal. I had been a little bit familiar of this your broadcast offered vivid clear ideaTake a look at my site; y
I know this if off topic but I’m looking into starting my own weblog and was wondering what all is required to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet smart so I’m not 100% certain. Any tips or advice would be greatly appreciated.Appreciate itFeel free to surf to my page; people who buy cars for cash
That is a very good tip especially to those fresh to the blogosphere.Brief but very precise info… Many thanks for sharing this one.A must read article!Here is my homepage we buy used cars running or not
I simply want to tell you that I’m very new to blogging and absolutely liked this web page. Very likely I’m likely to bookmark your blog post . You definitely have wonderful articles. Thanks a lot for sharing with us your blog site.
If some one wants to be updated with hottest technologies then he must be visit this web page and be up to date daily.Also visit my web blog; forskolin images
I have been browsing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my view, if all site owners and bloggers made good content as you did, the web will be a lot more useful than ever before.Here is my web-site; forskolin reviews
Very nice post. I just stumbled upon your weblog and wanted to say that I’ve really enjoyed browsing your blog posts. In any case I will be subscribing to your rss feed and I hope you write again soon!Have a look at my homepage; Hoteluri De Lux Mamaia
This paragraph offers clear idea designed for the new people of blogging, that in fact how to do blogging.Feel free to visit my web blog :: forskolin for weight loss
Check beneath, are some entirely unrelated web-sites to ours, nonetheless, they’re most trustworthy sources that we use.
Fine way of describing, and fastidious paragraph to get facts regarding my presentation subject, which i am going to present in college.Also visit my homepage :: virtual weight loss model
Hi there! I’m at work browsing your blog from my new iphone 3gs! Just wanted to say I love reading your blog and look forward to all your posts! Keep up the excellent work!My blog :: forskolin for weight loss – propeciacheter.com,
Thanks designed for sharing such a good idea, article is pleasant, thats why i have read it fullyAlso visit my webpage san clemente storage
It’s hard to find well-informed people on this subject, but you sound like you know what you’re talking about!ThanksMy blog fishinggames
Good site you have here.. It’s hard to find high quality writing like yours nowadays. I seriously appreciate individuals like you!Take care!!my weblog 3 bureau credit monitoring services
Please let me know if you’re looking for a writer for your blog. You have some really great articles and I think I would be a good asset. If you ever want to take some of the load off, I’d really like to write some articles for your blog in exchange for a link back to mine.Please send me an email if interested. Kudos!Stop by my blog :: indentity monitor
What’s up, after reading this awesome article i am as well cheerful to share my experience here with mates.My blog post – best credit service (http://cgi.www5a.biglobe.ne.jp/~t-masa/g_book.cgi/RK=0/RS=xND7l6QiPgm4ZiRxDuowKGD0Kl0)
Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts.Any way I’ll be subscribing to your augment and even I achievement you access consistently fast.My weblog :: monitor services (www2.famille.ne.jp)
Fantastic website. Lots of helpful info here. I am sending it to several pals ans additionally sharing in delicious.And certainly, thank you on your sweat!Take a look at my web page … apts for rent in oceanside ca