• Follow us

Technology

Microsoft Becomes Master of Its Own Linux Kernel | Developers

Microsoft this week announced that its own full Linux kernel will power WSL2, the newest version of the Windows Subsystem for Linux (WSL).

This marks the first time that Microsoft will include the Linux kernel as a component in Windows. Microsoft also introduced a Windows command line terminal that will add functionality to PowerShell and WSL.

Both the in-house custom-built Linux kernel for WSL2 and the Windows command line terminal are intended primarily for developers.

"This is a strong move in the battle against AWS more than anything," remarked Joshua Swartz, principal in the digital transformation practice at management consulting firm A.T. Kearney.

Microsoft's future is not the desktop market -- though of course the company will continue to protect its ground there, he told LinuxInsider. Its future is the cloud market, which certainly could include desktop components in the future.

What WSL2 Does

WSL2 is the newest architecture for the Windows Subsystem for Linux. It enables dramatic increases in file system performance and full system call compatibility.

Improved functionality is among the top requests from the WSL community. Users can run more Linux apps in WSL2, such as Docker and FUSE, according to Craig Loewen, program manager for the Windows Developer Platform.

WSL2 handles file-intensive operations like git clone, npm install, apt update and apt upgrade. The actual speed increase depends on which app is running, and how it interacts with the file system, he explained.

Initial tests produced WSL2 running up to 20 times faster compared to WSL1 when unpacking a zipped tarball. It showed a performance boost about two-to-five times faster when using git clone, npm install and cmake on various projects.

Potential to Gain Developer Trust

Essentially, Microsoft stands to gain the appreciation and trust of the developer community by building its own Linux kernel version to run its WSL2 processes, said Cody Swann, CEO of Gunner Technology.

"Outside of strictly Windows development, writing cloud apps (mobile, Web, etc.) on a PC has been a miserable experience and has led developers to dual boot a Linux distro aside the Windows OS anyway. Microsoft is acknowledging and offering a solution," he told LinuxInsider.

It's unlikely that the introduction of an in-house Linux kernel will have much impact on consumers, noted Swann. However, it does open the door for more integrated connections between Microsoft services and the Linux operating system.

"I think [Microsoft] is happy with Windows for consumers but needed to do something for developers," he said.

Building its own kernel "is an acknowledgment that Microsoft realizes the importance of Linux to Microsoft's ecosystem," Swann continued. "I could see their teams building in deep integrations in future releases of Windows."

It is a really smart play from Microsoft, he said, as it "will let them extend deeper into the developer community by leveraging a product someone else -- open source community -- is building," said Swann.

Welcome to the New Microsoft

The shift toward building and maintaining a "for Windows" Linux kernel reflects CEO Satya Nadella's commitment to open source development. This is no longer the Microsoft of Ballmer and Gates, where everything is kept behind a proprietary fence of like tools and products with no interoperability, said A.T. Kearney's Swartz.

"Satya has completely transformed that into a more contemporary platform, and that strategy has paid off in spades. Hello trillion-dollar valuation," he quipped.

The two biggest benefits for Microsoft are efficiency and security, according to Charles King, principal analyst at Pund-IT.

"By leveraging its own substantial development assets and tools, the company's customers can be assured that the kernel remains fully current and is tempered with the latest security patches and fixes," he told LinuxInsider.

Gain for Devs, Too

Linux binaries use system calls to perform many functions, such as accessing files, requesting memory and creating processes. WSL1 relies on a translation layer that interprets many of these system calls and allows them to work on the Windows NT kernel, Microsoft's Loewen noted.

The challenge involves implementing all of the system calls. That results in some apps being unable to run in WSL1, he said. WSL 2 introduces a whole new set of apps that run inside of WSL.

The new architecture lets Microsoft get the most recent improvements to the Linux kernel much faster than in WSL1. Microsoft can update the WSL2 kernel rather than having to re-implement the changes.

"WSL2 will be a much more powerful platform to run Linux apps on and will make it possible to do more with a Linux environment on Windows," Loewen maintained.

Fully Open Source Tool

The development of Microsoft's own Linux kernel is the culmination of years of effort from the Linux Systems Group as well as multiple other teams across Microsoft, according to Jack Hammons, program manager of the Linux Systems Group at Microsoft.

The kernel provided for WSL2 will be fully open source, and Microsoft will provide instructions for creating a WSL kernel on GitHub, he said. The company will work with developers interested in contributing to help get changes upstream.

