SMP kernel for MSI 694D Pro
Shane Ambler
Shane at 007Marketing.com
Sun May 30 03:55:48 PDT 2004
On 30/5/2004 19:39, "Kris Kennaway" <kris at obsecurity.org> wrote:
> On Sun, May 30, 2004 at 07:35:30PM +0930, Shane Ambler wrote:
>> I am looking for some assistance in building an SMP kernel for an MSI dual
>> PIII board, model is 694D Pro.
>>
>> I have built a new kernel (5.2.1) that boots, but doesn't appear to use both
>> procs.
>>
>> Running top only shows one cpu line in the header - the entry for top
>> switches between cpu0 and cpu1 (in the state column) so there is some
>> recognition of the 2 procs just not spreading the load.
>
> So your kernel is in fact using both CPUs.
>
>> I am importing multiple times into mysql to check load - the best I can do
>> is get 45% idle.
>
> If your application is not multithreaded or is linked to libc_r then
> it will only use one CPU at a time.
OK I will look at the configure options of mysql server - it is suppose to
be multi threaded.
I started up 4 simultaneous compiles from ports and got idle to drop down to
about 20%.
Shouldn't top show an individual line for each cpu load though?
last pid: 43405; load averages: 6.19, 5.71, 4.03 up
0+01:04:51 20:19:04
107 processes: 1 running, 98 sleeping, 8 lock
CPU states: 45.5% user, 0.0% nice, 17.3% system, 0.0% interrupt, 37.3%idle
Mem: 165M Active, 273M Inact, 96M Wired, 2332K Cache, 86M Buf, 209M Free
Swap: 1511M Total, 1511M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
584 mysql 125 0 54336K 29044K *Giant 0 6:09 27.10% 27.10% mysqld
671 root 124 0 27316K 19324K select 1 6:55 26.86% 26.86% kdeinit
1851 root 102 0 3004K 2088K *Giant 0 0:31 5.86% 5.86% mysql
1846 root 4 0 3004K 2088K sbwait 0 0:32 5.27% 5.27% mysql
522 root 76 0 68116K 66852K select 0 31:49 3.47% 3.47% XFree86
630 root 97 0 22792K 15020K select 0 0:43 0.93% 0.93% kdeinit
43385 root 130 0 7264K 6760K *Giant 0 0:00 8.00% 0.39% cc1
--
Shane Ambler
Sales Department
007Marketing.com
Shane at 007Marketing.com
More information about the freebsd-smp
mailing list