Language Selection

English French German Italian Portuguese Spanish

Google Helps With Linux Scheduling With SchedViz

Filed under
Linux
Google

Google has just open sourced a tool that lets you visualize how your program is being treated under Linux scheduling. The idea is that you can use SchedViz to tune the system.

We all know the best scheduling algorithm to use - my program runs, everything else is suspended. Effective, but not cooperative. To achieve the same result while allowing other programs a chance to use the CPU we need to tune, and perhaps even select, the scheduling algorithm.

The problem is that the basic Linux tools to do the job are lacking and what generally happens is that you guess what might be best. In a modern system such a guess is unlikely to be correct because there are too many variables. Each thread has a priority and these interact under the scheduling policy. It can make a difference which core a thread is assigned to and changing cores is something best avoided.

Read more

Original and LWN

  • Understanding Scheduling Behavior with SchedViz

    Linux kernel scheduling behavior can be a key factor in application responsiveness and system utilization. Today, we?re announcing SchedViz, a new tool for visualizing Linux kernel scheduling behavior. We?ve used it inside Google to discover many opportunities for better scheduling choices and to root-cause many latency issues.

  • Understanding Scheduling Behavior with SchedViz (Google Open Source Blog)

    The Google Open Source Blog has an announcement of the release of the SchedViz tool that is used internally at the company "to discover many opportunities for better scheduling choices and to root-cause many latency issues".

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Running deepin 20 LiveCD

If you run deepin 20 from usb, you will find it is an Installer similar to Microsoft Windows Installer and not a LiveCD. Meaning, in order to try out deepin you must install it and cannot try it out beforehand like Ubuntu. Fortunately, actually the deepin installer includes LiveCD Session. We just need a little adjustment at the boot time and it works. Enjoy! Read more

Open Source Lightweight Directory Access Protocol Solutions

LDAP (Lightweight Directory Access Protocol) is an application protocol for accessing directory services. It runs on a layer above the TCP/IP stack incorporating simplified encoding methods, and offers a convenient way to connect to, search, and modify Internet directories, specifically X.500-based directory services. It is an open, vendor-neutral, industry standard application protocol. LDAP utilizes a client-server model. This protocol is specifically targeted at management applications and browser applications that provide read/write interactive access to directories. The main benefit of using an LDAP server is that information for an entire organization can be consolidated into a central repository. LDAP supports Secure Sockets Layer (SSL) and Transport Layer Security (TLS), so that sensitive data can be protected. LDAP servers are used for a variety of tasks including, but not limited to, user authentication, machine authentication, user/system groups, asset tracking, organization representation, and application configuration stores. Read more

Telegram for Ubuntu 20.04 LTS, Mint Ulyana and Latest Fedora

This is for you who want to have Telegram application on Ubuntu Focal Fossa and latest GNU/Linux Mint 20 Ulyana and Fedora 32. You can also practice this on other great OSes released just recently most notably MX Patito Feo and deepin 20. This means you can enjoy the fastest instant messenger on latest free software operating systems released this year for your computer and laptop. Enjoy Telegram! Read more

Introducing Precursor

Precursor is a mobile, open source electronics platform. Similar to how a Raspberry Pi or an Arduino can be transformed into an IoT gadget with the addition of a couple breakout boards, some solder, and a bit of code, Precursor is a framework upon which you can assemble a wide variety of DIY mobile applications. Precursor is unique in the open source electronics space in that it’s designed from the ground-up to be carried around in your pocket. It’s not just a naked circuit board with connectors hanging off at random locations: it comes fully integrated—with a rechargeable battery, a display, and a keyboard—in a sleek, 7.2 mm (quarter-inch) aluminum case. Read more