Microsoft developers built WSL2 using the company's CI/CD systems. The company will service the software through Windows Update in an operation transparent to the user, added Hammons. The kernel will stay up to date with the newest features and fixes in the latest stable branch of Linux.

"To ensure the provenance of our sources, we mirror repositories locally and continually monitor Linux security mailing lists and partner with several CVE database companies to help ensure that Microsoft's Linux kernel has the most recent fixes and mitigations," he explained.

Internal Upstream Mandate

Microsoft will ensure that all kernel changes go upstream -- an important philosophy of Linux, said Hammons. Maintaining downstream patches adds complexity and is not standard practice in the open source community.

Microsoft's goal in leveraging Linux is to be a good citizen and contribute changes back to the community, he added. To protect the stability of the Long Term Support branches, some patches -- such as for new features -- might be included only in future versions of the kernel rather than back-ported to the current LTS version.

When the WSL kernel source becomes available, it will consist of links to a set of patches in addition to the long-term stable source. Over time, Microsoft hopes this list will shrink as patches make it upstream, and grow as new local patches are added to support new WSL features, Hammons added.

Building a Better Window Box

Microsoft also announced the upcoming Winter release of Windows Terminal, a new terminal application for users of command-line tools and shells like Command Prompt, PowerShell and WSL.

Windows Terminal

Windows Terminal

Windows Terminal 1.0 provides many settings and configuration options that offer better control over the Terminal's appearance as well as each of the shells/profiles that open as new tabs, according to Kayla Cinnamon, Microsoft's program manager for Windows Console, Command-Line and WSL.

Settings are stored in a structured text file, making it easy to configure to create a custom-styled Terminal that is personalized to a user's unique taste, she explained.

Rather than continuing to tweak the existing Windows Console, Microsoft decided it needed to take a new, fresh approach. Windows Terminal installs and runs alongside the existing in-box Windows Console application, Cinnamon noted.

How It Works

When a Windows 10 user runs Cmd/PowerShell/etc. directly, the process starts attached to a traditional Console instance. The new terminal's configuration mechanism lets Windows users create multiple profiles for each desired shell/app/tool, whether in PowerShell, Command Prompt, Ubuntu, or even SSH connections to Azure or IoT devices.

These profiles can have their own combinations of font styles and sizes, color themes and background blur/transparency levels. Users also have the option of selecting the new monospaced font to enhance the modern look and feel of the Terminal. This font includes programming ligatures and will be open sourced and have its own repository.

Key features include multiple tabs and beautiful text. Multiple tabs support is the most frequently requested feature for the Terminal, according to Cinnamon. Beautiful text is produced with a GPU-accelerated DirectWrite/DirectX-based text rendering engine.

It displays text characters, glyphs and symbols present within fonts, including CJK ideograms, emojis, powerline symbols, icons and programming ligatures. This engine also renders text much faster than the previous Console's GDI engine.

Backward-compatibility remains intact while providing the option of experiencing Windows Terminal when desired.

Timeline Revealed

Microsoft will deliver Windows Terminal via the Microsoft Store in Windows 10 and will update it regularly. This will ensure that users are always up to date and able to enjoy the newest features and latest improvements with minimum effort, said Cinnamon.

Microsoft plans to launch the new terminal this coming winter. After Microsoft ships Windows Terminal 1.0, developers will start work on many of the features already on a backlogged list.

The Windows Terminal and Windows Console are now available as open source on GitHub.

This summer, Windows Terminal previews will be released to the Microsoft Store for early adopters to use and provide feedback.

What Might Come Next?

The possibility that Microsoft will use its in-house Linux kernel for other purposes, such as developing its own Linux distro, is a bit of a stretch.

That likely depends on whether Microsoft discovers sizable demand or discrete commercial opportunities arising from such an effort, noted Pund-IT's King.

"For the time being, I expect the company will mainly focus on making Windows and Linux increasingly compatible and complementary," he said.

The effort versus payoff would be considerable, suggested A.T. Kearney's Swartz. If Microsoft were a brand new company starting from scratch today, then it probably would build everything on Linux.

"However, porting everything they have now to a Linux-native architecture would be costly and painful -- and for little payoff. With this solution, Linux-lovers get their Linux, and the core Windows architecture remains intact," he explained.

When Apple reinvented the Mac OS in 2000, it was built atop the BSD Unix OS -- which is more like Linux than DOS, which is what Microsoft Windows is built atop, Swartz pointed out.

Maybe a Door Opener?

