QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1489|回复: 2

cheungming大侠, 说说网络部分作为模块的可能性吧!

[复制链接]
发表于 2003-4-29 17:11:19 | 显示全部楼层 |阅读模式
现在的项目要求我将网络部分作为模块加载,并测试两种情况下linux网络性能的差异,benchmark工具已经找到了很多:),但是现在对于将网络部分整个的作为模块加载问题多多,不知该如何下手,2.4及其之前的内核编译时如果不选network,会产生很多问题,可能内核都不能启动,自从2.5内核引进nonet.c之后,情况似乎好了一些,有成功编译可启动内核的尝试,因为目标系统是路由器,希望对路由器的网络配置能在不需重新编译内核,甚至不需重新启动的条件下进行,这也是我的毕设课题,时间无多了,忘大侠指点,不胜感激!
发表于 2003-4-29 22:19:03 | 显示全部楼层
if '现在的项目要求我将网络部分作为模块加载,并测试两种情况下linux网络性能的差异' is u only topic, i can tell u that there is no difference whether net is linked into kernel or as a module and loaded into kernel. this is decided by linux kernel implementation. u can read the code about linux how to load module and add symbol table to system to know why. after loading a kernel, its symbol is treated as same as the one already in kernel. so there is no difference. this is also the great value of linux. load on demand.
for the linux router part. i am sorry that i do not have much knowledge on that part. my research direction is storage performance. so i know some about io and fs part only.
i will download a 2.5.6x kernel and try it when i have time. which option under network u needed?
回复

使用道具 举报

发表于 2003-5-1 03:45:54 | 显示全部楼层
i try the 2.5.68. but i do not think i can do that. i think that need modify the kernel source code and modify the makefile. i do not have so many time. i need code for my food. hehe
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-28 02:06 , Processed in 0.040080 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表