On Tue, 2005-12-13 at 14:54 -0500, Kris Kennaway wrote:
> On Tue, Dec 13, 2005 at 02:12:57PM -0500, Robert Fitzpatrick wrote:
> > I guess this means my new server is only using one of my CPUs?
> > 
> > esmtp# grep CPU /var/log/dmesg.today
> > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU)
> >   Hyperthreading: 2 logical CPUs
> > cpu0: <ACPI CPU (2 Cx states)> on acpi0
> > 
> > Can someone point me to the best doc for enabling use of both CPUs on
> > the FreeBSD 5.4 server? I assume the kernel needs built with options.
> 
> FYI, hyperthreading is not a real CPU, and it seems to *really* hurt
> performance on most workloads.  You'll probably benefit from not using
> it.

Yeah, I got the SMP option built into the kernel and still with less
than 700 messages in the queue, very little else going on beside Postfix
with amavis content filtering, my CPU idle is 0% most the time. This is
on my freshly built FreeBSD 5.4 with dual Xeon 2.4 processors and a GB
RAM. You think that could be related to HT? I will have to make a visit
to the data center to remove in BIOS.

Here's my top procs:

last pid:  2079;  load averages:  8.31,  8.91,  8.43        up 0
+00:35:15  20:57:53
149 processes: 13 running, 136 sleeping
CPU states: 54.2% user,  0.0% nice, 21.8% system,  8.3% interrupt, 15.8%
idle
Mem: 747M Active, 85M Inact, 146M Wired, 17M Cache, 111M Buf, 1656K Free
Swap: 2021M Total, 213M Used, 1808M Free, 10% Inuse, 636K In, 1496K Out

  PID USERNAME PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU
COMMAND
 1727 postfix  129    0  7884K  4016K RUN    2   1:14 64.06% 64.06%
cleanup
 1620 postfix  128    0  7884K  3684K RUN    3   0:52 42.48% 42.48%
cleanup
 2031 vscan    116    0   227M   125M RUN    0   0:44 31.25% 31.20%
perl5.8.6
 1892 vscan    116    0   230M  2884K RUN    0   1:44 629.00% 30.71%
perl5.8.6
 1726 postfix  111    0  7884K  4020K RUN    0   0:57 18.55% 18.55%
cleanup
 2035 vscan     -8    0   228M   123M piperd 0   0:36 17.57% 17.53%
perl5.8.6
 2042 vscan    111    0   227M   122M RUN    2   0:26 16.86% 16.75%
perl5.8.6
 1889 vscan     -8    0   238M   130M piperd 2   1:41 15.58% 15.58%
perl5.8.6
 1898 vscan    119    0   229M   125M RUN    0   1:38 13.48% 13.48%
perl5.8.6
 2018 vscan    105    0   226M   121M RUN    0   0:36 11.43% 11.43%
perl5.8.6
 2016 vscan    105    0   226M   122M RUN    0   0:35 10.75% 10.74%
perl5.8.6
 1646 vscan    103    0   232M   129M CPU1   0   3:45  9.42%  9.42%
perl5.8.6
 1894 vscan    107    0   227M   124M CPU3   0   1:37  7.03%  7.03%
perl5.8.6
 1659 postfix    4    0  7884K     8K select 0   1:02  0.00%  6.35%
cleanup
 1724 postfix  -20    0  7884K  3908K swread 0   0:47  1.37%  1.37%
cleanup
 2075 postfix   96    0  7876K  5764K select 0   0:00  1.27%  0.93%
cleanup
 2077 vscan    -16    0  2084K  1024K vmpfw  0   0:00  0.62%  0.34% file
 2078 vscan    -16    0  2084K  1048K spread 0   0:00  3.00%  0.15% file
  565 vscan     20    0 15432K 11336K kserel 0   0:19  1.00%  0.05%
clamd
 2013 root       4    0  9220K  1772K select 0   0:00  0.05%  0.05%
smtpd
  488 vscan      4    0   224M     8K select 0   0:31  0.00%  0.00%
perl5.8.6
  661 root      96    0  3828K   816K select 0   0:04  0.00%  0.00%
master
  613 mysql     20    0 57308K  2236K kserel 0   0:02  0.00%  0.00%
mysqld
 1619 postfix   96    0  4348K   932K select 0   0:02  0.00%  0.00%
trivial-rewrite
  333 root      96    0  1324K   240K select 0   0:02  0.00%  0.00%
syslogd
  745 root       4    0  7272K   948K select 0   0:01  0.00%  0.00% perl
 1599 postfix    4    0  5072K     8K select 0   0:01  0.00%  0.00% qmgr
 1882 root      96    0  2596K  1136K CPU0   0   0:01  0.00%  0.00% top
  558 root       4    0 26004K   836K select 0   0:01  0.00%  0.00%
httpd
  722 ldap      20    0 29132K    48K kserel 1   0:01  0.00%  0.00%
slapd
 1751 root       4    0  9288K     8K select 0   0:01  0.00%  0.00%
smtpd
 1716 root      20    0  9288K   896K lockf  0   0:01  0.00%  0.00%
smtpd
 2039 postfix    4    0  4180K     8K select 0   0:01  0.00%  0.00%
flush
  897 admin      4    0  6144K   348K select 0   0:01  0.00%  0.00% sshd
 1747 root       4    0  9276K     8K select 0   0:00  0.00%  0.00%
smtpd
 1612 root       4    0  9264K  1588K select 0   0:00  0.00%  0.00%
smtpd
 1717 root       4    0  9396K  1268K kqread 0   0:00  0.00%  0.00%
smtpd
 1737 root      96    0  9272K  1732K select 0   0:00  0.00%  0.00%
smtpd
 1715 root       4    0  9252K  1852K select 0   0:00  0.00%  0.00%
smtpd
  442 root       4    0  1244K     8K select 0   0:00  0.00%  0.00% usbd


--
Robert

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to