A Microsoft-built Linux kernel could open the door for more integrated connections between Microsoft services and the Linux operating system.

At heart, this effort signals Microsoft's understanding that few, if any, of its core commercial customers prefer to live in a homogeneously Windows world, observed King.

"Instead, they prefer to use the heterogeneous technologies and systems that best suit their business requirements and use cases. Under the leadership of Satya Nadella, Microsoft has matured enough to recognize that point and is doing all it can to make customers' lives easier, he said.

A more strategic question, said Swartz, is what new capabilities doe this create for the Microsoft platform?

Azure, Microsoft's cloud ecosystem, already has tremendous support for Linux. Windows previously had very good virtual machine support for Linux, he noted.

"The change now is that Linux processes will run natively on the Windows kernel, which means you get a much faster Linux experience than you did on the VM," said Swartz. "I think it's now bringing all the 'industrial Linux engineers' to the Azure table."

Jack M. Germain has been an ECT News Network reporter since 2003. His main areas of focus are enterprise IT, Linux and open source technologies. He has written numerous reviews of Linux distros and other open source software. Email Jack.

Read More



Leave A Comment

More News

TechNewsWorld

Elive Elevates Linux With Enlightenment 2019-05-10 12:41:37The Elive distro's integration of the Debian Linux base and the Enlightenment desktop is a powerful combination. Together, they offer a unique comput

Baltimore Held Hostage in 2nd Ransomware Attack 2019-05-10 08:00:00Baltimore officials have admitted that the city government once again has been victimized by ransomware -- the second such attack in just over a year.

Microsoft Becomes Master of Its Own Linux Kernel 2019-05-09 11:56:13Microsoft has announced that its own full Linux kernel will power WSL2, the newest version of the Windows Subsystem for Linux. This marks the first ti

Review Roundup: Pixel 3a Wins Kudos for Cameras, 2019-05-09 08:00:00Google's Pixel 3a smartphone, launched at Google's 2019 I/O developer conference, has wowed reviewers with the quality of its photos and other featu

Google Showcases AI, Preaches Privacy at I/O Keynote 2019-05-08 08:00:00Google showed off its chops in AI and ML, renewed its commitment to giving users greater control over their data, and introduced a new economically pr

Get Ready for Feature Deluge at Apple's WWDC 2019-05-07 08:00:00Apple plans to introduce a boatload of new apps, features and development tools at WWDC next month, according to a report. As it does every year, Appl

Facial Recognition and the Fight for Diversity 2019-05-06 13:22:06I spent a good deal of my educational and early career as an analyst doing research at scale. In fact, the way I got into the executive resources pro

POP!_OS Makes Classic GNOME Simpler to Use 2019-05-03 12:29:55Are you Looking for a hassle-free Linux OS that is very user-friendly and extremely stable? Pop!_OS from System76 is a prime candidate to fit that ord

No Easy Decision: Choosing Between Pay-TV Services 2019-05-03 08:00:00Many consumers in recent years have opted to cut the cord -- that is, to ditch cable or satellite TV and instead rely on OTT streaming services for th

Cybersecurity Pros Join 'Right to Repair' Battle 2019-05-02 08:00:00An advocacy organization formed by cybersecurity professionals has joined the fight for "right to repair" legislation, which would allow consumers a

Red Flag Flying Over Flagship Phones 2019-05-01 08:00:00These could be the worst of times for high-end flagship smartphones. Google CEO Sundar Pichai told Alphabet shareholders that his company's flagship

Mobile Chrome Hoax Could Target Android Users 2019-04-30 08:00:00A new method for hiding the true location of a website from users of the mobile Chrome Web browser has come to light. Phishers can trick users into re

PCWorld

The powerful, feature-packed Neato Botvac D6 Connected gets 2019-05-21 11:08:00Using a robot vacuum to care for your home not only makes you look cool, but adds some hands-free convenience to your cleaning routine. Of course, the

Observation review: Old science fiction meets New Weird 2019-05-21 10:00:00The camera whirs into focus. Distorts. Whirs into focus again. Scanlines and static make the scene hard to process at first, but they slowly fade. The

How Google's Huawei license ban could change Android 2019-05-21 09:20:00A bad month has just gotten a whole lot worse for Huawei. According to a Reuters report and confirmed by the two companies, Google is preparing t

Amazon's huge one-day PC sale slashes prices on 2019-05-21 09:17:00Amazon’s current one-day sale is one you don’t want to miss if you’re on the lookout for fresh PC gear. The online retailer is dropp

