SlideShare uma empresa Scribd logo
1 de 34
Baixar para ler offline
Real-Time Deadline Scheduling and More...

                                 Dario Faggioli
             ReTiS Lab, Scuola Superiore Sant’Anna - Pisa (Italy),
              10th Annual Linux KERNEL SUMMIT, Cambridge, MA


                                              1st, November 2010




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What is Real-Time?

       Real-Time is all about determinism and guarantees:
               guarantee that your system is deterministic,
               achieve determinism, so that you can provide guarantees.
       Classic Real-Time theory says:
       ”Hey, we can do that, just give us the following:
               knowledge of how many and what task there will be,
               knowledge of their periodicity and computation times,
               either tasks are independent ...
               ... or you must know what, for how long and how many
               times they access shared resources,
               use uniprocessors ...
               ... or must run a schedulability test taking minutes ... For a
               pessimistic result”

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Resource Reservations

        Task are reserved Q (runtime or budget) time units every T time
           units (period) (i.e., they have a ”CPU bandwidth” of Q ).
                                                                 P




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Resource Reservations

        Task are reserved Q (runtime or budget) time units every T time
           units (period) (i.e., they have a ”CPU bandwidth” of Q ).
                                                                 P
            Applications get guaranteed CPU time, and misbehaviors are
                  confined within each task’s ”bandwidth capsule”.




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Resource Reservations

        Task are reserved Q (runtime or budget) time units every T time
           units (period) (i.e., they have a ”CPU bandwidth” of Q ).
                                                                 P
            Applications get guaranteed CPU time, and misbehaviors are
                  confined within each task’s ”bandwidth capsule”.

               τA

               τB

                        0         2         4         6         8         10       12        14




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)       Real-Time Deadline Scheduling and More...
Resource Reservations

        Task are reserved Q (runtime or budget) time units every T time
           units (period) (i.e., they have a ”CPU bandwidth” of Q ).
                                                                 P
            Applications get guaranteed CPU time, and misbehaviors are
                  confined within each task’s ”bandwidth capsule”.

               τA

               τB

                        0         2         4         6         8         10       12        14
               τA

               τB

                        0         2         4         6         8         10       12        14
               τA

               τB

                        0         2         4         6         8         10       12        14
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)       Real-Time Deadline Scheduling and More...
What Applications are Real-Time? (I)




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
What Applications Are Real-Time? (II)




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Concerning Latency... (I)




        250000
                         low RT priority               high RT priority               CBS (12.5, 40)                   CBS (25, 40)

        200000


        150000


        100000


         50000


            0
                 100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800


                                 Two concurrently running video players




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)                Real-Time Deadline Scheduling and More...
Concerning Latency... (II)

       1400

       1200

       1000

       800

       600

       400

       200                 (1) CFS/CFS              (2) FIFO/FIFO                   (3) FIFO/FIFO             (4) AQuoSA/AQuoSA            (5) SHRUB/SHRUB
         0
              0       10000 20000 30000 40000 0   10000 20000 30000 40000 0     10000 20000 30000 40000 0    10000 20000 30000 40000 0   10000 20000 30000 40000


        80000

        70000

        60000

        50000

        40000

        30000

        20000

        10000

              0
                  0         500     1000     1500
                                              0        500      1000     1500
                                                                          0         500      1000     1500
                                                                                                       0         500     1000     1500
                                                                                                                                   0        500      1000     1500


              JACK with 10 periodic clients plus a (fake!) real-time task

