Storage Workload Analysis Tool
SWAT have superior user interface (GUI) that allow user can easily understand what's going on in their I/O in system in various aspects. For example, response time, IOPS, MB/s, read/write ratio, queue depth, I/O distribution, block size and son. These information can help user to determine what's the bottleneck and potentially how to solve it by leveraging these information properly. For example, if read/write ratio shown that majority is write and user is suffering on response time, potentially change RAID configuration from RAID5 to RAID1 would help. Another example is that, if workload distribution is not balance to volume/LUNs and those volume/LUNs are not sitting on the same layout (disk group), potentially re-layout (by make one big disk group and put these LUNs on top) can leverage resource better and lead to have better response time (Share nothing v.s. Share everything concept).

Which method above the user can use?. It's really depend on how much information they want to know. STF is low level analysis but a lot of raw data generated. While SPM is high level analysis which can not give user in depth data but much lesser raw data. Usually, for user who don't know what's the right period to do data capturing, it's recommended to run SWAT in SPM mode to see what's the period within a day they are interested and run again with STF mode to zoom down the detail (1 hour period).
SWAT is not only doing I/O analysis but also can work & integrate with other tools very well such as VDBENCH tool. VDBENCH is the I/O workload simulation tool. SWAT can generate input (as a replay file) to VDBENCH tool for real workload simulation purpose. By running SWAT in STF mode (or unix script), it can re-generate the replay file that represent exact I/O activity in production system. This way will give user the great flexibility to test the storage configuration based on the real I/O behavior data without having real application running.
Sounds useful. We're in the process of setting up an Oracle cluster with Solaris x86 nodes and a StorageTek 2540. In depth I/O monitoring and logging would be very useful.
So where do we get it? Can't find it via Google - is it not public?
Posted by Chris Rijk on July 25, 2008 at 07:45 PM SGT #
SWAT is SUN's internal tool. Currently we (outside of SUN) cannot download it. I really hope it will change soon ... :-)
Posted by przemol on July 25, 2008 at 09:54 PM SGT #
SWAT has been released!
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SWAT-3.00-OTH-G-F@CDS-CDS_SMI
enjoy!
Posted by Kevin Cheng on August 01, 2008 at 08:43 AM SGT #