Vizio 2019 product showcase: The value-oriented manufacturer has 2019-05-21 09:00:00Vizio TVs and soundbars get better every year while maintaining down-to-earth prices, which is great news for consumers.

RoomMe promises to make your smart home more 2019-05-21 09:00:00This ceiling-mounted occupancy sensor triggers smart home devices based on who enters the room.

Windows Sandbox: How to use Microsoft's simple virtual 2019-05-21 06:46:00Microsoft may be positioning its upcoming, easy-peasy Windows Sandbox within the Windows 10 May 2019 Update as a safe zone for testing untrusted appli

BrandPost: Use GPU-accelerated VideoProc to easily process 4K 2019-05-20 17:47:00More and more people are using mobile phones, 4K ultra high-definition (UHD) cameras, GoPro action cameras, drones, and other devices to shoot excitin

Need a dragon fix after Game of Thrones’ 2019-05-20 14:06:00ZeniMax Online either has an impeccable sense of timing, or it’s so lucky that all its employees should go buy lottery tickets this second. The

Save $100 on the luxurious Bowers & Wilkins 2019-05-20 11:36:00A solid set of noise-cancelling headphones can be a lifesaver in offices, commutes, homes, and all the other noisy places you spend your life. And tod

Google pulls Huawei's Android license: 5 reasons not 2019-05-20 11:07:00The future just got a little dicey for millions of Huawei fans. Following a Trump administration Executive Order last week that put Huawei in the U.S.

Logitech's couch-friendly K600 TV keyboard has never been 2019-05-20 09:59:00If you’ve been pining for a couch-friendly keyboard with an integrated trackpad for the living room, today’s your lucky day. Amazon droppe

FOX News

Google AI detected lung cancer better than radiologists, 2019-05-21 11:58:49Google unveiled an artificial intelligence system that demonstrated an amazing ability to detect lung cancer in early testing and even outperformed ra

Trolls using Instagram to 'try to show Trump 2019-05-21 10:29:17As the 2020 U.S. presidential election campaign draws nearer, an independent study has uncovered a coordinated troll campaign using Instagram in an at

YouTube cracks down on videos that promote drinking 2019-05-21 10:06:43YouTube has cracked down videos posted by crackpots and fringe figures who promote a host of “miracle cures,” including a holy elixir blea

Scammers use Facebook to trick people into thinking 2019-05-21 09:26:13Scammers are using Facebook Messenger and other apps to trick Americans into thinking they gave money to terrorist groups like ISIS and Al Qaeda.

US warns about alleged spying threat from Chinese-made 2019-05-21 08:14:34

Cybersecurity experts warn Baltimore to stop 'playing' with 2019-05-20 14:13:00Cybersecurity experts say Baltimore is playing with fire as a deadline to pay thousands of dollars in ransom to hackers holding several of the city's

Your phone is spying? The truth behind the 2019-05-20 14:10:39Almost everyone has an eerie a tale to tell. Perhaps you’ve been talking to a friend about an island vacation, when suddenly deals for the Maldi

Google's Eric Schmidt: Breaking up Big Tech would 2019-05-20 13:52:05The former chairman and chief executive of Google said that calls for breaking up the tech giant have "no basis in law" and would harm consumers by

Apple's Tim Cook takes apparent swipe at Facebook, 2019-05-20 11:49:41Apple CEO Tim Cook told graduating students at Tulane University that it was their job to remake the world and leave it better for humanity -- while a

Apple, Google, Amazon, Microsoft sued over 'massive music 2019-05-20 11:12:00Visit any of the major digital music stores and you'll find unauthorized copies of songs for sale and streaming.

New satellites could save Americans $30B on monthly 2019-05-12 08:00:09Upcoming satellite technology could lower prices for Internet services, a new report predicts.

GPS stalkers, lethal cell phones, incognito issues, and 2019-05-12 06:00:30Everything you need to know about GPS trackers, and more.

TechCrunch

Tencent CEO warns companies must keep innovating to 2019-05-22 02:54:42On Tuesday, Tencent’s usually low-profile founder and CEO Pony Ma made rare comments to weigh in on escalating tensions between the United State

In Ford’s future, two-legged robots and self-driving cars 2019-05-22 02:29:48Autonomous vehicles might someday be able to navigate bustling city streets to deliver groceries, pizzas, and other packages without a human behind th