D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)                               Real-Time Deadline Scheduling and More...
Concerning Throughput... (I)

                                       80


                                       70


                                       60


                                       50
                   Throughput (MB/s)




                                       40


                                       30


                                       20


                                       10


                                       0
                                            0    0.0005   0.001          0.0015           0.002    0.0025       0.003
                                                           Reserved fraction of CPU time (Q/T)


                                                Disk throughput (DMA enabled).


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)                Real-Time Deadline Scheduling and More...
Concerning Throughput... (II)

                                       1.4
                                                                                                    Minimum
                                                                                                     Average
                                                                                                    Maximum
                                       1.2



                                        1
                   Throughput (MB/s)




                                       0.8



                                       0.6



                                       0.4



                                       0.2



                                        0
                                             0   0.05   0.1   0.15         0.2        0.25    0.3       0.35    0.4
                                                              Reserved fraction of CPU time


                                                 Disk throughput (without DMA).


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)               Real-Time Deadline Scheduling and More...
Concerning Latency and Throughput...

                            A video player plus interrupt load by netperf.
                   250000
                                                     Player Alone                               Player + netperf                         Player with RT priority
                                                                                                                                                      + netperf
                   200000


                   150000


                   100000


                    50000


                       0
                             100   200   300   400    500   600     700   800 100   200   300   400   500    600   700   800 100   200    300   400   500   600    700   800




                             Network throughput: -, 88 Mbps, 58 Mbps.
                   250000
                                                     CBS (20, 40)                                 CBS (25, 40)                                    CBS (29, 40)

                   200000


                   150000


                   100000


                    50000


                       0
                             100   200   300   400    500   600     700   800 100   200   300   400   500    600   700   800 100   200    300   400   500   600    700   800




                    Network throughput: 88 Mbps, 76 Mbps, 59 Mbps.
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)                                   Real-Time Deadline Scheduling and More...
Can Linux Do This... (I)


       With POSIX-like fix priority scheduling?
                Yes, by means of implementing the SCHED SPORADIC
                policy (part of POSIX).
                Have a patch for that! :-)

       With deadline-based scheduling (more convenient, sometimes more
       efficient)?
                Yes, by means of SCHED DEADLINE                              1   and/or
                EDF-throttling.
                Have a patch for that! :-)




           1
               Together with Evidence s.r.l. within http://www.actors-project.eu
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (I)


       With POSIX-like fix priority scheduling?
                Yes, by means of implementing the SCHED SPORADIC
                policy (part of POSIX).
                Have a patch for that! :-)

       With deadline-based scheduling (more convenient, sometimes more
       efficient)?
                Yes, by means of SCHED DEADLINE                              1   and/or
                EDF-throttling.
                Have a patch for that! :-)




           1
               Together with Evidence s.r.l. within http://www.actors-project.eu
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (I)


       With POSIX-like fix priority scheduling?
                Yes, by means of implementing the SCHED SPORADIC
                policy (part of POSIX).
                Have a patch for that! :-)

       With deadline-based scheduling (more convenient, sometimes more
       efficient)?
                Yes, by means of SCHED DEADLINE                              1   and/or
                EDF-throttling.
                Have a patch for that! :-)




           1
               Together with Evidence s.r.l. within http://www.actors-project.eu
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (I)


       With POSIX-like fix priority scheduling?
                Yes, by means of implementing the SCHED SPORADIC
                policy (part of POSIX).
                Have a patch for that! :-)

       With deadline-based scheduling (more convenient, sometimes more
       efficient)?
                Yes, by means of SCHED DEADLINE                              1   and/or
                EDF-throttling.
                Have a patch for that! :-)




           1
               Together with Evidence s.r.l. within http://www.actors-project.eu
D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (II)

       I just released v3 of SCHED DEADLINE (last Friday).




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (II)

       I just released v3 of SCHED DEADLINE (last Friday).
       I planned to have more code ready by now, but I got preempted
       by a very high priority ”task”, about a month ago...




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Can Linux Do This... (II)

       I just released v3 of SCHED DEADLINE (last Friday).
       I planned to have more code ready by now, but I got preempted
       by a very high priority ”task”, about a month ago...




D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...
Now, The Really Important Part...

       ... Questions and open issues:
               Do you want this ?
               In what fashion? Priorities? Deadlines? Hierarchical? All of
               them ;-P) ?
               With what user interface? New syscalls? Cgroupfs? Binary?
               At what privilege level/with what security model? FIFO/RR
               ones? Maybe less restrictions?
               Are users/application-developers ever start using this (if it’s
               accepted)? Is there something that can/needs to be done
               toward this?
               How to balance stability of the API(s) and the new feature
               requests that might come out?
               ...


D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT)   Real-Time Deadline Scheduling and More...

