Storing and safeguarding electronic content may be beneficial in modern business and elsewhere. Accordingly, various methodologies may be employed to protect and distribute such electronic content.
Whether public or private, data centers are complicated systems requiring expertise to handle them. As the storage market becomes commoditized, AI-driven systems are becoming a critical differentiator. For example, artificial intelligence and machine learning may be used to optimize and automate system behavior, analyze the system interactions with customers and applications, and provide real-time and proactive error detection and self-healing.
Detection of performance anomalies can indicate storage system problems such as hardware or software failures, resource contention, inappropriate configuration, incorrect usage of the system by users or applications, a security concern, or changes in the system workload that, if unresolved, may result in poor storage system performance and/or storage system failure.
In one example implementation, a computer-implemented method executed on a computing device may include, but is not limited to, processing historical input/output (IO) performance data associated with one or more storage objects of a storage system. A smoothing model may be applied on at least a portion of the historical IO performance data to generate forecast IO performance data. The forecast IO performance data may be compared to observed IO performance data to generate one or more performance differentials. A normal IO performance range may be generated based upon, at least in part, the one or more performance differentials. One or more IO performance anomalies may be detected based upon, at least in part, the normal IO performance range.
One or more of the following example features may be included. Processing historical IO performance data associated with one or more storage objects of a storage system may include processing historical IO performance data for each IO performance metric of a plurality of IO performance metrics separately. Applying a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data may include applying a plurality of smoothing models on the at least a portion of the historical IO performance data; and selecting a highest performing smoothing model from the plurality of smoothing models based upon, at least in part, a predefined accuracy metric. A multiplier value may be defined for the normal IO performance range. Generating a normal IO performance range based upon, at least in part, the one or more performance differentials may be further based upon the multiplier value defined for the normal IO performance range. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include determining an amplitude and a duration of one or more IO performance outliers based upon, at least in part, the normal IO performance range; and detecting the one or more IO performance anomalies based upon, at least in part, one or more of the amplitude and the duration of the one or more IO performance outliers. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include detecting a sequence of at least a predefined number of IO performance outliers based upon, at least in part, the normal IO performance range.
In another example implementation, a computer program product resides on a computer readable medium that has a plurality of instructions stored on it. When executed by a processor, the instructions cause the processor to perform operations that may include, but are not limited to, processing historical input/output (IO) performance data associated with one or more storage objects of a storage system. A smoothing model may be applied on at least a portion of the historical IO performance data to generate forecast IO performance data. The forecast IO performance data may be compared to observed IO performance data to generate one or more performance differentials. A normal IO performance range may be generated based upon, at least in part, the one or more performance differentials. One or more IO performance anomalies may be detected based upon, at least in part, the normal IO performance range.
One or more of the following example features may be included. Processing historical IO performance data associated with one or more storage objects of a storage system may include processing historical IO performance data for each IO performance metric of a plurality of IO performance metrics separately. Applying a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data may include applying a plurality of smoothing models on the at least a portion of the historical IO performance data; and selecting a highest performing smoothing model from the plurality of smoothing models based upon, at least in part, a predefined accuracy metric. A multiplier value may be defined for the normal IO performance range. Generating a normal IO performance range based upon, at least in part, the one or more performance differentials may be further based upon the multiplier value defined for the normal IO performance range. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include determining an amplitude and a duration of one or more IO performance outliers based upon, at least in part, the normal IO performance range; and detecting the one or more IO performance anomalies based upon, at least in part, one or more of the amplitude and the duration of the one or more IO performance outliers. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include detecting a sequence of at least a predefined number of IO performance outliers based upon, at least in part, the normal IO performance range.
In another example implementation, a computing system includes at least one processor and at least one memory architecture coupled with the at least one processor, wherein the at least one processor is configured to process historical input/output (IO) performance data associated with one or more storage objects of a storage system. The at least one processor may be further configured to apply a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data. The at least one processor may be further configured to compare the forecast IO performance data to observed IO performance data to generate one or more performance differentials. The at least one processor may be further configured to generate a normal IO performance range based upon, at least in part, the one or more performance differentials. The at least one processor may be further configured to detect one or more IO performance anomalies based upon, at least in part, the normal IO performance range.
One or more of the following example features may be included. Processing historical IO performance data associated with one or more storage objects of a storage system may include processing historical IO performance data for each IO performance metric of a plurality of IO performance metrics separately. Applying a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data may include applying a plurality of smoothing models on the at least a portion of the historical IO performance data; and selecting a highest performing smoothing model from the plurality of smoothing models based upon, at least in part, a predefined accuracy metric. A multiplier value may be defined for the normal IO performance range. Generating a normal IO performance range based upon, at least in part, the one or more performance differentials may be further based upon the multiplier value defined for the normal IO performance range. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include determining an amplitude and a duration of one or more IO performance outliers based upon, at least in part, the normal IO performance range; and detecting the one or more IO performance anomalies based upon, at least in part, one or more of the amplitude and the duration of the one or more IO performance outliers. Detecting one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include detecting a sequence of at least a predefined number of IO performance outliers based upon, at least in part, the normal IO performance range.
The details of one or more example implementations are set forth in the accompanying drawings and the description below. Other possible example features and/or possible example advantages will become apparent from the description, the drawings, and the claims. Some implementations may not have those possible example features and/or possible example advantages, and such possible example features and/or possible example advantages may not necessarily be required of some implementations.
Like reference symbols in the various drawings indicate like elements.
Referring to
As is known in the art, a SAN may include one or more of a personal computer, a server computer, a series of server computers, a mini computer, a mainframe computer, a RAID device and a NAS system. The various components of storage system 12 may execute one or more operating systems, examples of which may include but are not limited to: Microsoft® Windows®; Mac® OS X®; Red Hat® Linux®, Windows® Mobile, Chrome OS, Blackberry OS, Fire OS, or a custom operating system. (Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States, other countries or both; Mac and OS X are registered trademarks of Apple Inc. in the United States, other countries or both; Red Hat is a registered trademark of Red Hat Corporation in the United States, other countries or both; and Linux is a registered trademark of Linus Torvalds in the United States, other countries or both).
The instruction sets and subroutines of anomaly detection process 10, which may be stored on storage device 16 included within storage system 12, may be executed by one or more processors (not shown) and one or more memory architectures (not shown) included within storage system 12. Storage device 16 may include but is not limited to: a hard disk drive; a tape drive; an optical drive; a RAID device; a random access memory (RAM); a read-only memory (ROM); and all forms of flash memory storage devices. Additionally/alternatively, some portions of the instruction sets and subroutines of anomaly detection process 10 may be stored on storage devices (and/or executed by processors and memory architectures) that are external to storage system 12.
Network 14 may be connected to one or more secondary networks (e.g., network 18), examples of which may include but are not limited to: a local area network; a wide area network; or an intranet, for example.
Various IO requests (e.g. IO request 20) may be sent from client applications 22, 24, 26, 28 to storage system 12. Examples of IO request 20 may include but are not limited to data write requests (e.g., a request that content be written to storage system 12) and data read requests (e.g., a request that content be read from storage system 12).
The instruction sets and subroutines of client applications 22, 24, 26, 28, which may be stored on storage devices 30, 32, 34, 36 (respectively) coupled to client electronic devices 38, 40, 42, 44 (respectively), may be executed by one or more processors (not shown) and one or more memory architectures (not shown) incorporated into client electronic devices 38, 40, 42, 44 (respectively). Storage devices 30, 32, 34, 36 may include but are not limited to: hard disk drives; tape drives; optical drives; RAID devices; random access memories (RAM); read-only memories (ROM), and all forms of flash memory storage devices. Examples of client electronic devices 38, 40, 42, 44 may include, but are not limited to, personal computer 38, laptop computer 40, smartphone 42, notebook computer 44, a server (not shown), a data-enabled, cellular telephone (not shown), and a dedicated network device (not shown).
Users 46, 48, 50, 52 may access storage system 12 directly through network 14 or through secondary network 18. Further, storage system 12 may be connected to network 14 through secondary network 18, as illustrated with link line 54.
The various client electronic devices may be directly or indirectly coupled to network 14 (or network 18). For example, personal computer 38 is shown directly coupled to network 14 via a hardwired network connection. Further, notebook computer 44 is shown directly coupled to network 18 via a hardwired network connection. Laptop computer 40 is shown wirelessly coupled to network 14 via wireless communication channel 56 established between laptop computer 40 and wireless access point (e.g., WAP) 58, which is shown directly coupled to network 14. WAP 58 may be, for example, an IEEE 802.11a, 802.11b, 802.11g, 802.11n, Wi-Fi, and/or Bluetooth device that is capable of establishing wireless communication channel 56 between laptop computer 40 and WAP 58. Smartphone 42 is shown wirelessly coupled to network 14 via wireless communication channel 60 established between smartphone 42 and cellular network/bridge 62, which is shown directly coupled to network 14.
Client electronic devices 38, 40, 42, 44 may each execute an operating system, examples of which may include but are not limited to Microsoft® Windows®; Mac® OS X®; Red Hat® Linux®, Windows® Mobile, Chrome OS, Blackberry OS, Fire OS, or a custom operating system. (Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States, other countries or both; Mac and OS X are registered trademarks of Apple Inc. in the United States, other countries or both; Red Hat is a registered trademark of Red Hat Corporation in the United States, other countries or both; and Linux is a registered trademark of Linus Torvalds in the United States, other countries or both).
In some implementations, as will be discussed below in greater detail, an anomaly detection process, such as anomaly detection process 10 of
For example purposes only, storage system 12 will be described as being a network-based storage system that includes a plurality of electro-mechanical backend storage devices. However, this is for example purposes only and is not intended to be a limitation of this disclosure, as other configurations are possible and are considered to be within the scope of this disclosure.
Referring also to
While storage targets 102, 104, 106, 108 are discussed above as being configured in a RAID 0 or RAID 1 array, this is for example purposes only and is not intended to be a limitation of this disclosure, as other configurations are possible. For example, storage targets 102, 104, 106, 108 may be configured as a RAID 3, RAID 4, RAID 5 or RAID 6 array.
While in this particular example, storage system 12 is shown to include four storage targets (e.g. storage targets 102, 104, 106, 108), this is for example purposes only and is not intended to be a limitation of this disclosure. Specifically, the actual number of storage targets may be increased or decreased depending upon e.g., the level of redundancy/performance/capacity required.
Storage system 12 may also include one or more coded targets 110. As is known in the art, a coded target may be used to store coded data that may allow for the regeneration of data lost/corrupted on one or more of storage targets 102, 104, 106, 108. An example of such a coded target may include but is not limited to a hard disk drive that is used to store parity data within a RAID array.
While in this particular example, storage system 12 is shown to include one coded target (e.g., coded target 110), this is for example purposes only and is not intended to be a limitation of this disclosure. Specifically, the actual number of coded targets may be increased or decreased depending upon e.g. the level of redundancy/performance/capacity required.
Examples of storage targets 102, 104, 106, 108 and coded target 110 may include one or more electro-mechanical hard disk drives and/or solid-state/flash devices, wherein a combination of storage targets 102, 104, 106, 108 and coded target 110 and processing/control systems (not shown) may form data array 112.
The manner in which storage system 12 is implemented may vary depending upon e.g. the level of redundancy/performance/capacity required. For example, storage system 12 may be a RAID device in which storage processor 100 is a RAID controller card and storage targets 102, 104, 106, 108 and/or coded target 110 are individual “hot-swappable” hard disk drives. Another example of such a RAID device may include but is not limited to an NAS device. Alternatively, storage system 12 may be configured as a SAN, in which storage processor 100 may be e.g., a server computer and each of storage targets 102, 104, 106, 108 and/or coded target 110 may be a RAID device and/or computer-based hard disk drives. Further still, one or more of storage targets 102, 104, 106, 108 and/or coded target 110 may be a SAN.
In the event that storage system 12 is configured as a SAN, the various components of storage system 12 (e.g. storage processor 100, storage targets 102, 104, 106, 108, and coded target 110) may be coupled using network infrastructure 114, examples of which may include but are not limited to an Ethernet (e.g., Layer 2 or Layer 3) network, a fiber channel network, an InfiniBand network, or any other circuit switched/packet switched network.
Storage system 12 may execute all or a portion of anomaly detection process 10. The instruction sets and subroutines of anomaly detection process 10, which may be stored on a storage device (e.g., storage device 16) coupled to storage processor 100, may be executed by one or more processors (not shown) and one or more memory architectures (not shown) included within storage processor 100. Storage device 16 may include but is not limited to: a hard disk drive; a tape drive; an optical drive; a RAID device; a random access memory (RAM); a read-only memory (ROM); and all forms of flash memory storage devices. As discussed above, some portions of the instruction sets and subroutines of anomaly detection process 10 may be stored on storage devices (and/or executed by processors and memory architectures) that are external to storage system 12.
As discussed above, various IO requests (e.g. IO request 20) may be generated. For example, these IO requests may be sent from client applications 22, 24, 26, 28 to storage system 12. Additionally/alternatively and when storage processor 100 is configured as an application server, these IO requests may be internally generated within storage processor 100. Examples of IO request 20 may include but are not limited to data write request 116 (e.g., a request that content 118 be written to storage system 12) and data read request 120 (i.e. a request that content 118 be read from storage system 12).
During operation of storage processor 100, content 118 to be written to storage system 12 may be processed by storage processor 100. Additionally/alternatively and when storage processor 100 is configured as an application server, content 118 to be written to storage system 12 may be internally generated by storage processor 100.
Storage processor 100 may include frontend cache memory system 122. Examples of frontend cache memory system 122 may include but are not limited to a volatile, solid-state, cache memory system (e.g., a dynamic RAM cache memory system) and/or a non-volatile, solid-state, cache memory system (e.g., a flash-based, cache memory system).
Storage processor 100 may initially store content 118 within frontend cache memory system 122. Depending upon the manner in which frontend cache memory system 122 is configured, storage processor 100 may immediately write content 118 to data array 112 (if frontend cache memory system 122 is configured as a write-through cache) or may subsequently write content 118 to data array 112 (if frontend cache memory system 122 is configured as a write-back cache).
Data array 112 may include backend cache memory system 124. Examples of backend cache memory system 124 may include but are not limited to a volatile, solid-state, cache memory system (e.g., a dynamic RAM cache memory system) and/or a non-volatile, solid-state, cache memory system (e.g., a flash-based, cache memory system). During operation of data array 112, content 118 to be written to data array 112 may be received from storage processor 100. Data array 112 may initially store content 118 within backend cache memory system 124 prior to being stored on e.g. one or more of storage targets 102, 104, 106, 108, and coded target 110.
As discussed above, the instruction sets and subroutines of anomaly detection process 10, which may be stored on storage device 16 included within storage system 12, may be executed by one or more processors (not shown) and one or more memory architectures (not shown) included within storage system 12. Accordingly, in addition to being executed on storage processor 100, some or all of the instruction sets and subroutines of anomaly detection process 10 may be executed by one or more processors (not shown) and one or more memory architectures (not shown) included within data array 112.
Further and as discussed above, during the operation of data array 112, content (e.g., content 118) to be written to data array 112 may be received from storage processor 100 and initially stored within backend cache memory system 124 prior to being stored on e.g. one or more of storage targets 102, 104, 106, 108, 110. Accordingly, during use of data array 112, backend cache memory system 124 may be populated (e.g., warmed) and, therefore, subsequent read requests may be satisfied by backend cache memory system 124 (e.g., if the content requested in the read request is present within backend cache memory system 124), thus avoiding the need to obtain the content from storage targets 102, 104, 106, 108, 110 (which would typically be slower).
Referring also to the examples of
As discussed above, data centers are complicated systems requiring expertise to handle them. As the storage market becomes commoditized, AI-driven systems are becoming a critical differentiator. For example, artificial intelligence and machine learning may be used to optimize and automate system behavior, analyze the system interactions with customers and applications, and provide real-time and proactive error detection and self-healing.
Detection of performance anomalies can indicate storage system problems such as hardware or software failures, resource contention, inappropriate configuration, incorrect usage of the system by users or applications, a security concern, or changes in the system workload that, if unresolved, may result in poor storage system performance and/or storage system failure. However, it is difficult and impractical to obtain a training set of “labeled” performance traces, known to represent normal vs. a spectrum of abnormal system behavior. As such, conventional approaches to anomaly detection is almost always viewed as an unsupervised machine learning problem (i.e., it is assumed that no labeled data is available). The conventional approach essentially characterizes the normal range of the relevant variable or metric (e.g., IOPs, latency, bandwidth, CPU %, etc.) over a reference historical period. Values that are outside of the normal range are typically assumed to represent potential anomalies for that variable.
However, IO performance on storage systems can exhibit time-related trends and patterns, such as seasonality as well as cyclicality. For example, a new online game can have a growing population of players. A host running bank transactions may be busy during working hours and less busy during off-hours. An accounting application may spring into action on the first day of each month. A shopping web site may become very active during holidays or offer special discounts which may influence customer use, etc. Accordingly, conventional approaches to defining an IO performance anomaly fail to take such trends and patterns into account.
Anomaly detection process 10 may provide a practical and adaptable solution to the above-noted challenges by providing a set of machine learning models that can alert of IO performance anomalies in real-time by analyzing host IO patterns. As will be discussed in greater detail below, the implemented solution may analyze historical IP IO performance data from various time-series metrics to generate a historical seasonal range and detect IO performance anomalies. In this manner, anomaly detection process 10 may improve IO performance anomaly detection for a storage system over conventional systems and may utilize the improved IO performance anomaly detection to perform some remedial action (e.g., generate an alert for a storage administrator; provide recommendations based on the detected IO performance anomaly; and/or automatically adjust storage system properties (e.g., add or remove allocated storage space; throttle particular IO requests at specific points in time; etc.)).
In some implementations, anomaly detection process 10 may process 300 historical input/output (IO) performance data associated with one or more storage objects of a storage system. IO performance data may generally include host IO metrics that represent the IO processing performance for a storage system. Examples of IO performance data may include, but are not limited to, latency, read input/outputs per second (IOPS), write IOPS, total IOPS, and bandwidth. In some implementations, the historical IO performance data may be associated with one or more storage objects of a storage system. Storage objects may generally include any container or storage unit configured to store data within a storage system. For example, a storage objects may be any one of the following: a volume (aka Logical Unit Number (LUN)), a file, or parts thereof that may be defined e.g. by offsets or address ranges (e.g., sub-LUNs, disk extents, and/or slices).
While reference has been made to particular storage objects (i.e., one or more storage objects), the historical IO performance data may be defined for various levels of storage system granularity. For example, anomaly detection process 10 may process 300 historical IO performance data for a collection of storage objects; historical IO performance data for storage objects associated with a particular customer/entity; historical IO performance data for particular storage devices; and/or historical IO performance data for the entire storage system. Historical IO performance data may be stored locally within a particular storage system, may be stored remotely in a network-accessible location, and/or may be stored in a distributed manner across local and/or remote storage devices. In this manner, anomaly detection process 10 may import and/or otherwise access historical IO performance data for processing 300.
Processing 300 historical IO performance data associated with one or more storage objects of a storage system may include processing 310 historical IO performance data for each IO performance metric of a plurality of IO performance metrics separately. For example, anomaly detection process 10 may process 310 the historical time-series data for various performance metrics (e.g., read IOPS, write IOPS, latency, bandwidth, IO request size, etc.) separately for univariate analysis. Accordingly, anomaly detection process 10 may process 310 respective historical IO performance data for one IO performance metric separately from the processing of historical IO performance data from other IO performance metrics. In one example, anomaly detection process 10 may process 310 a predefined amount of historical IO performance data (e.g., the past 30 days) for each of the above metrics. While an example of e.g., 30 days has been described for the predefined amount of historical IO performance data, it will be appreciated that this is for example purposes only and that any amount or period of historical IO performance data may be processed 310 by anomaly detection process 10 within the scope of the present disclosure. For example, the predefined amount of historical IO performance data may be a default amount, a user-defined amount, and/or an automatically determined amount. In some implementations, a minimum amount of historical IO performance data (e.g., at least 48 hours) may be required before processing 310.
In some implementations, anomaly detection process 10 may apply 302 a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data. A smoothing model is a time series forecasting machine learning model for univariate data that can be extended to support data with a systematic trend or seasonal component. As is known in the art, a machine learning system or model may generally include an algorithm or combination of algorithms that has been trained to recognize certain types of patterns. For example, machine learning approaches may be generally divided into three categories, depending on the nature of the signal available: supervised learning, unsupervised learning, and reinforcement learning. As is known in the art, supervised learning may include presenting a computing device with example inputs and their desired outputs, given by a “teacher”, where the goal is to learn a general rule that maps inputs to outputs. With unsupervised learning, no labels are given to the learning algorithm, leaving it on its own to find structure in its input. Unsupervised learning can be a goal in itself (discovering hidden patterns in data) or a means towards an end (feature learning). As is known in the art, reinforcement learning may generally include a computing device interacting in a dynamic environment in which it must perform a certain goal (such as driving a vehicle or playing a game against an opponent). As it navigates its problem space, the machine learning model is provided feedback that's analogous to rewards, which it tries to maximize. While three examples of machine learning approaches have been provided, it will be appreciated that other machine learning approaches are possible within the scope of the present disclosure.
Applying 302 a smoothing model on at least a portion of the historical IO performance data may include removing fine-grained variation between time steps of the historical IO performance data. Examples of smoothing models may include, but are not limited to, a simple exponential model, a moving average model, a random walk model, and an exponential moving average model. As discussed above, anomaly detection process 10 may apply 302 the smoothing model on historical IO performance data associated with each IO performance metric, separately (e.g., applying a first smoothing model on read IOPS historical IO performance data, applying a second smoothing model on write IOPS performance data, etc.). It will also be appreciated that anomaly detection process 10 may apply smoothing algorithms associated with particular types of data trends. For example, a first smoothing model may be more accurate at forecasting IO performance data for accounting storage systems while a second smoothing model may be more accurate at forecasting IO performance data for ecommerce website. As such, it will be appreciated that anomaly detection process 10 may utilize any number of smoothing models for various storage systems. In some implementations, anomaly detection process 10 may limit the search space of the smoothing model's auto-search in order to mitigate the risk of overfitting to the historical IO performance data.
In some implementations, anomaly detection process 10 may receive a selection of a particular smoothing model as input when detecting IO performance anomalies. For example, anomaly detection process 10 may provide a graphical user interface for receiving a user-selection of a particular smoothing model. In another example, a default smoothing model and/or a default set of smoothing models may be defined for particular IO performance metrics (e.g., one smoothing model for read IOPS, another smoothing model for write IOPS, etc.).
Applying 302 a smoothing model on at least a portion of the historical IO performance data to generate forecast IO performance data may include applying 312 a plurality of smoothing models on the at least a portion of the historical IO performance data; and selecting 314 a highest performing smoothing model from the plurality of smoothing models based upon, at least in part, a predefined accuracy metric. For example, anomaly detection process 10 may access a listing or database of smoothing models to apply to at least a portion of the historical IO performance data. Anomaly detection process 10 may apply 312 some or all of the smoothing models on the historical IO performance data to generate forecast IO performance data associated with each smoothing model. Anomaly detection process 10 may determine the accuracy of the forecast IO performance data associated with each smoothing model. For example, anomaly detection process 10 may utilize a portion of historical IO performance data to test the accuracy of the smoothing model over time. In one example, suppose that Anomaly detection process 10 may utilize a predefined accuracy metric (e.g., a threshold minimum error rate or threshold accuracy metric) to rank the plurality of smoothing models. The predefined accuracy metric may be a default value, a user-defined value, and/or an automatically defined value. Anomaly detection process 10 may select 314 a highest performing smoothing model using the predefined accuracy metric. As discussed above, different smoothing models may be more accurate for different types of IO performance metrics (e.g., read IOPS, write IOPS, latency, etc.). Accordingly, anomaly detection process 10 may select 314 the highest performing smoothing model to generate forecast IO performance data for use in generating a normal IO performance range.
Referring also to
In some implementations, anomaly detection process 10 may compare 304 the forecast IO performance data to observed IO performance data to generate one or more performance differentials. A performance differential may generally include a difference between the forecast IO performance data and the observed IO performance data. Observed IO performance data may represent newly acquired IO performance data and/or historical IO performance data that is subsequent to the historical IO performance data used by smoothing model. In other words, the observed IO performance data may be utilized to determine the accuracy of the forecast IO performance data. For example, anomaly detection process 10 may utilize the one or more performance differentials to represent the difference between the forecast IO performance data and the observed IO performance data over time. In this manner and as will be discussed in greater detail below, anomaly detection process 10 may define a range of normal IO performance values for a given IO performance metric.
In some implementations, anomaly detection process 10 may define 316 a multiplier value for the normal IO performance range. A multiplier value may generally determine a lower and upper bound for normal IO performance values. In some implementations, there may be various types of multiplier values. In one example, the multiplier value may be the standard deviation of the smoothed series (e.g., the forecast IO performance data). In another example, the multiplier value may be the interquartile range (i.e., the spread difference between the 75th and 25th percentiles of the forecast IO performance data). In some implementations, the multiplier value may be tunable as it controls the width of the seasonal range and the number of anomalies detected. For example, the multiplier value may be a user-defined value (e.g., defined via a slider bar on a graphical user interface) where a smaller multiplier value may limit the lower and upper bounds for normal IO performance range while a larger multiplier value may expand the lower and upper bounds for the normal IO performance range. The multiplier value may be adjusted (e.g., by a storage administrator) to alter the normal IO performance as desired to fit to their environment.
In some implementations, anomaly detection process 10 may generate 306 a normal IO performance range based upon, at least in part, the one or more performance differentials. A normal IO performance range may include a range of IO performance values that are regular and not deemed an anomaly. As will be discussed in greater detail below, anomaly detection process 10 may isolate regular patterns in each time series to build a historical seasonal range. Everything outside of the normal IO performance range may be identified as an outlier and, in certain conditions, an anomaly. Referring also to
Generating 306 a normal IO performance range based upon, at least in part, the one or more performance differentials may be further based upon the multiplier value defined for the normal IO performance range. For example, anomaly detection process 10 may use the multiplier value (e.g., multiplier value 504) and the one or more performance differentials (e.g., one or more performance differentials 500) to generate the lower and upper values for the normal IO performance range. In this example, the multiplier value (e.g., multiplier value 504) may be multiplied with each of the one or more performance differentials (e.g., one or more performance differentials 500) to generate the normal IO performance range (e.g., normal IO performance range 502). If the multiplier value is larger (e.g., greater than one), the normal IO performance range may be expanded, thus reducing the number of potential IO performance outliers. If the multiplier value is smaller (e.g., less than one), the normal IO performance range may be restricted, thus increasing the number of potential IO performance outliers.
In some implementations, anomaly detection process 10 may detect 308 one or more IO performance anomalies based upon, at least in part, the normal IO performance range. An 10 performance anomaly may generally include an irregularity compared to the normal IO performance range. As discussed above, conventional approaches fail to account for time-related trends and patterns, such as seasonality as well as cyclicality. As shown in
In another example, anomaly detection process 10 may receive new IO performance data (e.g., in the form of additional IO requests) with the storage system. In this example, IO performance data (e.g., IO performance data 508) may be compared with normal IO performance range 502 to detect one or more IO performance outliers or IO performance anomalies. While examples have been provided for detecting 308 IO performance anomalies from historical IO performance data or from real-time/new IO performance data, it will be appreciated that anomaly detection process 10 may compare any IO performance data with the normal IO performance range to detect 308 one or more IO performance anomalies. As shown in the example of
As will be discussed in greater detail below, anomaly detection process 10 may detect 308 one or more anomalies by detecting one or more outliers outside the normal IO performance range. However, it will be appreciated that not all IO performance outliers may warrant a remedial action. For example, suppose that a routine maintenance event is intentionally skipped despite the routine maintenance event being accounted for in the historical IO performance data. In this example, the IO performance data may result in an IO performance outlier. However, anomaly detection process 10 may determine whether or not the one or more IO performance outliers are indeed IO performance anomalies using one or more predefined rules or conditions. These rules or conditions may include default rules or conditions, user-defined rules or conditions, or conditions determined by anomaly detection process 10. Additionally, anomaly detection process 10 may determine the severity or potential impact of an IO performance anomaly or combination of IO performance anomalies. For example and as will be discussed in greater detail below, anomaly detection process 10 may utilize an amplitude and a duration of one or more IO performance outliers to determine whether the one or more IO performance outliers are IO performance anomalies. Additionally/alternatively, anomaly detection process 10 may detect a sequence of at least a threshold number of IO performance outliers to determine whether the one or more IO performance outliers are IO performance anomalies. In this manner, anomaly detection process 10 may define a relative severity or impact associated with the one or more IO performance outliers when detecting one or more IO performance anomalies.
In some implementations, detecting 308 one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include determining 318 an amplitude and a duration of one or more IO performance outliers based upon, at least in part, the normal IO performance range; and detecting 320 the one or more IO performance anomalies based upon, at least in part, one or more of the amplitude and the duration of the one or more IO performance outliers. Referring also to
Suppose that anomaly detection process 10 determines 318 an amplitude of e.g., 250 read IOPS at IO performance outlier 604 compared to an upper bound of e.g., 200 read IOPS or 250 IOPS−200 IOPS=50 IOPS. Further suppose that the duration is e.g., 5 minutes or 300 seconds. Further suppose that anomaly detection process 10 determines 318 an amplitude of e.g., 700 read IOPS at performance outlier 606; 450 read IOPS at IO performance outlier 608; and 440 read IOPS at performance outlier 610. In this example, anomaly detection process 10 may determine 318 a duration for the combination of IO performance outliers 606, 608, 610 to be 15 minutes or 900 seconds. While an example has been provided with the combination of multiple IO performance outliers, it will be appreciated that anomaly detection process 10 may define a separate duration for each IO performance outlier.
Referring again to the example of
In some implementations, anomaly detection process 10 may define various thresholds for detecting IO performance anomalies. Referring again to the example of
Detecting 308 one or more IO performance anomalies based upon, at least in part, the normal IO performance range may include detecting 322 a sequence of at least a predefined number of IO performance outliers based upon, at least in part, the normal IO performance range. For example, anomaly detection process 10 may detect 322 an IO performance anomaly from a sequence of IO performance outliers. A sequence of IO performance outliers may generally include a sequence of contiguous IO performance outliers within a certain time range. In some implementations, a sequence of IO performance outliers may represent a higher impact on the storage system than an individual IO performance outlier. Anomaly detection process 10 may detect 322 an IO performance anomaly from a sequence of IO performance outliers when the sequence includes at least a predefined or threshold number of outliers within a certain time range. For example, the predefined threshold number of outliers and/or the time range may be a default value, a user-defined value, and/or automatically defined by anomaly detection process 10. In some implementations, anomaly detection process 10 may define various impact thresholds for different numbers of IO performance outliers within particular time ranges that define an IO performance anomaly (e.g., three IO performance outliers may constitute a “low” impact sequence; four to six IO performance outliers may constitute a “medium” impact sequence; and seven or more IO performance outliers may constitute a “high” impact sequence). It will be appreciated that any number of sequence thresholds for any time range or ranges may be defined for detecting IO performance anomalies within the scope of the present disclosure.
Returning to the above example of
In some implementations, anomaly detection process 10 may provide a graphical representation of the detected one or more IO performance anomalies as shown in
As will be appreciated by one skilled in the art, the present disclosure may be embodied as a method, a system, or a computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, the present disclosure may take the form of a computer program product on a computer-usable storage medium having computer-usable program code embodied in the medium.
Any suitable computer usable or computer readable medium may be utilized. The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific examples (a non-exhaustive list) of the computer-readable medium may include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a transmission media such as those supporting the Internet or an intranet, or a magnetic storage device. The computer-usable or computer-readable medium may also be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-usable medium may include a propagated data signal with the computer-usable program code embodied therewith, either in baseband or as part of a carrier wave. The computer usable program code may be transmitted using any appropriate medium, including but not limited to the Internet, wireline, optical fiber cable, RF, etc.
Computer program code for carrying out operations of the present disclosure may be written in an object oriented programming language such as Java, Smalltalk, C++ or the like. However, the computer program code for carrying out operations of the present disclosure may also be written in conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through a local area network/a wide area network/the Internet (e.g., network 14).
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to implementations of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer/special purpose computer/other programmable data processing apparatus, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that may direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures may illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, may be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular implementations only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various implementations with various modifications as are suited to the particular use contemplated.
A number of implementations have been described. Having thus described the disclosure of the present application in detail and by reference to implementations thereof, it will be apparent that modifications and variations are possible without departing from the scope of the disclosure defined in the appended claims.