If I can be excused to ramble a bit...
I think the job is optimization? If so the hypothetical perfect manager would get it right really fast and have nothing to do but wait for the next dumpster fire that might never happen or some micro optimization that isn't worth much.
Measuring performance (at least in real time) seems hard if not impossible?
With a cashier it is easy, if they handle 100 products per minute, 6000 per hour, they get 12 per hour or 0.2 cents per product handled, on the average product it is a perceptional difference of zero. I, as the customer buying 100 products, don't care if I pay 20 cents or 2 euro.
I've had a hundred such jobs, did the math on many, it was spectacularly hilarious. Best one was 5 factory workers making half a million boxes of cookies in a 5 hour shift for 35 euro/day. They could easily pay 1000 euro/day, the customer wouldn't even notice it.
In stead it is really hard for them now, they cant find employees. They are far behind on schedule. Existing employees are made to work even harder.
Being unable to afford to pay more is actually not how it works. You add up what it costs to deliver a service or a product and then you conclude if its a viable business model.
It is not that the rent is to dmn high, parts or ingredients are to expensive, employees are unwilling to work for peanuts etc. There is no limit on how much a janitor costs. The market sets it, employees and employers are just dragged along - kicking and screaming if need be.
If we continue the story and say the employees want to much money we might end up back at their rent being to dmn high.
But surely no one would continue that story to the point where you cant find employees because the cookies got 1 cent more expensive?
I get 2 letters every year, one says my rent goes up by 5%, the other says my salary goes up by 1%. Both talk similarly about inflation. It's quite comical.
People who are lower down on the empathy scale don't have that problem and the fact that this generally makes them worse at the job doesn't reduce their pay.
I also find it far more plausible that managers are paid more because of the default fiefdom hierarchy.
You’re claiming that 80% of your time, 80% of your substantial pay, was spent managing the fallout of a single employee on a team of 30. It’s astonishingly inefficient and wasteful.
And while you’re emblematic of this behavior, it’s widespread in the tech industry. The vast majority of management is terrified of any sort of real conflict or intervention, so they become ineffectual and useless.
No shortage of kids at Stanford or MIT dreaming of GOOG bucks and name recognition, and willing to work 80 hour weeks. Hell, even with AMZN's terrible reputation I still know people @ UW Seattle chomping at the bit to get in.
Not hard to fire when it's easy to replace with solid talent. Much harder for someone like P&G or Clorox or Amtrak -- they either contract out or else get what they get.
Worse, they make the organization toxic for everybody else.
I've come to believe the most important job of a manager is to quickly identify these people and either fire them or neutralize them (i.e. put them in a closet and assign them a meaningless task).
This requires a culture shift in most organizations to understand that toxic people (e.g. bullies, narcissists, and those with other serious personality disorders) have an outsize negative impact on productivity and profits and can kill the company if you don't get rid of them quickly.
There's definitely folks that take all they can get, scream about unnecessary things, and are just general drama, but overall are basically an underperforming IC. (I've even seen one become "best friends" with a director which caused all sorts of chaos and disorganization in the org below them, with the director blissfully unaware because the toxic person was giving side-channel status update to the director outside of the org hierarchy.)
Neutralizing them by giving them unimportant tasks often enables them to be louder elsewhere.
There's also people who are loud because they're trying to make the company better. They'll make you uncomfortable as a manager, and they'll make you have uncomfortable conversations with your leadership. They're...probably the ones to listen to.
True leadership is knowing who to keep close—even if uncomfortable—and who to rapidly manage out.
A good manager can root cause these issues and then determine if the resolution is workable in a reasonable timeframe. A great manager keeps this in mind while coordinating all activities and requires their direct reports to assist them in doing this.
Finally, great leaders are sometimes not great managers. Another note - even managers can shift from good/great/bad over time.
I’d note shittiness of the job is not a compensation decision factor. Otherwise slaughterhouse employees and social workers would be paid better than any of us.
I have been a senior/principal engineer, as well as a director/senior director. The fact is that being a manager or director is just fundamentally a much harder job than being an IC. It's not that it's inherently more difficult, it's just that the day-to-day is much more of a grind than being an IC. For people wondering why engineering interviews can be so obscure/difficult, it's often because the cost of a bad hire can be catastrophic to a manager. I had a great team of about 30 people, except for 1 person who just couldn't get along with others. I spent about 80% of my energy on that person, and it sucked.
So for people wondering why managers get paid more, it's just that it's a shittier job that fewer people want to do than program.