IOS Features
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The whole Operating System runs as a single process and kernel mode.
Monolithic
No Virtual Memory
Everything Runs in RAM
Cooperative Multitasking
Process relinquishes CPU on its own by calling --
Scheduler - Multilevel Priority queues
Four priority queues - CRITICAL, HIGH, NORMAL, LOW
Static priorities - decided at the time of creation of the process.
Can be changed thru cli/function call.
CPU HOG Message --- Trace from timer interrupt.....
Quantum 2 ms
Watchdog 2 minutes
I wrote function to print Stack trace from a interrupt handler---------.
---> Made some changes in timers - AVL tree and Timer wheel
---> Timers --- Timer wheeels
What are the advantages/disadvantages of cooperative multitasking
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Process does not have to worry about critical sections.
All processes have to be responsible. One process caught in loop will hog the CPU.
Is Cisco IOS an RTOS? Not really. Its is not hard real time system. It has
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No virtual memory
Priority based scheduling
Blog Archive
-
▼
2007
(55)
-
▼
Apr
(48)
- Socket Programming
- Pthreads
- Virtual Memory Management
- How a system call is implemented?
- Inter-process communication
- How malloc has been implemented (brk system call)?
- Linux Modules - How are they linked dynamically?
- Proc File System
- fork, vfork, copy-on-write and clone
- CPU Scheduling -- Different types of CPU schedulin...
- Signals (System V and POSIX)
- How mapping from virtual address address to physic...
- setuid program (real and effective user ids)
- Exceptions, traps, interrupts and signals
- Processor execution levels
- Process Address Space
- Unix/Linux File System Layout
- Salient points about Unix/Linux
- Big Endian versus Little Endian
- Semaphore, Mutex, Conditional variable, Spin lock
- Segmentation Fault and Bus Error
- wait() system call
- Bottom half
- Linux time keeping - Timer interrupt, jiffies, xtime
- Position Independent Code (PIC)
- kmalloc/kfree and vmalloc/vfree
- Static versus shared objects
- How many processes will be created-- fork?
- Can we get return value from exec system call?
- How does profiling code works? -- processor debug ...
- ptrace - how does it work?
- Record locking
- GNU Linux pthreads
- How do you use RSA for both authentication and sec...
- Unix/Linx bootupand login
- What are various problems unique to distributed da...
- cooperative,preemption,non preemption
- Puzzles
- Write system call that prints stack trace at that ...
- DMA (Direct Memory Access)
- Real Time Systems
- Comparison of IOS and General Purpose OS like Linux
- Operating Systems I/O Structure
- Linux - Process Scheduling
- Deadlock avoidance and prevention
- Porting from 32 bit OS to 64 bit OS
- Sign extension
- How to make an application daemon
-
▼
Apr
(48)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment