BSD上cpu切換 - BBS
By Heather
at 2008-12-02T15:28
at 2008-12-02T15:28
Table of Contents
想問一下 我手邊機器是雙核的cpu
bsd是在怎樣的情況之下才會平均將在run的process到兩個cpu上
目前我有兩個大程式在跑
希望cpu0跑第一個程式 cpu1跑第二個程式
不過top出來都顯示只用CPU0跑
有可以指定要用那個cpu跑的方式嘛?
或是利用怎樣的方式切換cpu
--
top 的info
==========================================================
last pid: 12114; load averages: 2.00, 2.02, 2.06
up 3+03:24:22 14:51:15
30 processes: 3 running, 27 sleeping
CPU: 99.2% user, 0.0% nice, 0.0% system, 0.8% interrupt, 0.0% idle
Mem: 1048M Active, 772M Inact, 211M Wired, 124M Cache, 112M Buf, 1357M Free
Swap: 6144M Total, 12K Used, 6144M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11988 root 1 113 0 503M 503M RUN 0 26:12 49.02% quickrbf
12079 root 1 113 0 524M 523M RUN 0 8:53 48.97% quickrbf
--
dmesg | grep cpu
===========================================================
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
--
Tags:
BBS
All Comments
Related Posts
有人在eee box 上面裝過bsd嗎?
By Edward Lewis
at 2008-12-01T13:15
at 2008-12-01T13:15
有人在eee box 上面裝過bsd嗎?
By Rachel
at 2008-12-01T03:28
at 2008-12-01T03:28
有人在eee box 上面裝過bsd嗎?
By Catherine
at 2008-12-01T00:30
at 2008-12-01T00:30
ssh 有人不停的想要連線
By Sandy
at 2008-11-30T11:07
at 2008-11-30T11:07
ssh 有人不停的想要連線
By Mason
at 2008-11-29T21:26
at 2008-11-29T21:26