Git Product home page Git Product logo

ghost-kernel's Introduction

ghOSt: Fast & Flexible User-Space Delegation of Linux Scheduling

ghOSt is a general-purpose delegation of scheduling policy implemented on top of the Linux kernel. The ghOSt framework provides a rich API that receives scheduling decisions for processes from userspace and actuates them as transactions. Programmers can use any language or tools to develop policies, which can be upgraded without a machine reboot. ghOSt supports policies for a range of scheduling objectives, from µs-scale latency, to throughput, to energy efficiency, and beyond, and incurs low overheads for scheduling actions. Many policies are just a few hundred lines of code. Overall, ghOSt provides a performant framework for delegation of thread scheduling policy to userspace processes that enables policy optimization, non-disruptive upgrades, and fault isolation.

SOSP '21 Paper
SOSP '21 Talk

You must compile and install this kernel in order to use the ghOSt userspace component.

This kernel is Linux 5.11. We recommend installing Ubuntu 20.04 LTS, which ships with Linux 5.4 by default, as the distribution. Compile this kernel on Ubuntu 20.04 and then replace the existing 5.4 kernel with this one.

This is not an officially supported Google product.

ghost-kernel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghost-kernel's Issues

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

Artifacts Found

  • scripts/Makefile.lib
  • tools/perf/tests/pe-file.exe
  • tools/perf/tests/pe-file.exe.debug

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar

This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

Is this an experiment or will it be applied upstream?

Is it reasonable to ship the functionality as an external kernel module or do we have to upstream the entire set of patches?
If so, will this eventually happen or are we still in the prototyping stage?

We should clarify this in the README file.

Add compile script and documents for aarch.

Hi,
I made some progress in compiling ghost-kernel for Raspberry pi 4 and Odroid n2 ARM development boards:)
I read the contribution guideline but am not sure whether I could make a pull request to merge aarch support (script/documentation) to the ghost-kernel repo, as the ghost-kernel is originally focusing on the X86 processor.
If Yes, I'm wondering what's the guideline for adding a new architecture? Or, aarch support has been added at the Google backbend?
Thanks:)
Bests,
John

How to compile the kernel

Hi,
I want to try this kernel, but don't know which module is needed(.config file). When compiling ghost-kernel in Ubuntu22.04, I copy the .config file of kernel 6.2.0-36-generic. Here are the errors I met:

The first error is "No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'". So I disable the SYSTEM_REVOCATION_KEYS, and it works.
The second error is "BTFIDS vmlinux FAILED: load BTF from vmlinux: Invalid argument". I disabled BTF generation in the kernel configuration (CONFIG_DEBUG_INFO_BTF=n) this time, and it works.

Although it is successfully compiled, I am worried if it is OK to disable these two options. Especially for the BTF, which is important for eBPF I think.

Could you help me with this? Thank you so much.

Tickless Scheduling

Hello,

On the userspaace tests folder I have a test file that schedules 1000 threads in sometime x. I would like to know if it were done in tickless mode how long it would take. I am running in centralized mode but do not know how to utilize the tickless methods written in the kernel to learn about the time taken to schedule 1000 threads in tickless mode.

Can someone help with pointers on how I can achieve this.
Thank you,
Haritha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.