📜 ⬆️ ⬇️

Silent revolution: flash memory in data centers

Flash memory is already revolutionizing data centers: data transfer to flash is the next step in the development of many centralized IT systems. Yes, it is quite expensive, it has its own characteristics - and yet today the question for data center administrators is no longer whether to use flash memory or not, but how and when to do it.



Here in this topic , introductory information has already been given, showing that new type of drives are noticeably faster and more reliable for threshing machines, on which heavy databases run. If it is possible to load flash storage with work (that is, to provide constant read-write operations), its content is much cheaper than the HDD array, plus you get a bunch of additional bonuses.
')
Below are tips on how to determine whether it is time to switch to this technology or not.

Let's start with simple facts.







PCI-e flash card write bandwidth and external flash storage system Violin VMA3205

What to use?



Corporate Applications

This is the first good use case. Flash memory improves two key indicators that are important for management and end users of IT systems: application availability and performance. Flash memory will perform in all its glory if two conditions are met:
  1. A fairly loaded application. Big Oracle, SAP, CRM, ERP, corporate portals are excellent candidates.
  2. Use external storage with duplicated controllers and server connections.


On the other hand, some consider switching to flash memory as a panacea for all ills. This is not the case, but the tool is really effective for increasing the productivity of corporate applications; it really allows achieving this at the lowest price compared to other solutions on the market. Before making a decision, you need to look at the download specifically for your system. As my practice shows, in 70-80% of cases the problem with the speed of the application is either directly related to the low speed of the disk subsystem, or the situation can be seriously improved by accelerating the disks.

By the way, this solution may not be obvious. For example, when the system indicates that the CPU is 100% busy, it is not necessary to automatically assume that the problem will be solved by adding a CPU. It is necessary to dig a level deeper and see what the processor is busy. Often it is busy waiting for input / output (IOWAIT). By speeding up the disk system, you can unload the CPU and solve the problem.

In order to understand whether there is a problem with the disk subsystem or not, it is necessary to plot the response time of the disk subsystem. Each OS has its own tools that make it easy to do this - perfmon, iostat, sar, nmon and others.

As a very general recommendation - if users complain about the lack of speed and response time of the disc - tens of milliseconds - something needs to be done with this. For example, this is the schedule of response of the volumes on which a rather large processing system was located. At such a speed, the data storage system worked quite badly for it, especially when people came into ATMs after work, or when the system summed up the day:



It often happens that even if the system slows down, they do not always complain about it. If the system slows down gradually, then people just get used to it. They cannot say whether it works well or badly — it works like yesterday, and this is the main thing. Users begin to complain if everything was good, and suddenly it became bad. This applies to many corporate applications that accumulate databases, order and customer information, and so on. Plus the fact that it works in the opposite direction. Therefore, if there is a fast and practical way to improve the user experience of the system, the IT specialist always looks like a wizard in the eyes of management. In this regard, our profession is something like everyday plumbing: it is easy to stand out when something has become bad, but it is very difficult to stand out because something has become better.

Virtualization

The second application for flash storage is virtualization, which almost everyone now has. Most companies introduce server virtualization, then workstations, and then go to the "cloud". From my practice - the majority of large customers are completing the first stage, this year is marked by a serious growth of projects on the virtualization of workstations. But, as we saw in the examples of several customers, often with the consolidation of a huge number of tasks for a small amount of iron, storage becomes the bottleneck.

If you try to add hundreds of machines in the data center to one large storage (where often only vertical scaling is possible, rather than installing dozens more), it often becomes the place that determines the speed of the entire system. This is very noticeable in workstation virtualization projects: problems often arise at the beginning of the working day, when everyone comes in, at lunchtime and at the end of the day. If before the computer was loaded 5 minutes, and now 15, and at the same time the user is also told that this is the most advanced technology, it becomes clear his displeasure. Moreover, the authorities are also dissatisfied: tens and hundreds of thousands of dollars were spent, and, judging by the form, it only became worse. Here you can again play the role of a good wizard.

You should also immediately voice such a moment: objectively, the space on storage systems, which is suitable for virtualization, is much more expensive than regular hard drives on servers. Just taking the volume that each user had and copying it to a large, good storage system will fail, we must somehow optimize the space.

A popular optimization technology when switching to storage is called a “golden image”. For example, when you need 1000 computers with Windows 7, you do not need to install 1000 distributions and occupy several terabytes of files of the operating system. The virtualization system will create one so-called “golden image” of the operating system. At the same time, all users will read from it, and only files other than those stored in the image will be stored on their virtual machines. It is clear that at the same time a huge number of read operations fall on a small amount of disk space. If the reference image somehow changes seriously (patches are put, for example), thousands of workstations are updated. Of course, this will also give a huge load on the storage system. Flash memory helps to relive such moments relatively easily and without forced pauses in the work process.

Savings: bonuses



Above, I already gave an example with a 100% CPU load while waiting for a read-write operation. If you reduce the time during which the processor is idle, waiting for the disk subsystem, you may need fewer processors to solve the main task. This can help delay the server upgrade.

In addition, most corporate software such as Oracle, SAP, VMware, and so on is licensed either by physical processors or by their cores. Accordingly, the customer, scaling horizontally, pays several tens of thousands for the processor (in high-end servers the prices are exactly like that), and then pays even more for software. But for the acceleration of its storage, which will give no less effect, pay the software manufacturers do not need anything.

Summary



If you have a high-load system, do an analysis of how much the existing storage system is enough for it. If you need to optimize the storage of information - you should at least try flash storage. A flush, like any new technology, is associated with a lot of superstitions, uncertainty about whether a solution is suitable or not plus a completely understandable conservatism. You can decide most often only in practice. Just try it: ask a flash system or several SSDs in your array for a test from a friendly vendor or system integrator, calculate the result and evaluate how much you really need it.

In the near future, the Violin Memory demo array comes to us, and now a small queue is being built. If you are interested in it (and you have tasks that require high power storage), you can write to me at dd@croc.ru.

Source: https://habr.com/ru/post/149710/


All Articles