第
37
卷第
4
期
2009
年
8
月
浙江工业大学学报
JOURNAL OF ZHEJIANG UNIVERSITY OF TECHNOLOGY
基于微内核的地址空间研究
古辉,邱锺
(浙江丁[业大学信怠工程学院,浙江杭州
I
310032)
Vo
l.
37
No;
4
Aug.
2009
捕事:在微内核的结构中,大部分执行操作系统功能的服务以及驱动都被移出了内核,导致了频繁
的地址空间切换,产生了很大的系统开钱,而地址空间的切换必然伴随着
TLB
的刷新,瞪着
TLB
容量的增加,
TLB
的瑞新也为地址空阔切换的带来了很大的开镑,在
Intel
处理器上,针对频繁的
地址空间切换,研究并引入了小地址空间的概念,有效地减少了地址空间的切换从而避免了
TLB
的大量刷新,同时也提高了进程间通信的效率,在一定程度上提高了系统性能.
关镰语:微内核手地址空间;
'J
、地址空间
;TLB
中图分类号
:TP316
文献标识码
:A
文章蝙号
:1006-4303(2009)0
小
0426-03
The research
on
address space based
on
micro
腼
kernel
GU
Hui.
QIU
Ting
(
College
of
Informatìon
Engineering
,
Zhejìang
University
of
Technology
,
Hangzhou
310032
,
China)
Abstract:
ln
th
巳
architecture
of
micro
呵
kernel.
most
system
services
in
operating
system
have
been
removed
out
of
the
kerne
l.
lt
leads
to
the
frequent
switching
of
address
space
and
results
in a
lot
of
system
overhead.
The
switching
of
address
space
a1ways
requires
10ts
of
TLB
refresh.
With
the
increase
of
TLB
capacity
,
refreshing
TLB
for
address
space
switch
is
a
big
overhead.
In
Intel
processor
,
we
study
and
introduce
the
concept
of
small
…
address-space
for
this
problem
in
this
paper.
It
can
effectively
reduce
the
switching
of
address
space
so
as
to
avoid
a
large
of
TLB
refresh.
At
the
samεtime
,
it
also
can
improve
the
efficiency
of
the
process
of
communication.
To
some
extent
,
it
effective!y
improves
system
performance.
Key
words:
micro
叩
kernel;
address-space;
small-address-space;
TLB
。前
富
随着网络技术的不断发展,倍患安全越来越显
得重要.操作系统作为各种应用软件的平台,它去是各
种软件能够正常运行的最基本保障,要求具有良好
的兼容性、安全性、可靠性以及可扩展性.
早期的操作系统绝大多数是宏内核,意思是整
收稿日期
:2008-09
币
11
个操作系统,包括调度、文件系统、两络、设备毒草动
程序、存储管理以及存储页商管理等,都在内核中完
成.一直到现在广泛应用的操作系统,如
UNIX
,
Linux
,和
Windows
还大都是宏内核操作系统.徨黯
着操作系统变得越来越复杂〈现代操作系统的内按
有一两百万行
C
程序是很常见的事情)
,把所有这
些功能都放在内核中使得内核变得异常员在大,可靠
娃、安全性下降,也影略到可扩属姓.自
3
此,擞内核的
作者简介:宵
辉(J
956-)
.窍
.!1
Jl!写孝义人,教授,硕士,研究方向为计算桃应用、操作系统、信患处理及照形照像等.