Linux vs. z/OS: Which Is Best for your Mainframe?

Linux vs. z/OS: Which Is the Best Fit for Your Mainframe?

If you run an IBM mainframe today, you have to choose between two great operating systems options to power it:  Linux vs. z/OS. How do you decide? Here’s a guide to choosing the right operating system for your IBM mainframe.

Linux vs. z/OS: Which Is Best for your Mainframe?

A (Very) Brief History of Mainframe Operating Systems

If you have worked in the mainframe world for decades, you know that mainframes are much older than Linux-based operating systems. Mainframes originated in the 1940s. By the 1960s they had become common in businesses.

In contrast, the Linux kernel was born in 1991, and GNU, the project that provides many of the utilities necessary to build complete Linux-based operating systems, dates to the mid-1980s.

Download our free eBook: Archiving Mainframe Data for Regulatory Compliance

So, for the first several decades of the history of mainframe computing, Linux did not exist. The only operating system choices for IBM mainframes were systems developed by IBM itself: first, OS/360, which was replaced by OS/390, which was superseded in the early 2000s by z/OS.

z/OS remains IBM’s mainstay mainframe operating system today. But IBM is no enemy of Linux. On the contrary, IBM was the first big tech company to make a big bet on Linux, when it announced in the early 2000s that it would invest one billion dollars in the then-unproven free operating system.

In addition to z/OS, IBM also offers a Linux-based operating system for its mainframes.

Linux vs. z/OS

So, in terms of support and official endorsement from mainframe manufacturers, there is little difference between z/OS and Linux for mainframes. IBM promotes both platforms.

Functionally, there is also not much that is radically different between the two systems. You can perform most of the same tasks on z/OS that you can on Linux. Most mainframe apps can run on a Linux system, for example. However, some things are easier to do on z/OS than on Linux, and vice-versa.

Linux vs. z/OS: Which Is Best for your Mainframe?

It’s Linux vs. z/OS. See the four considerations below to decide which is the best fit for your mainframe.

Determining whether z/OS or Linux is the best fit for your mainframe, therefore, boils down to identifying exactly how you plan to use your mainframe and deciding which operating system platform will allow you to achieve your goals with the greatest ease.

Toward that end, here is a list of four considerations you should factor in when deciding between z/OS and Linux:

1. Which apps do you run?

If most of your workload involves native z/OS apps, run them on z/OS. While you can compile and execute apps written in COBOL on Linux, things will just be simpler using z/OS. On the other hand, if your main goal is to use the massive compute and storage power of your mainframe for hosting modern applications, you’ll be able to install and run them easily on Linux.

2. What’s your IT team’s background?

It’s much easier to find engineers with Linux expertise today than it is people who know mainframes. If you have a dedicated team of mainframe veterans already on staff, they’ll have no trouble supporting z/OS environments. Otherwise, Linux can be a better choice from a support perspective.

3. Backward- and forward- compatibility

How important is it to make sure your mainframe environment always remains compatible with the next generation of applications? If it’s very important, Linux may be a safer bet. Linux is less likely to become incompatible with next-generation applications than is z/OS. On the other hand, if you have decades-old mainframe applications that you expect to continue needing to support for decades to come, z/OS is a safer option. Linux may be able to run most of your mainframe apps today, but that could change in the future.

4. Efficiency

Are you bent on making full use of every CPU cycle of computing power and every bit of memory that your mainframe has to offer? If so, z/OS is a better option. That’s not because Linux as an operating system is less efficient in general, but because Linux on mainframes typically runs in virtual environments (through z/VM). Virtual environments are not as efficient as environments that run directly on your hardware. So, with Linux on your mainframe, you take a small performance and efficiency hit.

Keep in mind, too, that there is no reason why you can’t have the best of both worlds. You can use z/OS and Linux together on the same mainframe, thanks to z/VM virtual environments.

Still, you must decide exactly which workloads to devote to z/OS, and which to Linux. The guidelines above can help you with that.

Syncsort can help you plan your mainframe strategy too, by helping you optimize resources on the mainframe, saving time and money – money that can help you fund other projects, like one Syncsort can also help with by making it easy to access and integrate data from any mainframe environment into Hadoop and other modern analytics platforms.

To learn more, check out the eBook, Mainframe Meets Machine Learning, which explains the challenges and issues facing mainframes today, and how the benefits of machine learning could help alleviate some of these issues.

Christopher Tozzi

Authored by Christopher Tozzi

Christopher Tozzi has written about emerging technologies for a decade. His latest book, For Fun and Profit: A History of the Free and Open Source Software Revolution, is forthcoming with MIT Press in July 2017.
  1. There’s also another differentiating factor that is worth a mention in “this vs that” analysis, is where the calculating power comes from. I believe each operating system uses different processor; which has an impacts on the TCO.

  2. Hi Chistopher,
    Congratulations for your article!
    I agree with a hundred percent with what you said.
    But, I need to correct you about the first OS running on IBM Mainframes.
    Since the years 1960 and 1970, IBM Mainframes also running with others Operating Systems: VM (Virtual Machine) as a Hypervisor (with several versions, the last one, named z/VM) and DOS, DOS/VS. DOS/VSE and nowadays z/VSE.
    Best regards

  3. Thanks for sharing a knowledgeable article about linux and zos..but I am thinking linux is awesome comparing to zos.

Leave a Comment