Improved Memory Management for User-level Packet Processing on Linux

碩士 === 國立清華大學 === 資訊工程學系 === 95 === An user-level programmable router architecture supports flexible programmability of router functions and facilitates network researchers to experiment with new ideas. This architecture conquers the inflexibility of traditional router that extends its functions onl...

Full description

Bibliographic Details
Main Authors: Wei-Fan Chen, 陳為凡
Other Authors: Chung-Ta King
Format: Others
Language:en_US
Published: 2007
Online Access:http://ndltd.ncl.edu.tw/handle/55607914119980592280
id ndltd-TW-095NTHU5392013
record_format oai_dc
spelling ndltd-TW-095NTHU53920132016-05-25T04:14:03Z http://ndltd.ncl.edu.tw/handle/55607914119980592280 Improved Memory Management for User-level Packet Processing on Linux 針對Linux系統上使用者層級封包處理改進記憶體管理 Wei-Fan Chen 陳為凡 碩士 國立清華大學 資訊工程學系 95 An user-level programmable router architecture supports flexible programmability of router functions and facilitates network researchers to experiment with new ideas. This architecture conquers the inflexibility of traditional router that extends its functions only within kernel. New extended functions are executed like user-level applications that are loaded on this platform dynamically, so no program errors will crash the whole system like only-kernel extensible router do. The trade-off to these flexibilities is the lower performance of user-level and kernel communication. To achieve user-level packet processing functions, the packet user space traveling is required. As everyone knows, there is a strict discrimination between kernel and user space to protect system. Though, with the help of application interface (e.g. BSD), user-level applications can get another duplication of forward packet that. This time-consuming method does not suit network service. Moreover, the router are always flooded by a burst of traffic, it is possible that the all packets are dropped because of the system cant respond in time. Under this condition, the system easily suffers from Livelock that make on progress. In order to building a user-level programmable router without the defects mentioned above. We modified the kernel that supports memory-remapping mechanism to eliminate data copy and provides a new skb allocation/deallocation for network memory management. Our work also tries to improve Livelock problem by control interrupt. Chung-Ta King 金仲達 2007 學位論文 ; thesis 48 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立清華大學 === 資訊工程學系 === 95 === An user-level programmable router architecture supports flexible programmability of router functions and facilitates network researchers to experiment with new ideas. This architecture conquers the inflexibility of traditional router that extends its functions only within kernel. New extended functions are executed like user-level applications that are loaded on this platform dynamically, so no program errors will crash the whole system like only-kernel extensible router do. The trade-off to these flexibilities is the lower performance of user-level and kernel communication. To achieve user-level packet processing functions, the packet user space traveling is required. As everyone knows, there is a strict discrimination between kernel and user space to protect system. Though, with the help of application interface (e.g. BSD), user-level applications can get another duplication of forward packet that. This time-consuming method does not suit network service. Moreover, the router are always flooded by a burst of traffic, it is possible that the all packets are dropped because of the system cant respond in time. Under this condition, the system easily suffers from Livelock that make on progress. In order to building a user-level programmable router without the defects mentioned above. We modified the kernel that supports memory-remapping mechanism to eliminate data copy and provides a new skb allocation/deallocation for network memory management. Our work also tries to improve Livelock problem by control interrupt.
author2 Chung-Ta King
author_facet Chung-Ta King
Wei-Fan Chen
陳為凡
author Wei-Fan Chen
陳為凡
spellingShingle Wei-Fan Chen
陳為凡
Improved Memory Management for User-level Packet Processing on Linux
author_sort Wei-Fan Chen
title Improved Memory Management for User-level Packet Processing on Linux
title_short Improved Memory Management for User-level Packet Processing on Linux
title_full Improved Memory Management for User-level Packet Processing on Linux
title_fullStr Improved Memory Management for User-level Packet Processing on Linux
title_full_unstemmed Improved Memory Management for User-level Packet Processing on Linux
title_sort improved memory management for user-level packet processing on linux
publishDate 2007
url http://ndltd.ncl.edu.tw/handle/55607914119980592280
work_keys_str_mv AT weifanchen improvedmemorymanagementforuserlevelpacketprocessingonlinux
AT chénwèifán improvedmemorymanagementforuserlevelpacketprocessingonlinux
AT weifanchen zhēnduìlinuxxìtǒngshàngshǐyòngzhěcéngjífēngbāochùlǐgǎijìnjìyìtǐguǎnlǐ
AT chénwèifán zhēnduìlinuxxìtǒngshàngshǐyòngzhěcéngjífēngbāochùlǐgǎijìnjìyìtǐguǎnlǐ
_version_ 1718280051460407296