 | | dafang Father of two daughters. Programmer and Linux enthusiasm! V2EX member #2891, joined on 2010-11-12 15:10:07 +08:00 24  81  |
Father of two daughters. Programmer and Linux enthusiasm!
 | Per dafang's settings, the topics list is hidden |
Deals info, including closed deals, is not hidden
dafang's recent replies
系统调用通过异常进入,而不是软中断;软中断是中断处理的下半部,很容易混淆。
或者,也可以成为软件中断,但是软件中断 != 软中断..
现在 一台 8G 一台 4G 两台 PC 机支撑 600 多人 同时使用. 很稳定.
semop resumed 和 poll resumed 肯定不是 CPU 100%的根源, 进程从睡眠恢复.
拿 poll 来说, poll 的过程如果没有可读写的 socket, poll 进程阻塞睡眠, 直到 socket 有数据后恢复.
用 systemtap 追踪一下.
现在在research类似gearman的系统, 外加可以设定 定时任务
经验分享吧, 如果用的阿里云的服务器, 备案提交, 打电话给客服, 就会加入白名单.