LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1606|回复: 5

2.6内核的Preemptible kernel功能的问题

[复制链接]
发表于 2004-2-5 10:32:28 | 显示全部楼层 |阅读模式
新下载了2.6.2的内核,才注意到有一个在处理器配置时叫Preemptible kernel的功能。其说明是模拟一个real-time系统,即实时系统,特为桌面用户准备的,我编译进这个功能后,发现问题以下问题。
其一:单个用户占用cpu时间超长,不能很快的处理多线程。其他程序失去响应
其二:造成鼠标等外设不稳定,我的稳标经常性的乱跳。


不知道大家有没有发现这个问题。

请各位指教。
发表于 2004-2-5 14:31:06 | 显示全部楼层

我认为

所谓实时系统是指:
以响应外部事件迅速为主要目标的系统,适用于产品生产线,计算机辅助制造领域。
我们用不上吧
 楼主| 发表于 2004-2-5 15:25:35 | 显示全部楼层
嗯。它的内核选项说明就是这样的。
可能是我没有看仔细:

CONFIG_PREEMPT:                                                         │
  │                                                                         │
  │ This option reduces the latency of the kernel when reacting to          │
  │ real-time or interactive events by allowing a low priority process to   │
  │ be preempted even if it is in kernel mode executing a system call.      │
  │ This allows applications to run more reliably even when the system is   │
  │ under load.                                                             │
  │                                                                         │
  │ Say Y here if you are building a kernel for a desktop, embedded         │
  │ or real-time system.  Say N if you are unsure.                          │
  │                                                                         │
  │                                                                         │
  │
发表于 2004-2-22 14:07:45 | 显示全部楼层
我用了,从2.6.0到2.6.2。鼠标一直都没问题
发表于 2004-2-22 15:39:41 | 显示全部楼层
我的用的很好,这个功能就是2.6所最新引进的进程调度。
发表于 2004-2-22 15:44:35 | 显示全部楼层
100%的cpu占用率 系统也不是很慢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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