• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (3): 46-50.doi: 10.3969/j.issn.1007130X.2011.

• 论文 • Previous Articles     Next Articles

FreeBSD Kernel Based Virtual Server Research and Implementation

WANG Li,YANG Xuejun,ZHANG Wensong   

  1. (National Laboratory for Parallel and Distributed Processing,Changsha 410073,China)
  • Received:2009-05-05 Revised:2009-08-26 Online:2011-03-25 Published:2011-03-25

Abstract:

Server cluster is an efficient architecture for providing high performance networkservices, and the packet forwarding technique plays an important role in exploiting theperformance of server clusters. Efficient packet forwarding techniques incur low schedulingoverhead, and have high scalability. IP Tunneling/Direct Routing are novel and efficientpacket forwarding techniques. FreeBSD is an ideal network server operating system. However,the packet forwarding technique adopted in the current FreeBSD based server cluster schedulersare all network address translation, which has a limited scalability. This paper describes themotivation, design, and implementation of FVS (FreeBSD Virtual Server), which works inside theFreeBSD kernel and adopts the IP Tunneling/Direct Routing techniques. The discussion focuseson the system architecture and the key implementation techniques. We have implemented FVS on

the FreeBSD5.3 release, and the experimental results show that the system incurs very low

overload, thus achieves high scalability.

Key words: FreeBSD OS kernel;cluster scheduling;kernel layer4 switching