2009.Q2 Update for Size Calculator
By user12674320 on Jun 15, 2009
After introducing new storage expansion options on the 7210, and shipping large number of 7000 series Unified Storage Systems, we discovered that the size calculator tool was in need of a couple of improvements.
First, we needed to be able to model 7210 configurations with expansion modules. With the previous software, no expansion was possible, so I just maintained a simple table of the shipping configurations leaving the size calculator to handle the more intricate 7410 configurations, however adapting this to the new matrix of potential configurations is unwieldy at best.
Second, we wanted to be able to model the growth of systems over time. Customers who bought systems have been coming back and asking us questions like "If I add two more J4400's to my system, how much usable capacity will I have?". Previously, we would have run the calculator with the original configuration, recorded the output and then run the calculator again with the new configuration and added both capacities together. This was becoming annoying if you were mucking around with configurations to see the impact over time.
So, out of necessity the 2009.Q2 release of the size calculator was born. Eric Schrock decided to spend a little time to build a modeling feature into the tool to help answer complicated questions, and I built on his modifications to add 7210 support with configuration modeling.
The revised help message is a little more detailed than this (run sizecalc.py without any arguments to read it), but the examples should highlight the new features clearly. The coolest new feature is Eric's configuration modeling - it allows you to submit a number of configurations together and have the calculator add them together for you. Here is an example of the modeling feature in action:
$ ./sizecalc.py 172.16.131.131 \*\*\* 1 h1 add 1 h add 1 Sun Storage 7000 Size Calculator Version 2009.Q2 type NSPF width spares data drives raw (TB) usable (TiB) mirror False 2 5 42 21.00 18.80 raidz1 False 4 11 36 27.00 24.17 raidz2 False 10-11 4 43 35.00 31.33 raidz2 wide False 10-23 3 44 38.00 34.02 stripe False 0 0 47 47.00 42.08
We have supplied the configuration "1 h1 add 1 h add 1" which tells the size calculator that the initial configuration consists of 1 JBOD which is half full (the h in h1), and has one Log device (the 1 in h1), and that we will then add a second half JBOD (add 1 h), and later, we will add another full JBOD (add 1). The calculator then computes all three, and adds them together to produce the output shown. What's interesting is that you can see that the dual parity wide configurations have different widths, but the calculator just summarizes those as '10-23' and adds their contributed capacity to the pool.
When Eric's modeling feature is combined with my 7210 enhancements, we can also model the 7210 like this:
$ ./sizecalc.py 172.16.131.131 \*\*\* 1 t1 add 1 t Sun Storage 7000 Size Calculator Version 2009.Q2 type NSPF width spares data drives raw (TB) usable (TiB) mirror False 2 4 89 45.00 40.29 raidz1 False 4 6 87 66.00 59.09 raidz2 False 11 6 87 72.00 64.46 raidz2 wide False 44-46 4 89 86.00 76.99 stripe False 0 0 93 94.00 84.16
In this example, have supplied the configuration "1 t1 add 1 t" which tells the calculator to start with a single 7210 controller containing a single Log device (1 t1) and to add a J4500 expansion module (add 1 t).
As always, you can find the latest 7000 information in the Fishworks wiki. Happy calculating!
Update: The size calculator is currently unavailable. For more detail see here