Home / OldFiles
Name Modified Size InfoDownloads / Week
Parent folder
tools.tar.gz 2007-06-06 764 Bytes
sched-trio-design.txt 2007-06-06 8.0 kB
README 2007-06-06 1.2 kB
linux-2.6.21.3-trio-v1.patch 2007-06-06 97.7 kB
Totals: 4 Items   107.6 kB 0
The tools/ directory contains code for generating commands that utilize the
four of the six Trio system calls:

1. set_thread_weight(tid, weight)
   
creates a Trio group containing one thread tid and sets the group's weight
to weight.

2. set_thread_reserve(tid, reservation)
   
creates a Trio group containing one thread tid and sets the group's
reservation to reservation/100.

3. set_process_weight(pid, weight)
   
creates a Trio group containing all threads in process pid and sets the
group's weight to weight. Any thread that the process creates in the future
belongs to this Trio group too.

4.  set_process_reserve(pid, reservation)
   
creates a Trio group containing all threads in process pid and sets the
group's reservation to reservation/100. Any thread that the process creates
later belongs to this group too.

5. set_group_weight(tids[1..n], n, weight)
   
creates a Trio group containing n threads whose TIDs are stored in tids and
sets the group's weight to weight.

6. set_group_reserve(tids[1..n], n, reservation)

creates a Trio group containing n threads whose TIDs are stored in tids and
sets the group's reservation to reservation/100.
Source: README, updated 2007-06-06