Understanding Context Switching in Linux - Network Nuts

Поділитися
Вставка
  • Опубліковано 31 сер 2021
  • We will learn how a CPU manages multiple processes. What is a time slice? Different types of context switching. Voluntary and In-voluntary context switching. Understanding about context switching helps us understand Linux operating system in a better way. Context switching is a kernel routine where kernel tells a CPU to work in a different context.

КОМЕНТАРІ • 5

  • @gibrankhan8232
    @gibrankhan8232 2 роки тому +1

    Thanks alot, i was still not completely aware about this concept after 4years being Linux Admin!!

  • @technicalzak1952
    @technicalzak1952 2 роки тому +1

    Thanks .. very nicely explained. Please post more in depth things.

  • @arunpadikkalathu764
    @arunpadikkalathu764 2 роки тому +1

    excellent; Thank you

  • @Gamestrack8080
    @Gamestrack8080 2 роки тому +1

    Good one sir..

  • @SkittlesWrap
    @SkittlesWrap 2 роки тому +1

    Isn't involuntary context switching happening with 'dd' since it is constantly having to wait for I/O syscalls to finish? While it is waiting, it is not leaving the CPU until the CPU time slice is up. Thus, it sends data through a syscall, waits for the time slice to finish and only returns to the context switching queue when an I/O IRQ occurs.