Leak reveals Uber’s $9.99 unlimited delivery Eats Pass 2019-05-22 02:26:35What’s the cord-cutting equivalent to ditching your kitchen? Uber’s upcoming subscription to unlimited free food delivery. Uber is prepari

Valve’s Steam Chat gets its own iOS and 2019-05-22 00:32:18  A little under a year ago, Valve released a big overhaul for the chat features built into its Steam game store/launcher. Focusing on modern day

India’s Ola switches gears on its food delivery 2019-05-22 00:31:24India’s Ola, which has expanded to select international markets and set ambitious goals for its electric vehicles business, is struggling with s

TransferWise now valued at $3.5B following a new 2019-05-22 00:00:43TransferWise, the London-headquartered international money transfer service, is disclosing a new $292 million secondary round that sees investors valu

Following a report about misleading ads placed by 2019-05-21 23:27:26Starting next month, Google will enforce new policies for ads related to abortion in the United States, United Kingdom and Ireland. Google will now re

A young entrepreneur is building the Amazon of 2019-05-21 23:00:00At just 26, Waiz Rahim is supposed to be involved in the family business, having returned home in 2016 with an engineering degree from the University

Food delivery startup Dahmakan eats up $5M for 2019-05-21 22:00:29It’s harvest season for Southeast Asia’s full-stack food delivery startups. Following on from Singapore’s Grain raising $10 million,

Famed founder Daphne Koller tells it straight: “With 2019-05-21 20:11:11Daphne Koller doesn’t mind hard work. She joined Stanford University’s computer science department in 1995, spending the next 18 years the

Sofar Sounds house concerts raises $25M, but bands 2019-05-21 17:17:34Tired of noisy music venues where you can hardly see the stage? Sofar Sounds puts on concerts in people’s living rooms where fans pay $15 to $30

Google says some G Suite user passwords were 2019-05-21 17:15:37Google says a small number of its enterprise customers mistakenly had their passwords stored on its systems in plaintext. The search giant disclosed t

Electrek

BMW said to favor all-electric for next-gen i8 2019-05-21 11:43:22 BMW is leaning toward making its next-generation i8 sports car an all-electric model, according to a new report. more… Subscribe to Electrek

Apple tried to buy Tesla for more than 2019-05-21 10:39:49 Apple reportedly offered to buy Tesla at around $240 per share back in 2013. The bid from six years ago is now being reported as Tesla’s share

Honda now taking reservations for Honda e with 2019-05-21 10:05:33 Honda is now taking reservations for its upcoming all-electric Honda e urban car in four European markets. more… Subscribe to Electrek on You

Tesla cuts base price of new Model S 2019-05-21 09:50:59 Tesla significantly reduced the base price today of its newly upgraded Model S and Model X vehicles that launched just a month ago. more… Subs

EGEB: Minnesota’s Xcel Energy to close coal and 2019-05-21 09:05:54 In today’s EGEB: Xcel Energy shifting to solar — and more — as it plans to phase out coal in Minnesota by 2030. Construction has st

Tesla is finally starting to expand rollout of 2019-05-21 05:30:53 Tesla is finally starting to expand the rollout of its new more powerful Supercharger V3 stations a few months after unveiling the latest generation

Unu launches affordable 2nd gen electric scooter with 2019-05-21 00:01:13 Unu, one of Europe’s leading budget electric scooter companies, has a brand new ride. Unu just launched their second generation electric scoote

Tesla Model X ‘flies off’ guard rail, ends 2019-05-20 18:47:53 A Tesla Model X “flew off” a guard rail on the highway and ended up in doing a funny balancing act on its battery pack. more… Subs

California pushes back for EVs: proposed bill for 2019-05-20 15:14:34 As the Environmental Protection Agency prepares to introduce the final form of its proposal to freeze US fuel economy standards sometime in the near

Outfit your home with 3 energy-conscious TP-Link smart 2019-05-20 14:54:27 Newegg offers a three-pack of TP-Link smart switches for $57.98 shipped. This is combined bundle of HS200 and HS210 switches, which each individ

Tesla releases new Do It Yourself maintenance instructions 2019-05-20 14:54:21 Tesla has released new ‘Do It Yourself’ maintenance procedure instructions to help owners work on their own cars.  more… Subs

Honda, GM blockchain project to examine how EV 2019-05-20 13:04:22 Honda and GM have joined forces in a new research project that aims to examine how electric cars and smart grids can work together in the future, wit


Disclaimer and Notice:WorldProNews.com is not responsible of these news or any information published on this website.