Skip to content

devu1997/UserLevelScheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Level Scheduler

User level task scheduler using coorperative ULE scheduler

Requirements

  • Linux machine with kernel version >= 5.4
  • Install g++. Refer link
  • Install liburing by running following commands outside the project root directory.
git clone https://github.com/axboe/liburing.git
make -C ./liburing

To compile

Install g++. Refer link

Run command

g++ -std=c++2a -pthread main.cc -I../liburing/src/include/ -L../liburing/src/ -luring

To run

Run command

./a.out

To enable metric collections

Compile with the corresponding commands.

Runtime metrics

g++ -std=c++2a -pthread main.cc -I../liburing/src/include/ -L../liburing/src/ -luring -DENABLE_METRICS

Interactivity penalty metrics

g++ -std=c++2a -pthread main.cc -I../liburing/src/include/ -L../liburing/src/ -luring -DENABLE_INTERACTIVITY_METRICS

Load balancing metrics

g++ -std=c++2a -pthread main.cc -I../liburing/src/include/ -L../liburing/src/ -luring -DENABLE_LOAD_BALANCE_METRICS

Thread migration count metrics

g++ -std=c++2a -pthread main.cc -I../liburing/src/include/ -L../liburing/src/ -luring -DENABLE_THREAD_MIGRATION_METRICS

To run multi-threaded model (pread/pwrite)

Compile with command

g++ -std=c++2a -pthread multi-threaded.cc -I../liburing/src/include/ -L../liburing/src/ -luring

To run multi-threaded model (io_uring)

Compile with command

g++ -std=c++2a -pthread multi-threaded-iouring.cc -I../liburing/src/include/ -L../liburing/src/ -luring

To run node.js model

Run using command

node node_scheduler.js

About

User level task scheduler using coorperative ULE scheduler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •