Latest / Talk Python To Me / #445: Inside Azure Data Centers with Mark Russinovich
Transcript
- 0:00When you run your code in the cloud, how much do you know about where it runs?
- 0:03I mean, the hardware it runs on and the data center it runs in.
- 0:08There are just a couple of hyperscale cloud providers in the world.
- 0:11This episode is a unique chance to get a deep look inside one of them, Microsoft Azure.
- 0:16Azure is comprised of over 200 physical data centers with hundreds of thousands of servers in each one of those.
- 0:24A look at how code runs on them is fascinating.
- 0:27Our guide for this journey will be Mark Rusunovic.
- 0:30Mark is the CTO of Microsoft Azure and a technical fellow, Microsoft's senior most technical position.
- 0:36He's also a bit of a programming hero of mine.
- 0:39Even if you don't host your code in the cloud, I think you'll enjoy this conversation.
- 0:43Let's dive in.
- 0:44This is Talk Python To Me, episode 445, recorded on site at Microsoft Ignite in Seattle, November 16th, 2023.
- 0:53Welcome to Talk Python To Me, a weekly podcast on Python.
- 1:10This is your host, Michael Kennedy.
- 1:12Follow me on Mastodon, where I'm @mkennedy, and follow the podcast using @talkpython, both on fosstodon.org.
- 1:20Keep up with the show and listen to over seven years of past episodes at talkpython.fm.
- 1:24We've started streaming most of our episodes live on YouTube.
- 1:28Subscribe to our YouTube channel over at talkpython.fm/youtube to get notified about upcoming shows and be part of that episode.
- 1:37This episode is sponsored by Posit Connect from the makers of Shiny.
- 1:41Publish, share, and deploy all of your data projects that you're creating using Python.
- 1:46Streamlit, Dash, Shiny, Bokeh, FastAPI, Flask, Reports, Dashboards, and APIs.
- 1:52Posit Connect supports all of them.
- 1:54Try Posit Connect for free by going to talkpython.fm/Posit.
- 1:58P-O-S-I-T.
- 2:00And it's brought to you by the PyBites Developer Mindset Program.
- 2:03PyBytes' core mission is to help you break the vicious cycle of tutorial paralysis through developing real-world applications.
- 2:10The PyBites Developer Mindset Program will help you build the confidence you need to become a highly effective developer.
- 2:16Check it out at talkpython.fm/PDM.
- 2:21Mark, welcome to Talk Python To Me.
- 2:22Thanks.
- 2:23Thanks, Michael.
- 2:24Yeah, it's fantastic to have you here.
- 2:25I've been a fan of your work for a really long time.
- 2:28We're going to have a really cool look inside of Azure.
- 2:31And there's not very many hyperscale clouds in the world.
- 2:34You can probably count them on your hands, right?
- 2:36And so I think as developers, Python developers generally, we'll be really interested to just kind of get a sense of when we run on the cloud, what exactly does that mean?
- 2:45Because it's been a journey.
- 2:47Yeah, for sure.
- 2:48Before we dive into that, though, and some other cool things you're up to, tell people a bit about yourself.
- 2:53Sure.
- 2:54I'm a CTO and technical fellow at Microsoft, CTO of Azure.
- 2:57I've been in Azure since 2010.
- 2:59Prior to that, I was in Windows.
- 3:00I joined Microsoft in 2006 when it acquired my software company and my freeware website, Winternals and Sysinternals, respectively.
- 3:07And since 2010, I've effectively been in the same role the entire time, which is overseeing technical strategy and architecture for the Azure platform.
- 3:16And the skill of that is quite something.
- 3:18So it'll be great to get in that.
- 3:20That's awesome.
- 3:21You first came on my radar, probably in the late 90s, early aughts, through the Sysinternals thing, not through Microsoft.
- 3:29And you brought that up.
- 3:30So tell people a bit about Sysinternals.
- 3:32It was like if you wanted to see inside your what your app is doing on Windows, go to Sysinternals, right?
- 3:38Tell us about that.
- 3:38Sysinternals grew out of my just love of understanding the way things work.
- 3:42And I was doing a lot of work on Windows internals actually in my PhD program where I was trying to figure out how to get operating systems to be able to save their state and then come back in case of a failure.
- 3:55So I learned the internals of Windows 3.1 and then Windows 95 and then Windows NT and started to think about cool ways that I could understand the way things worked underneath the hood.
- 4:06So actually, the first Sysinternals tool was something called Control to Cap, which swaps the caps lock and key, you know, the control key because I came from a Unix background.
- 4:17Who needs caps lock these days?
- 4:18Yeah, exactly.
- 4:19No one should be that.
- 4:19Yeah, I'm not yelling at people very much.
- 4:21So the second tool that I wrote was actually called NTFS-DOS to bring NTFS to DOS.
- 4:28But the native Windows NT tools that Bryce Cogswell, who I met in grad school, and I co-wrote together were Regmon and Filemon.
- 4:36They were like the originals.
- 4:37And Regmon allowed you to watch registry activity, Filemon, file system activity.
- 4:41We later merged them into Process Monitor after we joined Microsoft.
- 4:45But we decided to make those tools available for free and available.
- 4:51So we started the ntinternals.com website, which then Microsoft's lawyer said, don't use NT.
- 4:56So we switched over to renaming it Sysinternals.
- 4:59And then Bryce was like, hey, some of the tools that we've made, we should sell.
- 5:03So we wrote a tool that would allow you to mount a dead NT system through a serial cable as if it was a local drive on the recovery system.
- 5:10And he said, if we make a read-write version, we should sell it.
- 5:13So he started, he went and set up a credit account, you know, credit card account on e-commerce.
- 5:20Authorized.net or something like that.
- 5:21It was like weird APIs.
- 5:23Yeah.
- 5:23And we started selling the software and we started selling the software and that grew into what became Winternals, a commercial software company.
- 5:29But Sysinternals and Winternals, like I said, were both acquired at the time.
- 5:33I joined Microsoft in 2006.
- 5:36But Bryce and I continued to work on Sysinternals.
- 5:39He worked on them until he retired from Microsoft and retired just in general four years later.
- 5:44And then I've continued.
- 5:45I have now a couple people, three people working on Sysinternals engineering system, keeping them healthy and the build pipelines working and then adding features to them.
- 5:56And I still code on them and still add features.
- 5:58Like just did a ZoomIt release a few days ago.
- 6:01I added some, I blur and highlight to ZoomIt.
- 6:04Yeah, people are doing presentations on Windows.
- 6:06With ZoomIt, you can say, let me quickly draw on the screen, not PowerPoint, but just whatever happens to be on your screen, which is really nice.
- 6:12I love my Macs these days, but boy, I wish ZoomIt existed on the Mac.
- 6:16Well, actually, people have asked for ZoomIt for Mac and I'd like to make a ZoomIt for Mac.
- 6:21And now with Copilot, I wonder how good it is at writing Mac apps because I don't want to spend all the time to learn how to write Mac apps just to write ZoomIt.
- 6:30But if Copilot can help, maybe it'll, you know, something that I can do in my, you know, you know, spare time.
- 6:35I don't know if it'll do it, but it'll get you close.
- 6:37It's crazy how these LLMs are writing code for us these days.
- 6:40And we're going to talk a bit about maybe how some of those run.
- 6:42Yeah.
- 6:43And so on.
- 6:43I mean, Azure is doing tons of stuff with large language models.
- 6:48And you all have some, you know, we're here at the Microsoft Ignite conference.
- 6:51You've got some big announcements.
- 6:52But yeah, I was such a fan still of Sysmon and I use that for all sorts of things still.
- 6:59So super cool.
- 7:00Now, before we jump in, I kind of want to talk about some of your big announcements.
- 7:04Yeah.
- 7:04Because they really caught me off guard here.
- 7:07I'm like, yes, this is exciting.
- 7:08But maybe since we're going to talk a decent amount about Azure, the internals of hardware, how our code runs, just give us a quick history of Azure.
- 7:15You know, when did this whole thing get started?
- 7:17Azure started right as I joined Microsoft in 2006.
- 7:20There was a group of people, including Dave Cutler, one of the people that I've looked up to because Dave was the original architect behind the VMS operating system.
- 7:29And then Windows NT, which is now underlying Windows.
- 7:31He and some other people would just at the suggestion of Ray Ozzy.
- 7:37This is back when services was a big thing.
- 7:41And Ray sent a memo to the company kind of echoing Bill Gates' internet memo saying it's software and services now.
- 7:48And they said, how can we build a data center scale type platform to make it easier for Microsoft to develop services?
- 7:55And so this was called Project Red Dog, which was incubating for a while.
- 7:59And then 2008, they publicly launched it because Steve said, we need to make this available to third parties as well as Windows Azure.
- 8:06And I'm sorry, 2008, they announced the preview of it.
- 8:092010, it commercially launched publicly in February.
- 8:13And I joined in July.
- 8:14And a few years later, with the rise of open source software and so many enterprise customers wanting to have Linux, we rebranded it Microsoft Azure.
- 8:24And we also...
- 8:25Can I run Linux on Windows Azure?
- 8:27I don't know if that makes any sense.
- 8:28Yeah.
- 8:28And one of the first things I'd done, worked on with Corey Sanders was being asked, hey, we've got platform as a service.
- 8:36We have this thing called cloud services, this model for how you write apps.
- 8:40But our enterprise customers were saying, I can't move my existing IT stuff to Azure because it just needs VMs.
- 8:48And so the first thing we did was, hey, we should get IaaS capability in Azure.
- 8:53And so in 2012, we launched the preview of IaaS for Azure.
- 8:57And that's really when the business started to take off because enterprises then could, with minimal effort, start to move.
- 9:02Oh, well, that's like doing what we do in the...
- 9:04Yeah.
- 9:05In their own data center.
- 9:06Our data center, but in your data center.
- 9:07Yeah.
- 9:07Yeah, exactly.
- 9:08Now no one even thinks about it.
- 9:09Exactly.
- 9:10So IaaS has continued to evolve.
- 9:12PaaS has continued to evolve.
- 9:13Cloud services was designed in a world without containers.
- 9:16Now we've got containerization, the rise of Kubernetes, and then application models on top of containers.
- 9:22And so Azure has evolved.
- 9:23And actually, I think, led some of that evolution of cloud native computing up into containers and abstractions.
- 9:30But it's been a long, long journey towards that.
- 9:32I mean, I think one of the things is I've always believed that ultimately cloud should be about making it easy for developers to say, here's what I want.
- 9:39And then the cloud takes care of the rest.
- 9:41And we're moving towards it relentlessly, that time when you'll really be able to do that.
- 9:47Yeah, so you don't have to know DevOps.
- 9:49You don't have to know distributed architectures.
- 9:52You just give you guys a good idea.
- 9:54Yeah, which is beautiful.
- 9:55It's beautiful.
- 9:56Now, real quickly, just give us a scale.
- 9:59Like, think of how many data centers, how many servers, how many miles, fiber.
- 10:04Yeah.
- 10:05It's kind of astonishing.
- 10:06It is pretty flabbergasting.
- 10:07And the numbers continue to grow exponentially.
- 10:11I'll just give you, because I remember when I first started in Azure, I was asked to give a talk at the Azure All Hands about architecture and some of the announcements we had coming.
- 10:20And the All Hands was two rooms with the partition removed in our on-campus conference center, meetings room, meeting center.
- 10:30We totaled about 500 people.
- 10:32That was all of the Azure team in 2010.
- 10:34And really, nobody outside the Azure team knew anything about Azure.
- 10:38Yeah.
- 10:38It was kind of a secret even inside, right?
- 10:41Yeah.
- 10:41So effectively, that was like most, at least half the people in the world that knew anything about Azure was in those two rooms.
- 10:47And today, you know, Scott Guthrie's organization, Cloud and AI, all of it's working on Azure.
- 10:52And that's tens of thousands of people.
- 10:54So at least, you know, a good percentage, majority percentage even of the company is working directly on things that come under the Azure umbrella.
- 11:04So it's come a long way from that perspective.
- 11:06And you talked about physical scale.
- 11:08Back then, when we originally launched Azure in two regions, it was like 40,000 servers, like 20,000 in one, 20,000 in the other.
- 11:16That's still a lot of servers.
- 11:17Yeah.
- 11:17Yeah.
- 11:18But, you know, it was like, that is kind of cloud scale back then.
- 11:22Now we are at millions of servers.
- 11:26And when it comes to data centers, we've got 60 regions around the world, 60 plus regions.
- 11:31And each of those consists of one, in many cases, multiple data centers.
- 11:37And we're still building out.
- 11:39We're launching a data, like two data centers every week, I think is the number that we're launching.
- 11:43Wow.
- 11:43That's crazy.
- 11:44And these could be slotted into one of these regions or it could be.
- 11:47Yeah.
- 11:48A new region.
- 11:48Totally new.
- 11:48Yeah.
- 11:49Yeah.
- 11:49Uh-huh.
- 11:49Incredible.
- 11:50Incredible.
- 11:50Incredible.
- 11:50And so the big announcement that I wanted to ask you about, just before we run out of time,
- 11:54and then we'll dive into some of that, that sort of how does your code run story is Azure Cobalt.
- 11:59Yeah.
- 12:00That's a new processor you guys announced.
- 12:02And, you know, listeners know, I'm a big fan of Apple Silicon and how it sort of changed the computing landscape for power and speed on like little laptops and stuff.
- 12:10And this is kind of that idea, but for the data center, right?
- 12:13It is.
- 12:14Tell us about that.
- 12:14It is that idea.
- 12:15Yeah.
- 12:15I think having a processor that can be designed really with our specifications.
- 12:20If you take a look at Intel and AMD processors, they're fantastic processors.
- 12:24They're very versatile.
- 12:25They're taking requirements from lots of different sources.
- 12:28And so we're just, we're a voice.
- 12:31We're a significant voice when it comes to saying we'd like your processors to do these things.
- 12:35When we have our own, we've got the ability to just decide unilaterally what we'd like it to do based off of what we see and can vertically integrate it into our systems.
- 12:44We can put it on SSEs and integrate it with memory and GPUs.
- 12:48And so that is kind of the reason that we've done that verticalization for processors.
- 12:54That's not to say that the other processors aren't going to be significant.
- 12:58It's going to be probably a blend of these.
- 13:00It's going to be a blend.
- 13:01They'll have different capabilities that ours won't have.
- 13:03There are customers that want the specific features that they've got or performance speeds and feeds that they've got because they're not all going to look the same.
- 13:10And so I think it's just better optionality for everybody.
- 13:14Well, I can tell you as somebody who tries to run Linux on that thing.
- 13:19Yeah.
- 13:19It's hit and miss if there's even an ARM version available.
- 13:22Right.
- 13:23More often than not, there's not.
- 13:24And so there's certainly not going to be an insane rush to just let drop everything because there's a lot of code that's written for.
- 13:30Exactly.
- 13:31Yeah.
- 13:31Yeah.
- 13:31And optimized.
- 13:32That's the other thing too.
- 13:33Yeah.
- 13:34Yeah, for sure.
- 13:35But yeah, so on my list here of things I was going to ask you is, well, what about ARM in the data center?
- 13:39Well, that is ARM.
- 13:40I know, exactly.
- 13:41I'm like, well, okay, so you guys beat me to the punch.
- 13:43Exactly.
- 13:44This portion of Talk Python To Me is brought to you by Posit, the makers of Shiny, formerly RStudio, and especially Shiny for Python.
- 13:53Let me ask you a question.
- 13:55Are you building awesome things?
- 13:56Of course you are.
- 13:57You're a developer or a data scientist.
- 13:59That's what we do.
- 14:00And you should check out Posit Connect.
- 14:02Posit Connect is a way for you to publish, share, and deploy all the data products that you're building using Python.
- 14:09People ask me the same question all the time.
- 14:12Michael, I have some cool data science project or notebook that I built.
- 14:15How do I share it with my users, stakeholders, teammates?
- 14:18Do I need to learn FastAPI or Flask or maybe Vue or React.js?
- 14:23Hold on now.
- 14:24Those are cool technologies, and I'm sure you'd benefit from them, but maybe stay focused on the data project.
- 14:29Let Posit Connect handle that side of things.
- 14:32With Posit Connect, you can rapidly and securely deploy the things you build in Python.
- 14:37Streamlit, Dash, Shiny, Bokeh, FastAPI, Flask, Quattro, Reports, Dashboards, and APIs.
- 14:43Posit Connect supports all of them.
- 14:45And Posit Connect comes with all the bells and whistles to satisfy IT and other enterprise requirements.
- 14:51Make deployment the easiest step in your workflow with Posit Connect.
- 14:55For a limited time, you can try Posit Connect for free for three months by going to talkpython.fm/posit.
- 15:02That's talkpython.fm/P-O-S-I-T.
- 15:05The link is in your podcast player show notes.
- 15:07Thank you to the team at Posit for supporting Talk Python.
- 15:12Awesome.
- 15:12Now, one of the things I wanted to kind of maybe have you go through for listeners that I think is just super interesting is sort of the evolution of the hardware where our code runs throughout the data center.
- 15:23So you talked about in some of your talks like the data center generations and what is that, like six or seven, eight maybe different variations.
- 15:31I'll kind of give you some prompts from them and all.
- 15:33But one of the things that I was thinking about when I was looking at this is, you know, do you have a bunch of small servers or do you have like, or do you partition up really large servers, right?
- 15:43What's the right flow for that?
- 15:45So one of the things that you've seen since the start of cloud, back when we launched Azure, there was one server type.
- 15:53Yeah.
- 15:53And we had different virtual machines offerings, but they were just all different sizes that could fit on that one server.
- 16:00It was a 32 core Dell Optron with, I think, 32 gig of RAM.
- 16:04Yeah.
- 16:04And so that was the server back then.
- 16:06What we've seen is more workloads come to the cloud that have different requirements.
- 16:10Some require large memory.
- 16:12Some require more compute.
- 16:13Some require GPUs.
- 16:15Some require InfiniBand backend networking for high performance computing.
- 16:19And so there's been a drastic diversification of the server hardware in Azure that's being offered and current at any one point in time.
- 16:29And I think you'll continue to see that.
- 16:31So the old, you know, it's just a pizza box.
- 16:34It's a low end commodity server.
- 16:37Kind of that's the cloud vision back in 2010.
- 16:40Now it's the cloud contains specialized servers for specific applications.
- 16:45And when it comes to large servers back in 2014, we started to introduce very large servers.
- 16:51The kind that, you know, people that were cloud purists back in 2010 would have been like, no, don't allow that.
- 16:57It's all about the cheap.
- 16:58It's all about the cheap and scale out.
- 17:00Is scale up servers for SAP workloads in memory database workloads.
- 17:05So we introduced a machine that we nicknamed Godzilla, which had 512 gig of RAM in 2014, which was like an astonishing number.
- 17:15And we've continued to, as SAP workloads have gotten bigger and bigger and more has migrated to the cloud, created bigger and bigger and bigger and bigger and bigger machines.
- 17:24In fact, I'm showing here at Ignite the latest generation of the SAP scale up machines that we're offering.
- 17:29It's not yet, they're not yet public, but I'm going to show a demo of them, of one of them call that I'm calling, nicknaming super mega Godzilla beast.
- 17:38because we've gone through so many iterations.
- 17:41So this, this one is super is the new, yeah.
- 17:44You're running low on adjectives here.
- 17:46And I don't know what I'll come up with next, but anyway, we're at super mega Godzilla beast as the current generation, which has 1790 cores.
- 17:53Wow.
- 17:54And 32 terabytes of RAM, 32 terabytes of RAM.
- 17:58Incredible.
- 17:59So do you do, things to like pin VMs to certain cores so that they get better cash hits and stuff like that rather than let it just kind of mosh around?
- 18:09That's especially important with NUMA architectures where you've got memory that has different latencies to different sockets.
- 18:15As you want to have the VM that's using certain cores on a socket, have memory that is close to it, close to that socket.
- 18:23So that's, and that's just part of hyper V scheduling, is doing that kind of assignment, which we have under the hood.
- 18:29And again, it's like the control plane at the very top says launch a virtual machine of this size of this skew.
- 18:35Then there's a resource manager, the Azure allocator that goes and figures out this is the best server to put that on.
- 18:41It has enough space and will reduce minimize fragmentation and places it on there.
- 18:47And then hyper V underneath is saying, okay, these are the cores to assign it to.
- 18:51Here's the RAM to give it.
- 18:52Excellent.
- 18:53And how much of that can you ask for?
- 18:55you can ask for the whole machine.
- 18:56You can, you can, you can, you can, for a full machine, you know, full, full server virtual machine
- 19:01sizes.
- 19:01Wow.
- 19:02Okay.
- 19:03There's probably not too many of those in, but, but some people using them.
- 19:06Yeah.
- 19:06Like on the SAP ones, because they're designed for SAP.
- 19:09I think for those kinds of the current generations, I think we offer just two sizes, like either half of it or the whole, or the whole thing.
- 19:16Incredible.
- 19:17Wow.
- 19:18Okay.
- 19:18How, how much of a chunk of a rack does that take?
- 19:22It's basically the whole rack.
- 19:24Yeah.
- 19:24Pretty much top to bottom.
- 19:25Yeah.
- 19:26It's like a 10 kilowatt server.
- 19:27Yeah.
- 19:28A little power plane on the side there.
- 19:30As you kind of talk through the history of sort of how your code ran, it was more, more colo, as you said, like the more smaller, smaller ones.
- 19:38And then as you got bigger and bigger on some of this, you started working on things like, well, how do we let the servers run hotter and have the air cool them rather than more actively cooled?
- 19:49And then it even gets to a almost more, just remove big chunks of it and let them fail.
- 19:55And then when enough of it has failed, take them out.
- 19:57You want to kind of talk about some of that?
- 19:59We're still, yeah, good question.
- 20:01Cause we're, we're still exploring this space towards higher efficiency, lower energy consumption, more sustainable.
- 20:07One of the experiments that came out of Microsoft research was project Natick, which is taking a bunch of servers, putting it in a rack of servers, putting it in a container that has nitrous oxide gas in it.
- 20:20So it's an inert gas and dropping it into the ocean floor and letting it be cooled ambiently through the water there.
- 20:26Not water on the inside, but the outside of the container.
- 20:29Yeah.
- 20:29So giant heat sink.
- 20:31And the, there was potential benefits of that.
- 20:33And it's still something that might get revived at some point.
- 20:36But what we've found coming out of that was if the parts are in an inert environment, they have one eighth the failure rates as ones that are in air environment.
- 20:46And with particulate matter and corrosive materials in the air.
- 20:50So we started exploring liquid cooling, both for that, as well as potential energy savings and more sustainable cooling and then air cooled.
- 20:59We've explored a two phase liquid immersion.
- 21:01We had a pilot running.
- 21:03There's some regulations that's changed around the kinds of fluids that have made us take a look at a different direction.
- 21:09So we use.
- 21:10Is that kind of like the core, the, the, what you would get in like an air conditioner or some of the stuff they'd replace?
- 21:14They're called forever chemicals or materials.
- 21:17The ones we're using actually aren't, but the regulation is a little broad.
- 21:22And so we're just steering clear and it might be revisited at some point, but we're also have been exploring liquid cooling, kind of traditional liquid cooling, cold, cold plate called.
- 21:32And some people listening, probably like me are gamers and have liquid cooled GPUs or, or CPUs at home in their gaming rigs, which allow them to get overclocked.
- 21:42And it's the same thing we're doing in our data centers.
- 21:44In fact, one of the things Satya showed in the keynote was something called sidekick, which is a cabinet that allows us to take liquid cold plate, liquid cooling into an existing data center, air cooled data center, where the Maya 100 AI accelerators are in the cabinet sitting right next to it.
- 22:02And the cooling pipes are going into the Maya cabinet to cool the accelerators themselves.
- 22:09And so that is.
- 22:10So they manage like some big metal plate and then the metal plate is liquid cool.
- 22:14Yeah, it's effectively that there's a plate on top of the processor and then liquid is going through that.
- 22:20So I'm going to actually show pictures of the inside of the Maya system tomorrow in my AI innovation closing keynote.
- 22:27But that is, I think the takeaway here is that at the scale we're at and with the efficiency gains that you might get from even a few percentage, we're exploring everything at the same time, like single phase liquid immersion cooling, still exploring that.
- 22:42And then how to do cold plate more efficiently.
- 22:44I'll also be showing something called microfluidics we're exploring, which is much more efficient than just pure liquid cold plate, which cold plate is just putting the plate, like you just said, right on top of the processor.
- 22:56And so the water's taking the heat away.
- 22:59But if we can put the liquid right into the processor, like...
- 23:04Are we talking channels in the processor?
- 23:06Channels around the processor.
- 23:07Okay.
- 23:07Just flow it right on top of it.
- 23:09And so that's something we're calling microfluidics.
- 23:12And I'll show that and talk a little bit about that tomorrow too.
- 23:15Offers much more efficient cooling.
- 23:17And it's not prime time yet, but looks incredibly promising.
- 23:21That looks awesome.
- 23:22This portion of Talk Python To Me is brought to you by the Pybytes Python Developer Mindset Program.
- 23:30It's run by my two friends and frequent guests, Bob Belderbos and Julian Sequeira.
- 23:35And instead of me telling you about it, let's hear them describe their program.
- 23:39Happy New Year.
- 23:40As we step into 2024, it's time to reflect.
- 23:44Think back to last year.
- 23:45What did you achieve with Python?
- 23:46If you're feeling like you haven't made the progress you wanted and procrastination got the best of you, it's not too late.
- 23:52This year can be different.
- 23:54This year can be your year of Python mastery.
- 23:58At Pybytes, we understand the journey of learning Python.
- 24:01Our coaching program is tailor-made to help you break through barriers and truly excel.
- 24:07Don't let another year slip by with unmet goals.
- 24:11Join us at Pybytes and let's make 2024 the year you conquer Python.
- 24:16Check out PDM today, our flagship coaching program, and let's chat about your Python journey.
- 24:22Apply for the Python Developer Mindset today.
- 24:25It's quick and free to apply.
- 24:28The link is in your podcast player show notes.
- 24:30Thanks to Pybytes for sponsoring the show.
- 24:33One of the things I saw in the opening keynote, I don't know if it fits into what you were just talking about or if it's also another thing where it actually had the whole motherboard submerged and then even just the entire computer is just underwater.
- 24:46So that was two-phase liquid immersion cooling, like I mentioned, is just dunking the whole thing in the dielectric fluid.
- 24:51And you had it boil at a low temperature, I guess, because the phase change is like an extremely energy-intense, aka heat exchange.
- 24:58Yeah, and it's actually two-phase because of the boiling.
- 25:02It phase changes into gas and then condenses again back into liquid.
- 25:07So that was the idea behind two phases.
- 25:10I see.
- 25:10Instead of just running a radiator, you almost condense it back somewhere else and then bring it back around?
- 25:15Yeah.
- 25:15Okay.
- 25:16Wow, cool.
- 25:17So if we go and run our Python codes, whether it's PASS or IaaS or whatever, what's the chance?
- 25:22It's hitting that or is this kind of cutting-edge stuff reserved for high-energy AI training?
- 25:28Is it more like if we ask ChatGPT, it's liquid cooled?
- 25:32Our standard data centers right now are air-cooled.
- 25:35So it's air-cooled servers.
- 25:37This Maya part is liquid cooled.
- 25:39So in our first summer, we've got some of our own workloads now starting to leverage Maya.
- 25:44Do you put on your own workloads first just in case?
- 25:47Well, it's just to see it.
- 25:48It's just we're proving it out.
- 25:49Shake it out, yeah.
- 25:50Yeah, it's kind of piloting it, yeah.
- 25:51You're not offering that up to the big customers just right away.
- 25:55And so Maya, I don't know how many people know about this either.
- 25:59This is one of the GPU training systems you guys have.
- 26:04I mean, for those who don't know, OpenAI and ChatGPT run on Azure, which probably takes a couple of cores, a couple of GPUs to make happen.
- 26:12Yeah.
- 26:12I want to talk about that.
- 26:13Yeah. So right now our fleet, a large-scale AI supercomputing fleet is made up of NVIDIA parts.
- 26:21So the previous generation was, well, the original generation that we trained GPT-3 on with OpenAI was NVIDIA V100s.
- 26:29Then we introduced A100s, which is what GPT-4 was trained on.
- 26:32And these are graphics cards, like 4080s or something, but specifically for AI, right?
- 26:38Yeah.
- 26:38Okay.
- 26:38That's right.
- 26:39And then the current generation of supercomputer we're building for OpenAI training, their next generation of their model, that's NVIDIA H100 GPUs.
- 26:47Then Maya is our own custom AI accelerator.
- 26:50So it's not a GPU.
- 26:51You know, one of the aspects of NVIDIA's parts has been their GPU base.
- 26:56So they also can do texture mapping, for example.
- 26:59But you don't need that if you're just doing pure AI workloads.
- 27:03So-
- 27:04Back to that specialization, right?
- 27:05Yeah, exactly.
- 27:05Like, so if you could build it just for the one thing, maybe you'd build it slightly differently.
- 27:09That's right.
- 27:09Okay.
- 27:10So Maya is just designed purely for matrix operations used in, in fact, low-precision matrix operations used for AI training and inference.
- 27:18And so that is the specialized part that we've created called Maya 100, the first generation of that.
- 27:25Well, if I think of like some of the stuff presented at the opening keynote and stuff here, I think the word AI was said a record number of times, right?
- 27:35Yeah, I don't think there was a topic there.
- 27:36Oh my goodness.
- 27:37I wasn't a part of.
- 27:38And so how much is this changing things for you guys?
- 27:40Like 12 months ago or something, Chattapiti appeared on the scene and-
- 27:45I mean, it's changing.
- 27:46It's literally changing everything.
- 27:48You know, Jensen was saying this is the biggest thing since the internet.
- 27:52Yeah.
- 27:52Jensen being the CEO of-
- 27:53Jensen, yeah.
- 27:54Yeah, yeah.
- 27:54Who was on stage with Satya at the keynote.
- 27:56It is changing everything.
- 27:59It's changing not just the product offerings.
- 28:01So the way that we, you know, have integrate AI into the products using Copilot, it's changing the way we develop the products as well and the way that we run our systems inside already.
- 28:11So for example, incident management, we've got Copilot built, you know, our own Copilot internally built into that.
- 28:16So somebody that's responding to an issue in our production systems can say, okay, so what's going on?
- 28:22What's the, what happened with this?
- 28:24Yeah.
- 28:25Show me the graph of this.
- 28:26You know, just be able to use human language to get caught up in what's going on.
- 28:30Yeah.
- 28:30People tell me it's just statistics, just prediction.
- 28:32It doesn't feel like, it doesn't feel like prediction.
- 28:35At some, you know, the people that say that, I think are missing the scale of the statistics.
- 28:41And because we're probably predicting a little bit, like thinking about what are you going to say next?
- 28:46Exactly.
- 28:46That's what we're, we're statistical.
- 28:48Yeah.
- 28:48Yeah.
- 28:49And so, so it's just, once you get statistics, that at a large enough scale that you start to see something that looks like what we call intelligence.
- 28:58Yeah.
- 28:59Yeah.
- 29:00It's, it's really incredible.
- 29:01I'm starting to use it to just write my, git commit logs for me, you know, push a button and it says, oh, you added error handling to the background task.
- 29:09So in case this fails, you'll be more resilient and it'll keep running.
- 29:13I'm like, that's better than I could have got it.
- 29:14Just thought that might crash, you know?
- 29:17And you just push the button and it's just, it's magic.
- 29:20It's magical.
- 29:21Yeah.
- 29:21It really is.
- 29:22I mean, it's not, it, it's called co-pilot for a reason because we're not at the point yet where you can just let it do what it does autonomously.
- 29:28You need to check its work.
- 29:29Like you need to look at it and say, oops, you know, that time it screwed it up.
- 29:33It didn't get it quite right.
- 29:33Or I need to add more context to this than it had, or extracted.
- 29:38So, but as far as accelerating work, it's just a game changer.
- 29:42Yeah, it really, really is.
- 29:44So before we run out of time, I want to ask you just a couple more things, a bit of a diversion.
- 29:48So Python, we saw Python appear in the keynote.
- 29:52They were showing off, I can't remember who it wasn't.
- 29:54Satya was whoever followed him.
- 29:56They look, we want to show off our new sharing of the insanely large GPUs for machine learnings.
- 30:01Let's just pull up some Python and a Jupyter notebook and I'll just check that out.
- 30:05And you're like, wait, where are we again?
- 30:06Really interesting.
- 30:08So, you know, you said you're using a little bit of Python yourself.
- 30:11Like what's Python look like in your world?
- 30:13Well, so the reason that I'm using Python is I took a sabbatical this summer.
- 30:16And so I just, I was like, I'm going to do some AI research.
- 30:19So I got connected with an AI researcher.
- 30:21In fact, I'm going to talk about this at my keynote tomorrow.
- 30:23some of the work that came out of it.
- 30:24The obviously AI is completely Python at these days.
- 30:28Yeah.
- 30:29Almost entirely.
- 30:29Yeah.
- 30:30So I was, I spent the whole summer and I still am spending my time in Python,
- 30:35Jupyter notebooks, and then Python scripts when you want to do some, some run for,
- 30:39for final result.
- 30:40so I hadn't used really Python before other than in passing.
- 30:44I mean, it's a very language.
- 30:45It's very easy to pick up.
- 30:46Yeah.
- 30:47There's a, there's a t-shirt that says I learned Python.
- 30:49It was a good weekend.
- 30:50Yeah.
- 30:50It's a bit of a joke, but it's a good joke.
- 30:51Yeah.
- 30:52And I think that's what makes it so powerful is that it's so easy to pick up,
- 30:57but what's made it even easier for me to pick it up.
- 30:59I'll, I'd say that I'm a, my, I'm a mediocre Python programmer, but I'm using Copilot.
- 31:04And that's made me an expert Python coder.
- 31:07How do I do this?
- 31:08Yeah.
- 31:09And it's like, I've never, I don't go to stack over, you know, it's a question.
- 31:13I don't go for stack overflow for questions.
- 31:15I haven't had to get a book on Python.
- 31:17I basically just either ask Copilot explicitly, like,
- 31:22how do I do this or write me this, or I put it in the function or in the comment and it
- 31:26gets it done for me.
- 31:27And there's a, occasionally I'll have to go hand met, edit it and figure out what's going
- 31:31on.
- 31:32But for the most part, it is writing almost all my code.
- 31:35And so my goal is how can I just not have it write everything for me?
- 31:39So that has kind of become the way that I program in Python.
- 31:41And I think Python and AI and it, the knowledge of Copilot for Python, because OpenAI, obviously
- 31:48for their own purposes has made GPT-4 and GPT three, five before it really know Python.
- 31:55I hadn't really thought of that connection, but of course they wanted to answer Python
- 31:59questions, I'm sure.
- 31:59For themselves.
- 32:00Yeah.
- 32:00So I think when it comes to seeing what AI can do for programming, Python is at the forefront
- 32:07of that.
- 32:08What was your impression of it?
- 32:09I mean, I'm sure you've probably seen it before, but like, what's your impression of working in
- 32:12it coming from a curly brace semicolon type language like C++ or something?
- 32:17Because they drop a bunch of parentheses, they have these tab space, these four spaces rules
- 32:22and stuff.
- 32:22Well, it's, you know, the YAML versus Jason.
- 32:25It is kind of a debate, isn't it?
- 32:27But I mean, I've gotten used to it.
- 32:30It's not a, it's not a big deal.
- 32:31And I find it's, it's less verbose than C.
- 32:35There's less typing.
- 32:36Less symbol noise.
- 32:38You can just kind of get the essence.
- 32:39Yeah.
- 32:39Yeah.
- 32:39Yeah.
- 32:40I kind of had that experience as well, coming from a C based language.
- 32:42I'm like, wow, this is really weird.
- 32:43And then after I went back to C#, I'm like, but this is also weird.
- 32:47And I kind of like the clarity over here.
- 32:49So now what do I do with life?
- 32:51And then you go back and like semicolons are annoying now.
- 32:54Yes, exactly.
- 32:55I like, I thought they were needed.
- 32:56They're not needed.
- 32:56What's going on?
- 32:57Another thing that I think, you know, maybe people really enjoy hearing a bit about, and
- 33:02I'm a big fan of, you wrote a three part series of novels about computer hackers called Zero
- 33:09Day.
- 33:09Really good.
- 33:10I read all of them back when they came out and so much of this like computer mystery stuff
- 33:16is like, oh, they're using VB6.
- 33:18I'm going to get their IP address.
- 33:19You're like, wait, what?
- 33:20I mean, those words are meaningful, but the sense is not right.
- 33:23And you know, your books are like a lot of sort of spy stuff, but also a lot of really
- 33:28cool, legit, reasonably possible computer stuff.
- 33:31Yeah.
- 33:32Tell people a quick bit about that if they want to catch up.
- 33:34I love cyber, I love thrillers growing up, techno thrillers.
- 33:37I read Dramatistrain when I was like in seventh grade and I was like, this book is so cool
- 33:42because it's like, I'm learning science plus it's, you know, it's really exciting.
- 33:48So I've always wanted to write one.
- 33:49And then coming into after, into the late 1990s, when you started to see some of these large
- 33:56scale viruses, I was just thinking, this is such a powerful weapon for somebody to cause
- 34:01destruction.
- 34:02And then 9-11 happened.
- 34:03I'm like, all right, logical next step is leveraging a cyber weapon to do something with the same
- 34:09goals.
- 34:09And so that's what led me to write Zero Day, which is taking that idea of using a cyber
- 34:16weapon for terrorism.
- 34:17Then I was like, oh, that book was really well received.
- 34:20I had a lot of fun doing it.
- 34:21So let me write the next one.
- 34:22And I wanted to continue in this theme with the same characters, Daryl, Hagen and, and,
- 34:26um, Jeff Akin and say, what, what's something else?
- 34:29What's another cyber security angle that I can take a look at in the second one.
- 34:34So the second one was state sponsored, cyber espionage.
- 34:37And I actually, the ironic thing is I'd already had Iran in the story.
- 34:41I'd already had China in the story.
- 34:42I had people trying to figure out how to get Iran a nuclear weapon.
- 34:46And then Stuxnet happened right when I was still writing the book.
- 34:49And I'm like, okay, this is like a small part of my plot line.
- 34:52Yeah.
- 34:53Line it up for you.
- 34:54So I had to change the book a little to acknowledge Stuxnet happening.
- 34:57And then the third one was about insider threats, which I think is one of the toughest
- 35:01threats to deal with.
- 35:02In this case, it was a long range plot from some people that wanted to compromise,
- 35:07stock exchange and kind of a mixture of high frequency trading and insider threat with
- 35:12cybersecurity systems, was the third one called rogue code.
- 35:15Yeah.
- 35:16So they were all really good.
- 35:17I really enjoyed it.
- 35:18Were you a fan of Mr. Robot?
- 35:19Did you ever watch that series?
- 35:21I did.
- 35:21I love that series.
- 35:22Yeah.
- 35:22Oh my gosh.
- 35:23Again, it's, it seemed pretty plausible.
- 35:25Yeah.
- 35:26I really liked that.
- 35:27Imagine a lot of people out there listening have seen, seen Mr. Robot as well.
- 35:30If they want, you know, that kind of idea, but in just a series, they can binge.
- 35:34Yeah.
- 35:35Cool.
- 35:35Maybe we should wrap up our, our chat here, but just a quick of like some of the future
- 35:39things you talked about, like rapidly deploying some of these data centers and some of these
- 35:44Ballard systems.
- 35:46Maybe just give us a sense of like, even, like disaggregated rack architecture.
- 35:50Do you have, instead of having a GPU alongside a server, like a rack of GPUs and then optical
- 35:57connections to a rack of servers?
- 35:58Like give us a sense of some of the stuff where it's going.
- 36:01Yeah.
- 36:01So that's some of the stuff that we've exploring.
- 36:03Like I mentioned, we're taking a look at lots of different ways to re-architect the data
- 36:08center to be more efficient.
- 36:09And one of the ways that you get efficient is by, and in reduced fragmentation is by having
- 36:14larger pools to allocate resources from.
- 36:16If you think about allocating a virtual machine on a server, how much RAM can you give it at
- 36:20most?
- 36:20Well, as much as sitting on the server, how many GPUs can you attach to it?
- 36:24Well, as most as are attached to that server.
- 36:26All right.
- 36:26How many PCI slots?
- 36:27Yeah.
- 36:27Yeah.
- 36:28So, but if you think about, I've got a large resource pool, it's a whole group of GPUs
- 36:34that I can be able to give it as many GPUs as 50.
- 36:37Yeah.
- 36:37Ask for 50.
- 36:38Ask for 50.
- 36:39Exactly.
- 36:39The benefits of pooling for resource allocation are that you reduce fragmentation and you
- 36:44get more flexibility.
- 36:45So we've been trying to explore how we can do this from rack scale disaggregation of saying
- 36:49there's a whole bunch of SSDs at the top of the rack, then there's a bunch of GPUs, and
- 36:54then there's a bunch of CPU cores.
- 36:56And let's just compose the system dynamically.
- 36:58There's a bunch of challenges from a resiliency perspective.
- 37:02Like how do you prevent one failure of the GPU part of the system, bringing down the whole
- 37:07rack?
- 37:07For example, there's latency and bandwidth challenges.
- 37:11Like how do you, when you're sitting there on the PCI bus, you get a whole bunch of bandwidth
- 37:15and you get very low latency.
- 37:16If you're going across the rack, you might have the same bandwidth.
- 37:20You might have lower bandwidth just because you can't deliver that much bandwidth out of
- 37:24the GPUs.
- 37:25Right.
- 37:25All the systems are optimized to make assumptions about these numbers.
- 37:29Exactly.
- 37:29And your latency is going to be higher.
- 37:31And so some workloads can't tolerate their latency.
- 37:33So we've been exploring disaggregated memory, disaggregated GPUs.
- 37:36I've shown demos of both of them.
- 37:38We're still exploring those.
- 37:40We're not, you know, it's not ready for production.
- 37:42Yeah.
- 37:42Disaggregated memory or GPUs?
- 37:44Yeah.
- 37:45I would guess memory, but I have a zero experience.
- 37:48Memory is challenging because there are certain GPU workloads that aren't so latency sensitive,
- 37:53like AI training.
- 37:54Sure.
- 37:54Like a batch job sort of thing.
- 37:56Yeah.
- 37:57But when it comes to memory, you almost always see the latency.
- 38:02And so what we think we can do is get remote memory down to NUMA, you know, speaking of
- 38:07non-uniform memory architecture latency down to that level.
- 38:10And a lot of applications can tolerate that.
- 38:13Okay.
- 38:14And so we have a memory tiering where you've got close memory that's on the system and then
- 38:18remote memory, which is like NUMA latency.
- 38:19Kind of like a L2 cache, but like a bigger idea of it.
- 38:22Very, very cool.
- 38:23I think because you're doing such neat stuff.
- 38:26And when you see these hyperscale clouds, I think a lot of what people see is the insane
- 38:33dashboard of choices.
- 38:34Like, do I do?
- 38:35Yeah.
- 38:35Do I do routing?
- 38:36Do I do firewalls?
- 38:37Do I do VPCs?
- 38:39Do I do like paths?
- 38:41I ask, what do I do?
- 38:42But oftentimes I don't really think about like, well, you're getting a slice of this giant
- 38:46server and, you know, maybe someday it'll live under the ocean or whatever.
- 38:50Right.
- 38:50So it was really cool to.
- 38:51Yeah.
- 38:52And I think what you're seeing is the cloud, it started with a few basic building blocks.
- 38:56And then we started to explore lots of different directions of creating lots of different paths
- 39:01services and paths services for compute and then different data offerings.
- 39:05I think the space, and again, coming to the workload, you get this.
- 39:09Is it high?
- 39:10Do you need key value store?
- 39:11Do you need a vectorized database?
- 39:13Do you need, and do you need any of those to be extreme performance?
- 39:18Because then if you need extreme performance, go for the design for purpose vectorized database.
- 39:23If you want key value with vectorization, but it's okay if the vectorization isn't the fastest
- 39:30possible, you know, you can go use this other offering.
- 39:32So that's why the list of options has continued to expand is just because every workload says,
- 39:39I need this.
- 39:40And that's the most important thing to me.
- 39:41And the other one says, no, I need this.
- 39:43That's the most important thing.
- 39:43And others are like, I don't care.
- 39:45Well, as it becomes the mainframe of the world, right?
- 39:49There's a lot of different types of apps running on it.
- 39:51Yeah.
- 39:51Yeah.
- 39:52Awesome.
- 39:52All right, Mark.
- 39:53Final call to action.
- 39:54People maybe want to learn more about some of the stuff we saw here, see some pictures,
- 39:58but maybe also just do more with Azure.
- 39:59What do you say?
- 40:00So a couple of things.
- 40:01One is I've been doing a series of Azure innovation talks at build and ignite sessions.
- 40:06So go back to the last build and you'll see the most recent one of those.
- 40:09And then at this ignite, I'm doing one that's just looking at AI related innovation.
- 40:13So that's on Friday, tomorrow here at ignite, and it'll be available on demand.
- 40:19So that's awesome.
- 40:20Yeah.
- 40:20I'll grab the links to some of those and put them in the show notes for people.
- 40:23Excellent.
- 40:23Well, thanks so much for being on the show.
- 40:24All right.
- 40:25Thanks for having me.
- 40:25Yeah.
- 40:26This has been another episode of talk Python to me.
- 40:30Thank you to our sponsors.
- 40:32Be sure to check out what they're offering.
- 40:33It really helps support the show.
- 40:35This episode is sponsored by Posit Connect from the makers of shiny publish, share, and deploy
- 40:41all of your data projects that you're creating using Python.
- 40:44Streamlit, dash, shiny, bokeh, FastAPI, flask, quattro, reports, dashboards, and APIs.
- 40:50Posit Connect supports all of them.
- 40:52Try Posit Connect for free by going to talkpython.fm/posit, P-O-S-I-T.
- 40:58Are you ready to level up your Python career?
- 41:01And could you use a little bit of personal and individualized guidance to do so?
- 41:07Check out the PyBytes Python developer mindset program at talkpython.fm/PDM.
- 41:13Want to level up your Python?
- 41:15We have one of the largest catalogs of Python video courses over at Talk Python.
- 41:19Our content ranges from true beginners to deeply advanced topics like memory and async.
- 41:24And best of all, there's not a subscription in sight.
- 41:27Check it out for yourself at training.talkpython.fm.
- 41:30Be sure to subscribe to the show, open your favorite podcast app, and search for Python.
- 41:35We should be right at the top.
- 41:36You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 41:41and the direct RSS feed at /rss on talkpython.fm.
- 41:45We're live streaming most of our recordings these days.
- 41:48If you want to be part of the show and have your comments featured on the air,
- 41:52be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 41:57This is your host, Michael Kennedy.
- 41:58Thanks so much for listening.
- 42:00I really appreciate it.
- 42:01Now get out there and write some Python code.
- 42:03I'll see you next time.