Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2000 08:52:45 -0300
From:      "Elias Alexandre Argenton" <elias@pro.via-rs.com.br>
To:        <questions@FreeBSD.org>
Subject:   very low speed FreeBSD
Message-ID:  <003a01bfa92c$a67f9ee0$21051cac@elias.procergs>

next in thread | raw e-mail | index | archive | help
Hi everybody. Someone could help us?

We have a dual Pentium III 500MHZ with 256MB RAM and 2x18GB SCSI disks tied
with vinum. This machine runs postfix-19991231 with radius authentication
for about 40.000 mailboxes over FreeBSD 3.4.
The top command reports 90% of the time the CPU is above 95% idle (see
below).
Despite this, it takes about 10 seconds to show the first screen of a vi
command.
Another strange symptom is the report from iostat (see below). It shows a
great discrepancy among our disks, mainly in the msps measure. It also shows
a great discrepancy (very high numbers) about what should be the msps of any
SCSI disk.
This configuration is running for months and we have no report of hardware
or software failure or malfunction whatsoever.

Could the numbers from iostat be wrong?
Could the numbers from top be wrong?
What else could be wrong?
What can we do?
Thanks.
------------- Elias A. Argenton ----------



this is a sample of the output from "iostat  -t da  -w 5  -do"
         da0           da1
 sps tps msps  sps tps msps
 490  41 24.7  107   6   179
 559  51 19.6    94   5   218
 513  37 27.2  154   6   179
 166  18 56.3    26   1 1253
 291  28 36.3    32   2    418
 158  12 80.8    10   1  1670
 156  13 74.8    29   0  2505
 313  25 40.7    28   0  2505
 101  10 98.2      0   0     0.0
 160  15 65.1    13   1  1253
 304  23 43.2    94   4    250
 118  10  104      3   0  5010
   47    6  179       0   0    0.0
 202  17 59.6  185   2   501
 169  12 83.5      0   0    0.0
 111    7  152      0   0    0.0
 464  22 45.1      0   0    0.0
 330  26 39.1   54   2    455



su-2.03# top
last pid: 37869;  load averages:  0.14,  0.15,  0.15   up 26+12:31:19
23:56:18
132 processes: 1 running, 124 sleeping, 7 stopped
CPU states:  0.6% user,  0.0% nice,  2.3% system,  0.8% interrupt, 96.4%
idle
Mem: 55M Active, 151M Inact, 33M Wired, 9016K Cache, 8345K Buf, 1196K Free
Swap: 512M Total, 77M Used, 434M Free, 15% Inuse

  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
37809 root      28   0  1752K   956K CPU1   0   0:03  2.45%  2.29% top
  161 root       2   0   936K   512K select 1  34:15  0.00%  0.00% inetd
72145 root       2   0  6880K  5672K select 0 238:17  0.00%  0.00% named
72250 root       2   0   964K   356K select 1  20:39  0.00%  0.00%
radiusd.esva
79386 root       2   0   908K   540K select 1  11:20  0.00%  0.00% master
    1 root      10   0   496K    72K wait   0   9:02  0.00%  0.00% init
  364 root       2   0   836K   248K accept 1   8:13  0.00%  0.00% viarsd
 5375 postfix    2   0  1504K  1188K select 1   6:05  0.00%  0.00%
trivial-rewr
   38 root      10   0   513M  1212K mfsidl 1   4:06  0.00%  0.00% mount_mfs
18304 root       2   0  1752K  1388K select 1   3:07  0.00%  0.00% top
19541 postfix    2   0  1892K  1620K select 1   0:45  0.00%  0.00% qmgr
  164 root      10   0  1008K   376K nanslp 0   0:33  0.00%  0.00% cron
29111 tty        2   0   768K   420K sbwait 1   0:04  0.00%  0.00% comsat
37058 rsf8427    2   0  2672K  2388K sbwait 1   0:02  0.00%  0.00% popper
17709 root       2   0   888K   544K select 1   0:02  0.00%  0.00% telnetd
73741 root      10   0   924K   528K STOP   1   0:02  0.00%  0.00% iostat
92530 root       2   0   888K   556K select 1   0:02  0.00%  0.00% telnetd
26182 root       2   0   884K   216K accept 1   0:01  0.00%  0.00%
aliasemaild
73065 root       2   0   888K   544K select 1   0:01  0.00%  0.00% telnetd
39315 root       2   0   780K   228K accept 1   0:01  0.00%  0.00% onlined
su-2.03#




su-2.03# df
Filesystem        1K-blocks     Used    Avail Capacity  Mounted on
/dev/da0s1a          496111    76643   379780    17%    /
/dev/da0s1f         5954477  3539275  1938844    65%    /usr
/dev/da0s1e          127023    11489   105373    10%    /var
procfs                    4        4        0   100%    /proc
/dev/vinum/bigvol  27651329 11210856 14228367    44%    /bigvol
mfs:38               507771      603   466547     0%    /usr/local/etc/raddb
su-2.03#



su-2.03# /usr/sbin/pkg_info
autoconf-2.13       Automatically configure source code on many Un*x
platforms
bash-2.03           The GNU Borne Again Shell
gdbm-1.8.0          The GNU database manager
gmake-3.78.1        GNU version of 'make' utility
imap-uw-4.5         University of Washington IMAP4rev1/POP2/POP3 mail
servers
libtool-1.3.3       Generic shared library support script
linux_base-5.2      The base set of packages needed in Linux mode
m4-1.4              GNU's m4
mpack-1.5           External MIME packer/unpacker
postfix-19991231    Good alternative to sendmail
qpopper-2.53        Berkeley POP 3 server (now maintained by Qualcomm)
rpm-2.5.6           The Red Hat Package Manager
su-2.03#



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003a01bfa92c$a67f9ee0$21051cac>