Home > Erlang探索 > Erlang R14B 新增加参数 +swt 控制调度器的唤醒阀值

Erlang R14B 新增加参数 +swt 控制调度器的唤醒阀值

September 7th, 2010

原创文章,转载请注明: 转载自系统技术非业余研究

本文链接地址: Erlang R14B 新增加参数 +swt 控制调度器的唤醒阀值

来自github上的otp源码提交消息:
Erlang R14B 新增加参数 +swt very_low|low|medium|high|very_high
Set scheduler wakeup threshold. Default is medium

The threshold determines when to wake up sleeping schedulers when more work than can be handled by currently awake schedulers exist. A low threshold will cause earlier wakeups, and a high threshold will cause later wakeups. Early wakeups will distribute work over multiple schedulers faster, but work will more easily bounce between schedulers.

这样减少无必要的进程调度,避免cache被污染!

Post Footer automatically generated by wp-posturl plugin for wordpress.

Categories: Erlang探索 Tags: ,
  1. September 16th, 2010 at 11:25 | #1

    昨天9月15号, R14B正式发布。

Comments are closed.