Mais conteúdo relacionado

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Real-Time Deadline Scheduling and More...

  • 1. Real-Time Deadline Scheduling and More... Dario Faggioli ReTiS Lab, Scuola Superiore Sant’Anna - Pisa (Italy), 10th Annual Linux KERNEL SUMMIT, Cambridge, MA 1st, November 2010 D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 2. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 3. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 4. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 5. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 6. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 7. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 8. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 9. What is Real-Time? Real-Time is all about determinism and guarantees: guarantee that your system is deterministic, achieve determinism, so that you can provide guarantees. Classic Real-Time theory says: ”Hey, we can do that, just give us the following: knowledge of how many and what task there will be, knowledge of their periodicity and computation times, either tasks are independent ... ... or you must know what, for how long and how many times they access shared resources, use uniprocessors ... ... or must run a schedulability test taking minutes ... For a pessimistic result” D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 10. Resource Reservations Task are reserved Q (runtime or budget) time units every T time units (period) (i.e., they have a ”CPU bandwidth” of Q ). P D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 11. Resource Reservations Task are reserved Q (runtime or budget) time units every T time units (period) (i.e., they have a ”CPU bandwidth” of Q ). P Applications get guaranteed CPU time, and misbehaviors are confined within each task’s ”bandwidth capsule”. D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 12. Resource Reservations Task are reserved Q (runtime or budget) time units every T time units (period) (i.e., they have a ”CPU bandwidth” of Q ). P Applications get guaranteed CPU time, and misbehaviors are confined within each task’s ”bandwidth capsule”. τA τB 0 2 4 6 8 10 12 14 D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 13. Resource Reservations Task are reserved Q (runtime or budget) time units every T time units (period) (i.e., they have a ”CPU bandwidth” of Q ). P Applications get guaranteed CPU time, and misbehaviors are confined within each task’s ”bandwidth capsule”. τA τB 0 2 4 6 8 10 12 14 τA τB 0 2 4 6 8 10 12 14 τA τB 0 2 4 6 8 10 12 14 D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 14. What Applications are Real-Time? (I) D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 15. What Applications Are Real-Time? (II) D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 16. Concerning Latency... (I) 250000 low RT priority high RT priority CBS (12.5, 40) CBS (25, 40) 200000 150000 100000 50000 0 100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800100 200 300 400 500 600 700 800 Two concurrently running video players D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 17. Concerning Latency... (II) 1400 1200 1000 800 600 400 200 (1) CFS/CFS (2) FIFO/FIFO (3) FIFO/FIFO (4) AQuoSA/AQuoSA (5) SHRUB/SHRUB 0 0 10000 20000 30000 40000 0 10000 20000 30000 40000 0 10000 20000 30000 40000 0 10000 20000 30000 40000 0 10000 20000 30000 40000 80000 70000 60000 50000 40000 30000 20000 10000 0 0 500 1000 1500 0 500 1000 1500 0 500 1000 1500 0 500 1000 1500 0 500 1000 1500 JACK with 10 periodic clients plus a (fake!) real-time task D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 18. Concerning Throughput... (I) 80 70 60 50 Throughput (MB/s) 40 30 20 10 0 0 0.0005 0.001 0.0015 0.002 0.0025 0.003 Reserved fraction of CPU time (Q/T) Disk throughput (DMA enabled). D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 19. Concerning Throughput... (II) 1.4 Minimum Average Maximum 1.2 1 Throughput (MB/s) 0.8 0.6 0.4 0.2 0 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 Reserved fraction of CPU time Disk throughput (without DMA). D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 20. Concerning Latency and Throughput... A video player plus interrupt load by netperf. 250000 Player Alone Player + netperf Player with RT priority + netperf 200000 150000 100000 50000 0 100 200 300 400 500 600 700 800 100 200 300 400 500 600 700 800 100 200 300 400 500 600 700 800 Network throughput: -, 88 Mbps, 58 Mbps. 250000 CBS (20, 40) CBS (25, 40) CBS (29, 40) 200000 150000 100000 50000 0 100 200 300 400 500 600 700 800 100 200 300 400 500 600 700 800 100 200 300 400 500 600 700 800 Network throughput: 88 Mbps, 76 Mbps, 59 Mbps. D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 21. Can Linux Do This... (I) With POSIX-like fix priority scheduling? Yes, by means of implementing the SCHED SPORADIC policy (part of POSIX). Have a patch for that! :-) With deadline-based scheduling (more convenient, sometimes more efficient)? Yes, by means of SCHED DEADLINE 1 and/or EDF-throttling. Have a patch for that! :-) 1 Together with Evidence s.r.l. within http://www.actors-project.eu D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 22. Can Linux Do This... (I) With POSIX-like fix priority scheduling? Yes, by means of implementing the SCHED SPORADIC policy (part of POSIX). Have a patch for that! :-) With deadline-based scheduling (more convenient, sometimes more efficient)? Yes, by means of SCHED DEADLINE 1 and/or EDF-throttling. Have a patch for that! :-) 1 Together with Evidence s.r.l. within http://www.actors-project.eu D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 23. Can Linux Do This... (I) With POSIX-like fix priority scheduling? Yes, by means of implementing the SCHED SPORADIC policy (part of POSIX). Have a patch for that! :-) With deadline-based scheduling (more convenient, sometimes more efficient)? Yes, by means of SCHED DEADLINE 1 and/or EDF-throttling. Have a patch for that! :-) 1 Together with Evidence s.r.l. within http://www.actors-project.eu D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 24. Can Linux Do This... (I) With POSIX-like fix priority scheduling? Yes, by means of implementing the SCHED SPORADIC policy (part of POSIX). Have a patch for that! :-) With deadline-based scheduling (more convenient, sometimes more efficient)? Yes, by means of SCHED DEADLINE 1 and/or EDF-throttling. Have a patch for that! :-) 1 Together with Evidence s.r.l. within http://www.actors-project.eu D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 25. Can Linux Do This... (II) I just released v3 of SCHED DEADLINE (last Friday). D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 26. Can Linux Do This... (II) I just released v3 of SCHED DEADLINE (last Friday). I planned to have more code ready by now, but I got preempted by a very high priority ”task”, about a month ago... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 27. Can Linux Do This... (II) I just released v3 of SCHED DEADLINE (last Friday). I planned to have more code ready by now, but I got preempted by a very high priority ”task”, about a month ago... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 28. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 29. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 30. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 31. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 32. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 33. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...
  • 34. Now, The Really Important Part... ... Questions and open issues: Do you want this ? In what fashion? Priorities? Deadlines? Hierarchical? All of them ;-P) ? With what user interface? New syscalls? Cgroupfs? Binary? At what privilege level/with what security model? FIFO/RR ones? Maybe less restrictions? Are users/application-developers ever start using this (if it’s accepted)? Is there something that can/needs to be done toward this? How to balance stability of the API(s) and the new feature requests that might come out? ... D. Faggioli, ReTiS Lab, Scuola Superiore Sant’Anna, Pisa (IT) Real-Time Deadline Scheduling and More...