• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux The LatSched Kernel Patch Download

The LatSched Kernel Patch

April 8, 2008
LatSched Kernel Patch measures scheduler timing with fine granularity, and can be used as a powerful tool in software development.
Version 2.5.0-0.3 / 2.5.1-pre11-0.5
License GPL
Platform Linux
Supported Languages English
Homepage www.xmailserver.org
Developed by LatSched Team
The LatSched Kernel Patch is a powerful tool that provides a kernel patch enabling a fine-grained scheduler timing measurement. The patch utilizes the kernel function get_cycles() to fetch the CPU cycle counter via the rdtsc instruction on x86 cpu families.

A new character device, /dev/latsched (MAJOR = 10 - MINOR = 117), has been introduced to control the behavior and extract data from the kernel scheduler measurement code. This patch has the capacity to study process scheduling and migration between CPUs, in addition to measuring the scheduler latency.

To use the patch, a new kernel must be built with the patch applied, and the new character device /dev/latsched must be created using the command “# mknod /dev/latsched c 10 117”.

The code that will employ the LatSched patch should open the device using “if ((lsfd = open("/dev/latsched", O_RDWR)) == -1) { ... }”. Next, the sample (circular) buffer size must be set using “if ((res = ioctl(lsfd, LS_SAMPLES, samples))) { ... }”.

Finally, the code will have to instruct the sampler to start collecting scheduler timings using “if ((res = ioctl(lsfd, LS_START, 0))) { ... }”. To stop the sampling process, a new ioctl() call is necessary, which can be achieved through “if ((res = ioctl(lsfd, LS_STOP, 0))) { ... }”.

After these steps, the collected data is held inside the scheduler data buffers and must be fetched using something like this: “int cpu, ncpus, ii; struct lsctl_getdata lsgd; ncpus = sysconf(_SC_NPROCESSORS_CONF); memset(&lsgd, 0, sizeof(lsgd)); lsgd.size = samples; lsgd.data = (struct latsched_sample *) malloc(samples * sizeof(struct latsched_sample)); for (cpu = 0; cpu < ncpus; cpu++) { lsgd.cpu = cpu; lsgd.size = samples; if ((res = ioctl(lsfd, LS_FETCH, &lsgd))) { ... } for (ii = 0; ii < lsgd.rsize; ii++) { ... } }”.

In conclusion, LatSched Kernel Patch is an indispensable tool for fine-grained scheduler timing measurement, scheduler latency measurement, and studying the process scheduling and migration between CPUs. It requires a few simple steps to set up and is highly effective in its execution.
What's New

Version 2.5.0-0.3 / 2.5.1-pre11-0.5: N/A

Free Download 3K
337
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Parallels Workstation for Linux
Parallels Workstation allows for seamless operation of multiple operating systems, such as ...
Session Directory Tool
Session Directory Tool is a manager that oversees multicast session directory.
JDBC SQL Profiler
JDBC SQL Profiler is a user-friendly tool that provides recommendations for creating ...
Kernelcheck Screenlet
Kernelcheck is a GNOME screenlet that shows kernel details and comes with ...
Clearlooks Zenburn
This software is a modified version of Clearlooks-Colors that includes a Zenburn ...
OpenRacing
A game that combines racing and simulation genres.
audiokonverter
This software quickly converts between various audio formats like OGG, MP3, AAC, ...
Gecko Hamaker
Gecko Hamaker is a database application that utilizes the free, open source ...
texmfind
The tool helps to locate the correct Gentoo package required for installation.
AlternC Hosting Software
AlternC Hosting Software is an all-in-one tool designed for managing email, web, ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.