Simulate Linux Completely Fair Scheduler (CFS) using POSIX Threads

Overview

Linux CFS Simulator

Simulate Linux Completely Fair Scheduler (CFS) using POSIX Threads.

Build and Run

$ make
$ ./cfs-sim

Note:

  • The process status table is shown at the beginning when a process is finished.
  • Press Cltr + C if you want to stop

Configurations

Initial Processes

A set of 20 processes are specified in file processes.txt. You can add or modify processes by editing this file

Load Balancer

The load balancer are triggered every 2 seconds. You can change that by changing the macro BALANCER_INTERVAL.

Finish

When there is no more process to execute, the balancer will stop the simulator by setting running to 0.

Slow down the print out

You can slow down the printing by adjusting the macro SLEEP_TIME.

License

linux-cfs-sim is released under the MIT License. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

multi-sdr-gps-sim generates a IQ data stream on-the-fly to simulate a GPS L1 baseband signal using a SDR platform like HackRF or ADLAM-Pluto.

multi-sdr-gps-sim generates a GPS L1 baseband signal IQ data stream, which is then transmitted by a software-defined radio (SDR) platform. Supported at the moment are HackRF, ADLAM-Pluto and binary IQ file output. The software interacts with the user through a curses based text user interface (TUI) in terminal.

null 57 Jun 20, 2022
Harsh Badwaik 1 Dec 19, 2021
"the French term for a watch movement that is not completely assembled yet."

Chablon "the French term for a watch movement that is not completely assembled yet." Today it's a program to draw rectangles on the display of a PineT

Daniel Barlow 3 Jan 3, 2022
Completely new interface to TinyXML

TiCPP is short for the official name TinyXML++. It is a completely new interface to TinyXML that uses MANY of the C++ strengths. Templates, exceptions

null 85 Jun 20, 2022
Implementation of POSIX mqueue using System V messages

mqueue-mac Implementation of POSIX mqueue using System V messages. 23-January-2022 James P. Parziale Description I got frustrated not being able to te

Jim-P 0 Mar 12, 2022
A general solution to simulate execution of virtualized instructions (vmprotect/themida, etc.).

vmp_runner A general solution to simulate execution of virtualized instructions (vmprotect/themida, etc.) based on Unicorn. 一个基于Unicorn模拟执行虚拟化指令(vmpro

kakasasa 40 Jun 22, 2022
Sysmon event simulation utility which can be used to simulate the attacks to generate the Sysmon Event logs for testing the EDR detections and correlation rules by Blue teams.

SysmonSimulator SysmonSimulator is an Open source Windows event simulation utility created in C language, that can be used to simulate most of the att

Scarred Monk 599 Jun 26, 2022
Restoration of The Linux Scheduler Simulator (LinSched)

Restoration of The Linux Scheduler Simulator (LinSched)

Jim Huang 13 Sep 3, 2021
minimal POSIX compliant sleep

Minimal POSIX compliant sleep. Results Only 3 syscalls per execution $ strace ./sleep 1 execve("./sleep", ["./sleep", "1"], 0x7ffc998d09a8 /* 40 vars

null 32 Jan 28, 2022
Dangerous Threads Crew

This is a very simple example program to illustrate how you move CreateWindow/DestroyWindow onto a separate thread if you need your API architecture to allow the main thread to create and destroy windows in an arbitrary way.

Casey Muratori 66 Jun 28, 2022
This program try to recreate bash --posix comportement in certain limite

minishell : petitcoquillage This program try to recreate bash --posix comportement in certain limite Execution : To execute this Program you have to b

null 50 Jun 21, 2022
a unix inspired, non posix compliant micro kernel (more of a monolithic kernel for now though) that i am working on in my spare time

toy-kernel a unix inspired, non posix compliant micro kernel (more of a monolithic kernel for now though) that i am working on in my spare time prereq

czapek 13 Jun 14, 2022
An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.

中文版本请参看这里 MMKV is an efficient, small, easy-to-use mobile key-value storage framework used in the WeChat application. It's currently available on Andr

Tencent 14.7k Jun 27, 2022
A small scheduler for scheduling jobs

A small scheduler for scheduling jobs

Naira 2 Jan 28, 2022
The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)

Introduction The WSL2-Linux-Kernel repo contains the kernel source code and configuration files for the WSL2 kernel. Reporting Bugs If you discover an

Microsoft 5.8k Jun 23, 2022
A low level Operating System designed using Linux Kernel

Conqueror A low level Operating System designed using Linux Kernel To develop the basic low level operating system, we need following Virtual Machine

mahendra gandham 8 May 27, 2022
Hide a process,port,self under Linux using the ld_preload

vbackdoor 中文 Hide a process,port,self under Linux using the LD_PRELOAD rootkit. compile the library git clone https://github.com/veo/vbackdoor.git cd

veo 54 Jun 23, 2022
Using io_uring Linux Kernel interface from Python by JITing C code with MetaCall.

MetaCall Python C io_uring Example io_uring is a new Linux Kernel interface that speeds up I/O operations in comparison to previous implementations li

MetaCall 14 Jun 21, 2022