News for hackers. Stuff that matters.
Re:Millennials and Mainframes: How to Bridge the Gap by natvert on Thursday September 13, 2018 @01:39PM (#17980633)
Ok, maybe this is a silly question, but I am a millennial.... Question: what is a mainframe and why would I want one? In my mind I think of it as a big, but inelastic, compute resource. If that's true, why wouldn't I want to use something horizontally scalable instead?
Re:Millennials and Mainframes: How to Bridge the Gap by johnklos on Thursday September 13, 2018 @02:57PM (#17981340)
Try this:

Ok, maybe this is a silly question, but I am {...}.... Question: what is a house and why would I want one? In my mind I think of it as a big, but inelastic, tent. If that's true, why wouldn't I want to just get multiple tents instead?

A mainframe is the kind of computer you can buy and set up, turn on, and run for two decades (or more, if you like) non-stop. It doesn't need reboots, it most often doesn't even need to be powered down for hardware replacement or upgrades. It's the epitome of reliability.

Most people don't care about reliability. Heck - most people use Windows, so they can't even possibly imagine what reliability and consistency might be like. Therefore, most people can't even imagine wanting reliability because what they have seems "good enough".

People who run services which should never go down, on the other hand, love mainframes.

Re:Millennials and Mainframes: How to Bridge the Gap by WoahNow on Thursday September 13, 2018 @03:56PM (#17981927)
Except when they do go down it can be a catastrophic business interrupting event. Which is why the cloud model of assume everything is going to break and all your hardware is disposable works much better (IMO).
Re:Millennials and Mainframes: How to Bridge the Gap by mr_toad on Thursday September 13, 2018 @09:38PM (#17984129)
Mainframes share a lot of similarities with cloud data centres. Redundant hot swappable components (even the CPUs in some models). Virtualised operating systems (VMs were invented for mainframes). These days it wouldn’t be unusual for some mainframes to be running mostly Linux instances.

You could almost think of a mainframe as a cloud in a box, and if one isn’t realiable enough, you can always run two or more.

Re:Millennials and Mainframes: How to Bridge the Gap by toomuchtodo on Thursday September 13, 2018 @06:33PM (#17983288)
AWS, Google Cloud, and Azure break more often than our mainframes. In this case, the cloud model is a con, essentially the self checkout lane at Walmart. You're paying more for the same ability you had before.

"Well, you want redundancy right? Well you're supposed to be redundant across AZs, and then regions, and then you're going to have to have disparate vendors to mitigate sole vendor risks." And then we're right back to hosting our own mainframes in our datacenters.

Re:Millennials and Mainframes: How to Bridge the Gap by nickpsecurity on Thursday September 13, 2018 @06:52PM (#17983420)
Clouds reinvent mainframes. They're still cheaper, run more FOSS, and have more talent available. They're a better form of lockin than mainframes.
Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @07:16PM (#17983551)
> They're still cheaper

Are they, though? Commodity hardware certainly is, but it's not as if cloud providers are charging a small margin on top of that. They're charging a multiple, potentially as large as 10x.

Combined with the parent's proposed need of multi-cloud, that could turn what might otherwise be a few hundred $k of commodity servers into a few $M of cloud costs, which I understand is the OOM the cost of a mainframe.

Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Thursday September 13, 2018 @09:28PM (#17984087)
Problem with IaaS clouds is that it is strictly less reliable than having your own infrastructure.

With IaaS typical reliability issue is that whole location/datacenter/AZ goes down, with your own infrastructure the typical issue is that the colo-facility/datacenter goes down, which would be essentially identical save the fact that with IaaS there is significantly larger probability that the reason for going down is some byzantine failure of orchestration automation, which in the self-hosted case either isn't there or is under your control.

One fact of running your own infrastructure is that you should plan for hardware failures, but not stress about it too much, because even entry-level enterprise-grade hardware just does not break (and if it does you will get signs that it is going to break well in advance).

Re:Millennials and Mainframes: How to Bridge the Gap by TheCoelacanth on Thursday September 13, 2018 @11:38PM (#17984521)
It is only strictly less reliable than having your own infrastructure if you assume the same level of organizational competence at running your own infrastructure as the IaaS has at running theirs.

That is certainly possible for an organization to achieve, but it isn't easy and it isn't cheap. It certainly can't be taken for granted.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Friday September 14, 2018 @12:54AM (#17984761)
> if you assume the same level of organizational competence at running your own infrastructure

I'm not sure that the competence required is organizational (e.g. people managing) so much as operational (e.g. best practices) and even technical, at least at sub-FAANMG scale.

> it isn't easy and it isn't cheap. It certainly can't be taken for granted.

I agree that it can't be taken for granted, but I disagree with it not being easy and cheap. Rather, combining the two, I don't believe it's necessarily hard nor necessarily expensive.

It just requires finding someone who both still has the competence, is willing to use it, and is willing to train others. Running your own infrastructure isn't actually difficult or complicated, but it's certainly not "sexy" and can be a bit tedious at times. That means it's possible to hire inexpensive, less (overall) experienced staff and have them handle that portion. Unfortunately, the "unsexy" part means finding someone to do the training, as well as the actual work when necessary, can be challenging, even though we're out there.

Even then, that's only necessary at substantial scale. In <1000 server environments, I've never had the hardware-specific [1] part of the work take up more than a quarter of one senior FTE (usually me).

What can get astronomically expensive is outsourcing the wrong things, though that ends up being a form of not actually running your own infrastructure (yourself).

Anecdote: I recently had a phone interview with a startup that moved from "hardware" to the cloud and the main reason cited was the inability to ramp capacity up fast enough (nor predictably fast enough), which seemed odd to me. One example of unpredictability of lead times involved a new server underperforming due to mis-applied thermal compound between the CPU and cooler, which I have never experienced [2]. I didn't ask the rhetorical question, "how could you have picked such a horrible VAR?!" Carefully re-reading the blog post about their transition gave me my "aha" moment: even though it's a company in the SFBA, their datacenter was out of state (maybe not even in a tech hub city, but it didn't specify). They were outsourcing the actual installation, running, and maintenance of their hardware to someone else, far away.

[1] for lack of a better term.. i.e. anything that an IaaS cloud provider would eliminate, including purchasing and vendor negotiations, colo space, network hardware and providers, hardware monitoring, and data destruction

[2] well, OK, that's a lie, since I've experienced it when I've personally done CPU moves/swaps/upgrades in exceptional circumstances, when I was out of practice, but I knew to test my work and caught the problem immediately. I've never had it happen with professionally-assembled systems, presumably because CPU coolers tend to arrive with the thermal compound pre-applied.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @10:15PM (#17984257)
Are you replying to the right sub-thread? I was asking about cost.

That said..

> Problem with IaaS clouds is that it is strictly less reliable than having your own infrastructure.

Although I'm a fan of running ones own hardware, I'm not sure I could make this claim. However, since I'd like to, do you have public data to back it up?

> orchestration automation, which in the self-hosted case either isn't there or is under your control.

I'm not sure how that would be different. Although a provider like AWS has portions of the automation toolchain not under your control, it's not obvious they're any more likely to fail (even due to some bizarre interoperability bug) than, say, BMC firmware, which is also not under your (full) control.

> One fact of running your own infrastructure is that you should plan for hardware failures, but not stress about it too much, because even entry-level enterprise-grade hardware just does not break (and if it does you will get signs that it is going to break well in advance).

This is something that I routinely have to point out to cloud proponents when they complain about having to "worry" about hardware failing: modern, commodity server hardware just doesn't fail often enough for it to be a significant consideration. Usually, it's just selection bias in that they remember every "nightmare" scenario from their past where hardware failed (possibly even as long as 20 years ago) but don't account for the overwhelming majority of times when it didn't.

Of course, there are notable exceptions, such as high-density "blade" or half-U servers, which often suffer from thermal design failures, but I argue that those are a departure from commodity, even if they appear identical if one squints.

Most importantly, though, it's not as if an IaaS cloud provider can somehow magically shield you from the consequences of such a failure: your VM will still go down. Sure, they have an arbitrarily large supply of spares to replace it, but you only ever need exactly 1 of those spares, and N+1 redundancy when self-hosted is very easy, if implemented merely as warm spares.

Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Friday September 14, 2018 @09:25AM (#17987002)
I started with some comparison of cost of big IaaS instances vs. mainframe vs. commodity HW and then got sidetracked on the reliability and ended up deleting the first paragraph :)

That said I believe that when your workload really necessitates such a big systems and if you can use all of the mainframes capability and have the capability to manage the mainframe (which requires Ops team with totally different skillset and mainly willingness to do such a thing), I believe that cost of mainframe will be comparable to IaaS, with self-hosted commodity HW being somewhat cheaper.

It is anecdotal, but when I used to work in more of an Ops role I cannot remember single time when server hardware failed in production without external environmental cause (there were flooded servers and servers that were DoA from manufacturer), it is somewhat surprising that this experience even extends to spinning rust harddrives, where most common causes of failure I've seen were flaky SATA/SAS connetors, followed by simply bad series (eg. Constellation ES.2) and then by extreme overheating.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Friday September 14, 2018 @03:44PM (#17990287)
> if you can use all of the mainframes capability

> cost of mainframe will be comparable to IaaS

I'd be very interested in seeing even a rough cost comparison, since I have no experience with mainframes.

I also have, essentially, no experience with that first "if", which I'd say is a big one. Workloads that are (already) suited to that particular system design may be rare (and obviously getting rarer).

> self-hosted commodity HW being somewhat cheaper.

I'm pretty sure "somewhat" grossly understates it.

However, I realized that one of the problems here is that we're talking about these costs as if they're single numbers, rather than ranges.

For mainframes, it may as well be a single number, because there's only one vendor (for the latest hardware).

For IaaS and self-hosted, the ranges can be very broad, because it's very easy to pay a multiple of the minimum cost with merely a naive implementation. Trivial examples would be not leveraging "reserved instances" on AWS or not getting competitive quotes for self-hosted. In fact, if one removes the "commodity" constraint from self-hosted and allows "enterprise" hardware (especially storage), the top end of the range can easily balloon above the top of the IaaS range.

I've been assuming a comparison of the bottom ends of the ranges, but including the cost of the expert labor for each. What's difficult to know, of course, is how scarce the experts (capable of keeping costs near the bottom of the range) in each category actually are.

> I cannot remember single time when server hardware failed in production without external environmental cause

I think that's just a matter of too small a sample size.

> servers that were DoA from manufacturer

I wouldn't even count that, since it's not in production yet.

> it is somewhat surprising that this experience even extends to spinning rust harddrives

That's definitely too small a sample size, then. If you're not seeing at least a 1% AFR (realistically closer to 3%), you don't have enough of them or haven't been running them long enough yet.

> simply bad series (eg. Constellation ES.2)

That's not an external environmental cause, though, and counts the same as any other failure due to (presumably) a manufacturing defect (defined broadly), including RAM bit errors. It's merely something that can be engineered around with best practices.

None of this is to say that any of these inevitable failures are actually frequent or voluminous enough (even on, e.g., 5 year old hardware, which is ancient by most standards) to require outsized worry or effort/cost to mitigate/repair them.

Re:Millennials and Mainframes: How to Bridge the Gap by js8 on Friday September 14, 2018 @01:19AM (#17984868)
It should be noted, though, that from physics perspective it makes sense to cram as much as computing power (although in case of MF, which unlike supercomputers do relatively simple calculations on high volumes of data, it rather means I/O throughput) into as small space as possible.

So having interconnected commodity servers will always be marginally more expensive to run than mainframe boxes of the size of fridge, which have dedicated hardware for interconnect of internal components (for example on-book CPU caches and shared RAM).

Re:Millennials and Mainframes: How to Bridge the Gap by walshemj on Thursday September 13, 2018 @04:11PM (#17982086)
You can get very very redundant mainframes IBM Parallel Sysplex and so is Tandem
Re:Millennials and Mainframes: How to Bridge the Gap by johnmarcus on Friday September 14, 2018 @05:37PM (#17991182)
It's catastrophic for your business if either your cliud model or mainframe breaks, ergo, it's worth to choose the more reliable one where that happens less frequently.
Re:Millennials and Mainframes: How to Bridge the Gap by watertom on Thursday September 13, 2018 @06:33PM (#17983285)
and everything inside is already virtualized the memory, the processors, the hardware, the power, everything, it can multiple operating systems.
Re:Millennials and Mainframes: How to Bridge the Gap by IE6 on Thursday September 13, 2018 @03:16PM (#17981525)
As a non mainframe programmer I found your anecdote about windows reliability contrary to the experience I have had over the past few decades so I am not sure how accurate the rest of your post is.
Re:Millennials and Mainframes: How to Bridge the Gap by tetrep on Thursday September 13, 2018 @03:47PM (#17981824)
Here's my favorite: https://support.microsoft.com/en-us/help/2553549/all-the-tcp...

article about it: https://blog.ctm-it.com/it-support/blogs/matt-cannon/2013/49...

edit: If you want to be especially cynical, you can note that this wasn't discovered for a while because everyone running Windows reboots it regularly because of its notorious instability issues (the bug was found in 2013 and dates back to at least Vista, which was last updated in 2009).

Re:Millennials and Mainframes: How to Bridge the Gap by com2kid on Thursday September 13, 2018 @04:18PM (#17982149)
> because everyone running Windows reboots it regularly because of its notorious instability issues

I reboot monthly because getting owned by 0 days sucks, and at this point in life, every platform (except for OpenBSD) is having new exploits found against it at a rather fair rate. Same reason my phone gets rebooted once a month.

Aside from that, I have had uptime on Windows boxes in excess of 6 months.

Laptops on the other hand, those are more problematic, but it isn't Windows' fault if a WiFi card hard locks itself, has a dysfunctional watchdog timer on board, and needs to be power cycled to get it working again.

OSes that can hot swap or live patch kernels can brag about uptimes. The rest of us should stay humble. (And AFAIK no modern consumer based OSes distributions do that)

Re:Millennials and Mainframes: How to Bridge the Gap by mr_toad on Thursday September 13, 2018 @09:46PM (#17984155)
> Laptops on the other hand, those are more problematic

Windows laptops.

My MacBook has been up 56 days 14:06 hours.

Re:Millennials and Mainframes: How to Bridge the Gap by com2kid on Thursday September 13, 2018 @11:18PM (#17984444)
And my wife's MacBook randomly freaks out when plugged into an external display.

Apple laptops have their fair share of hardware issues. Windows laptops tend to have more due to a shorter product cycle. Apple has longer relationships with their parts vendors and thus they have more time and leverage to force good firmware onto the multitudes of independent chips that make up a modern day computer.

Re:Millennials and Mainframes: How to Bridge the Gap by nikanj on Thursday September 13, 2018 @08:06PM (#17983774)
That bug is over five years old. Are you implying there haven't been similar, or worse, bugs in other operating systems since?

Windows used to suck, but it's somewhat unfair to judge the platform of 2018 because Vista of 2006 was bad for you.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @08:12PM (#17983798)
To be fair, the overall context of the conversation isn't (all) "other operating systems" but, specifically, mainframe ones. Additionally, the GP referenced "the past few decades", which certainly includes 5 years ago.

Hopefully a mainframe expert can chime in as to whether the major mainframe OSes have included similar or worse bugs.

Re:Millennials and Mainframes: How to Bridge the Gap by pjc50 on Thursday September 13, 2018 @03:51PM (#17981871)
https://www.cnet.com/news/windows-may-crash-after-49-7-days/

Windows has improved since then, but it's still a very brave person that would have a single business-critical Windows machine without a few scheduled maintenance and reboot periods every year.

Re:Millennials and Mainframes: How to Bridge the Gap by nikanj on Thursday September 13, 2018 @08:07PM (#17983780)
That bug is from 2002. Do you really think it's a solid reason to not host business-critical things on Windows in 2018?
Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @08:18PM (#17983832)
If mainframe reliability is what it is purported to be, then, for someone making this choice as an alternative to a mainframe, especially if they've been on it for decades already, it's a very solid reason.

It is, of course, only a proxy for the real reason, which is the engineering culture that led to the bug and/or reliability. If there's better evidence that Microsoft has drastically changed its engineering culture in favor of reliability and/or IBM has done the converse [1], it could easily trump this proxy evidence.

[1] for example, if they've included the OS developers in the layoffs they've been in the news for

Re:Millennials and Mainframes: How to Bridge the Gap by ralphc on Thursday September 13, 2018 @09:18PM (#17984052)
That bug, no. The latest bugs that Windows no doubt has, yes.
Re:Millennials and Mainframes: How to Bridge the Gap by syn0byte on Thursday September 13, 2018 @02:46PM (#17981231)
They DO horizontally scale, just not very cheaply. Reliability above all else is their advantage. There is an entire internet between you and a "5 9s" cloud provider that can screw you.

side note; I HATE the trend in the level of abstraction away from hardware. Seems about as short sighted as GP doctors abstracting away human anatomy. They mostly treat illnesses and proscribe medication; why should they need to know the names of bones in a human body? There are orthopedic specialists for that!

Re:Millennials and Mainframes: How to Bridge the Gap by BookmarkSaver on Thursday September 13, 2018 @07:23PM (#17983587)
People are only capable of so much, mentally. As the world is increasingly well understood, it gets increasingly complicated, and individuals require ways to interact with the parts that they don't have time to truly understand.
Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Thursday September 13, 2018 @02:36PM (#17981122)
You want mainframe in similar situations as when you need EC2 ridiculously large instances. That is when you have workload that absolutely most run as a whole on one big single machine. Typically that means OLTP database which cannot work with some relaxed consistency model (payment settlement is often cited example of such thing).

And for the elasticity part, mainframes are where the whole virtualization and hypervisors started. Although, or maybe because, purchasing and operating an mainframe is significant investment in terms of both capex and opex (it is somewhat telling that IBM's specification sheets for mainframes read somewhat like flyers for new cars, about half of the thing is about available financing methods :)).

Re:Millennials and Mainframes: How to Bridge the Gap by petra on Thursday September 13, 2018 @05:01PM (#17982554)
Given that Intel leads cpu performance, How can mainframes be that much better at single node performance than x86 servers ?
Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Thursday September 13, 2018 @06:18PM (#17983180)
Intel leads in x86 performance and comparing performance of System z CPU to x86 is not exactly trivial task as zArchitecture is "uber-CISC" with instructions like "give me SHA256 of this part of memory" that also typically runs on 4+GHz clocks (and the "CPU book" has TDP of several kW). But main part of the performance advantage (be it perceived or real) is incredible memory and IO bandwith combined with large caches and hardware offload for essentially anything that remotely looks like IO.

On the other hand, you can get rack-mount x86 server with several TB of RAM for fraction of price of mainframe which is exactly the hardware for new applications that would otherwise be best served by mainframe.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @06:47PM (#17983388)
> On the other hand, you can get rack-mount x86 server with several TB of RAM for fraction of price of mainframe which is exactly the hardware for new applications that would otherwise be best served by mainframe.

I expect the largest one of these is still a fraction the size of the largest mainframe, at least for processor power (e.g. 224 cores[0] compared to 1700[1]). Maximum memory, though, is 32TB, which isn't exactly huge compared to 12TB [0] or 24TB [2].

[0] https://www.supermicro.com/products/system/7U/7089/SYS-7089P...

[1] https://en.wikipedia.org/wiki/IBM_zEnterprise_System#z14 (Not saying they're necessarily equivalent in performance, but they might be, as you point out)

[2] https://www.supermicro.com/products/system/7U/7088/SYS-7088B...

Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Thursday September 13, 2018 @07:12PM (#17983520)
From my point of view for typical modern bussiness workloads that necessiate large machines (ie. SQL RDBMS or something similar) only thing that you really care about is memory size. On the other hand many "legacy" mainframe workloads are significantly more CPU-bound because the software culture is simply different and brute force is often the way to go.
Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @07:41PM (#17983673)
> From my point of view for typical modern bussiness workloads that necessiate large machines (ie. SQL RDBMS or something similar) only thing that you really care about is memory size.

That's my general impression, as well, but I have little enough (or inadequately broad) direct experience for that impression to be a strong one.

I've also seen, second-hand (i.e. benchmarks, so not quite real-world) that cache and memory latencies (including inter-CPU/NUMA) can significantly affect OLTP performance.

If that weren't true in practice, then the sheer bandwidth one can deliver from enough SSDs over PCIe rivaling a CPU's memory bandwidth would mean main memory size is much less relevant.

Re:Millennials and Mainframes: How to Bridge the Gap by Roboprog on Thursday September 13, 2018 @05:15PM (#17982675)
Data bandwidth probably
Re:Millennials and Mainframes: How to Bridge the Gap by e12e on Thursday September 13, 2018 @06:29PM (#17983254)
Bandwidth and reliability. It's in general hard to swap out cpus while running db transactions on commodity x86 hw.
Re:Millennials and Mainframes: How to Bridge the Gap by dfox on Thursday September 13, 2018 @06:56PM (#17983448)
In theory you can hot-swap CPUs on x86 (with slightly hillarious fact that primary use of the Linux's CPU hotswap support is suspend to disk on laptops) but hardware that supports it and it really works is rare to non-existent.
Re:Millennials and Mainframes: How to Bridge the Gap by jazzyjackson on Thursday September 13, 2018 @02:47PM (#17981241)
You want a mainframe if you want your system designed by engineers and not web developers.

The IBM mainframe system is called "Z" for zero downtime.

Banks and Airlines use systems that haven't needed to be rebooted in decades.

(This is a little oversold, but that's the selling point.)

Re:Millennials and Mainframes: How to Bridge the Gap by acomjean on Thursday September 13, 2018 @03:50PM (#17981850)
I think in actuality they go for what is known as "five-nines" reliability. Up 99.999% of the time. Or down about 5 minutes/year.

When I worked on "big iron" (Not sure if the old hp superdomes counts mainframes..), the solution proposed for redundancy was to have two and be able to switch from one to the other..

Our development machines had to be rebooted from time to time as we turned off interrupts for some processes (quasi-realtime) and when under development some bugs could cause the processes to fail and be uninterruptible. Things stabilized quickly though.

(edit: apparently there is 4 nines, 6 nines....) https://en.wikipedia.org/wiki/High_availability

Re:Millennials and Mainframes: How to Bridge the Gap by tambourine_man on Thursday September 13, 2018 @06:03PM (#17983068)
Banks and Airline systems go offline all the freaking time.

Just the other day I told the post office attendant their system was back online, as the cursor started blinking again. Telltale sign of mainframe style computing.

Re:Millennials and Mainframes: How to Bridge the Gap by dsr_ on Thursday September 13, 2018 @06:32PM (#17983282)
When you turn off your laptop, does Google go down?
Re:Millennials and Mainframes: How to Bridge the Gap by segmondy on Thursday September 13, 2018 @02:41PM (#17981177)
We don't, we are happy with out distributed and networked computing. Most of us can't afford a mainframe, mainframe is owned by big corps, to play with one you have to go through a big corp. If you worked for a big corp, you still have to appease the priests or be one of them to play with one. It goes against the dream of "everyone should have a computer and be free to do with it as much as they wish". The biggest computing power that have been demonstrated in our history has been via distributed systems not mainframes.
Re:Millennials and Mainframes: How to Bridge the Gap by js8 on Thursday September 13, 2018 @02:28PM (#17981061)
It's bit like asking why would you use a truck when several vans can do.. and be more "horizontally scalable".

Mainframe is a really big server, and it is actually plenty elastic. You can divide it into smaller logical servers (LPARs).

The only downside is price. But I think for larger installations and certain workloads it will come out similar with a server fleet.

Re:Millennials and Mainframes: How to Bridge the Gap by module0000 on Thursday September 13, 2018 @03:59PM (#17981949)
It's a huge, inelastic compute resource. The term "huge" can't be overstated here - however "big" you think that is, you probably aren't thinking big enough. That's the whole sell. If you ever need to scale horizontally, then your mainframe is too "small". It's not unusual to assign 2048 cores for a scheduled job on a mainframe.
Re:Millennials and Mainframes: How to Bridge the Gap by Spooky23 on Thursday September 13, 2018 @09:29PM (#17984097)
It is a relic that you want nothing to do with.

You own one because your company or agency bought one in 1970, and it is cheaper to run it than to redo everything. You may need one for certain new workloads if you’re a defense contractor.

As an employee, you’re a pure operational cost center. You have skills that few employers care about, and vendors/contractors are churning out cheap replacements for you.

Re:Millennials and Mainframes: How to Bridge the Gap by avip on Thursday September 13, 2018 @02:19PM (#17980980)
This vid has some good photos https://www.youtube.com/watch?v=45X4VP8CGtk (also discussed on HN previously).

You don't want one if you ask me.

Re:Millennials and Mainframes: How to Bridge the Gap by twoquestions on Thursday September 13, 2018 @04:04PM (#17982007)
A lot of the responses to this question could have been copy/pasted from Erlang marketing copy.

I'm still not seeing what mainframes give you that a well-designed pc cluster couldn't, other than marketing BS and opportunity for grift.

Waitaminute...

Re:Millennials and Mainframes: How to Bridge the Gap by lovich on Thursday September 13, 2018 @04:45PM (#17982398)
Regulations seem to be one reason. The IBM mainframes use their own implementation of floating point math that appears to be legally required for some businesses as you can see under "Special Uses" here[1]

[1]https://en.m.wikipedia.org/wiki/IBM_hexadecimal_floating_poi...

Re:Millennials and Mainframes: How to Bridge the Gap by detaro on Thursday September 13, 2018 @05:13PM (#17982664)
Is that just required in storage formats (which on other platforms would just mean conversion when accessing files) or do calculations actually have be done in it (which would need to be simulated, more overhead and potentially harder to certify correctness)?
Re:Millennials and Mainframes: How to Bridge the Gap by lovich on Thursday September 13, 2018 @05:07PM (#17982604)
Was there a reason this was downvoted? I thought this was a factual statement, but I'm not very well versed in the mainframe world so I'd appreciate it if someone could point out what I said that was incorrect
Re:Millennials and Mainframes: How to Bridge the Gap by racingmars on Thursday September 13, 2018 @05:39PM (#17982881)
I don't know why the downvotes since it's an interesting tidbit of info... but looking at the Wikipedia page, it's not that you are legally required to do all of your processing using the IBM hex format in your floating point calculations, it's just that when you submit your data set to the FDA the file format they specify uses the IBM hex floating point format as the data type for one of the fields. So you can convert at submission time (and, indeed, it looks like the FDA even provides code to help you convert if the data isn't coming from a mainframe with native support for the format).

And the other examples under Special Uses... like the GRIB data, I have toyed with reading weather model data and I just write Go code that reads the files and does conversions as necessary on x86 without having to involve a mainframe. (Although that said, I have an odd fascination with mainframes despite never using them professionally, and maintain a system using the Hercules emulator and the MVS 3.8 operating system, which was the last freely-available version of what became today's z/OS.)

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @05:24PM (#17982742)
Although downvotes don't necessarily mean factual incorrectness (and I didn't downvote), that may have been the case here. It may also have been because the comment could be read as implying undue influence (and thereby indirect subsidy) by government regulation, injecting controversy/politics where there is none.

Regardless, I wasn't able to find in the WP entry adequate support of your assertion. (Oddly, the "[..]" were in the original WP text):

> As IBM is the only remaining provider of hardware (and only in their mainframes) using their non-standard floating-point format, no popular file format requires it; Except the FDA requires the SAS file format and "All floating-point numbers in the file are stored using the IBM mainframe representation. [..] Most platforms use the IEEE representation for floating-point numbers. [..] To assist you in reading and/or writing transport files, we are providing routines to convert from IEEE representation (either big endian or little endian) to transport representation and back again." Code for IBM's format is also available under LGPLv2.1

There's only a regulation for a file format (and a single, isolated one at that), not regulation of using/processing, and format conversion utilities are available, rendering it irrelevant.

Re:Millennials and Mainframes: How to Bridge the Gap by js8 on Friday September 14, 2018 @01:28AM (#17984901)
The CPUs in the zSeries mainframe actually support 3 floating point formats (in fact there is like 10 of them if you count all the sizes):

- IBM legacy hexadecimal floating point you mentioned

- IEEE 754 binary floating point

- IEEE 754 decimal floating point (they were a first implementation of it)

So perhaps you were downvoted because on the mainframe, you don't have to use the legacy format at all.

Re:Millennials and Mainframes: How to Bridge the Gap by j1vms on Thursday September 13, 2018 @02:43PM (#17981196)
> what is a mainframe and why would I want one?

Very roughly speaking, a mainframe is to a CPU what a supercomputer is to a GPU.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @05:26PM (#17982762)
If speaking very roughtly, I'd go so far as to extend that analogy to the CPUs, as well, and, more importantly, the I/O.
Re:Millennials and Mainframes: How to Bridge the Gap by tomc1985 on Thursday September 13, 2018 @03:48PM (#17981827)
Sometimes one might like to hold lots of power in reserve

Sure, my big powerful desktop PC spends 90% of its life surfing the web or doing light stuff, but for that remaining 10%... if I need the power, it rises to the challenge, every time. Plus, its paid for and I don't need to answer to anybody to make use of it.

Re:Millennials and Mainframes: How to Bridge the Gap by mmt on Thursday September 13, 2018 @04:49PM (#17982428)
> why wouldn't I want to use something horizontally scalable instead?

Besides the (purported) reliability reasons other commenters have brought up, because "vertical" [0] scalability is, often enough, more efficient in terms of money and (human/engineering) time.

This can hold true even if paying a premium for both the hardware and the humans (which, presumably, are more expensive due to their scarcity, as implied by the article).

The promise of "horizontal" scalability is being able to achieve arbitrary performance just by adding more units (e.g. servers), but not at any particular efficiency (slope or shape of the curve). Even that promise is suspect in the face of Amdahl's Law [1] and USL [2]. In reality, the Fallacies [3] matter, so the most general-purpose supercomputers are still bespoke and expensive, even if they're assembled from (a selection of) commodity parts.

Even just in the realm of commodity hardware, I/O-heavy loads are going to benefit from keeping everything as close together as possible, on as fat pipes as possible. Distributed databases or any distributed data handling (that doesn't involve heavy processor use, such as compression or transcoding) is what I've personally seen suffer from this issue. 20-60 "inexpensive" ($3k-4k) servers instead of 2-3 "expensive" ($20k-$60k) ones.

Cloud infrastructure further confounds any calculation, since, with the most popular provider, AWS, you'd pay 2x-10x what you would buying and operating your own hardware. That, multiplied by the inefficiency of scaling a distributed system, especially on a network you don't control, may well be higher than the price premium of a mainframe.

OTOH, if "you" are like Google, and are paying commodity (or below) prices and have had operating your own hardware, as cheaply as possible, as part of your strategy all along, including investing in experts/specialists to keep it cheap, then mainframes wouldn't make much sense. Amusingly, it seems popular to emulate only part of the big players' distributed systems, the software, while ignoring the context that made it so useful for those players, the cheapness of the hardware.

[0] I'm using quotes because the terms are a bit imprecise in comparing mainframes, which, even traditionally, involved distributed processing. IIUC, the reason there's a "C" in CPU is from mainframes, which routinely relied on processing units that were not central. Other commenters have asserted that mainframes are horizontally scalable without detailing what that means.

[1] https://en.wikipedia.org/wiki/Amdahl%27s_law

[2] http://www.perfdynamics.com/Manifesto/USLscalability.html

[3] https://en.wikipedia.org/wiki/Fallacies_of_distributed_compu...