Advantages of user space:
- Easier to debug : Advantageous to developers. Note that IPS is quite complex.
- Faster to develop new functionalities.
- No limitation on stack size. Stack size grows with its usage.
- Many debugging tools available for user space applications.
- Swap memory can be used - So, almost all memory in the system can be used. In case of kernel space, only limited amount of memory can be used.
- Many libraries available.
- Upon any crash due to software, faster to bring up.
- Faster packet processing :
- No threading overhead.
- Save on buffer copy overhead.
- Straight access to TCP/IP stack functions such as routing functions and bridging functions.
- No or very minimal jitter when run in softirq/tasklet context. - Very useful for VOIP traffic.
- Real time characteristics of the traffic can be maintained.
- Physical memory access.
- Easily portable to Real time operating systems as not much of OS capabilities are used - Advantage for vendors who need to have flexibility of operating systems.
No comments:
Post a Comment