Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2015 04:45:48 +0000 (UTC)
From:      Jin Guojun <jguojun@sbcglobal.net>
To:        "performance@freebsd.org" <performance@freebsd.org>
Subject:   Fw: !0.2-R is slow in some applications
Message-ID:  <1438075251.3208029.1439959548687.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <1972431430.5431515.1439704317249.JavaMail.yahoo@mail.yahoo.com>
References:  <1614462542.1974994.1439701288919.JavaMail.yahoo@mail.yahoo.com> <1972431430.5431515.1439704317249.JavaMail.yahoo@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I posted this in freebsd.question earlier and wish more people may see this=
 and make comment, but got no answer. Now narrow to performance group.



 It looks like not just X server is slow on 10.2-R, other servers slow too =
and take a lot of CPU.forefox is play music from youtube, while thunderbird=
 connected to imapd and doing nothing.
Those services take less than 10% total CPU when running 8.4 / 10.1.
Is something under 10.2-R needs to be tuned for performance?=20
or this hardware combination cause 10.2 -R not working well.
Some hardware information is toward the end of this email (in the original =
part).

-Jin

8.4-Release top output for the same applications:
last pid:=C2=A0 1233;=C2=A0 load averages:=C2=A0 0.47,=C2=A0 0.46,=C2=A0 0.=
25=C2=A0=C2=A0=C2=A0 up 0+00:05:21=C2=A0 23:22:11
58 processes:=C2=A0 1 running, 57 sleeping
CPU:=C2=A0 4.5% user,=C2=A0 0.0% nice,=C2=A0 2.5% system,=C2=A0 0.4% interr=
upt, 92.6% idle
Mem: 317M Active, 303M Inact, 750M Wired, 1944K Cache, 651M Buf, 6485M Free
Swap: 12G Total, 12G Free

=C2=A0 PID USERNAME=C2=A0=C2=A0=C2=A0 THR PRI NICE=C2=A0=C2=A0 SIZE=C2=A0=
=C2=A0=C2=A0 RES STATE=C2=A0=C2=A0 C=C2=A0=C2=A0 TIME=C2=A0=C2=A0 WCPU COMM=
AND
=C2=A01104 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 29=C2=
=A0 44=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 457M=C2=A0=C2=A0 323M ucond=C2=A0=C2=
=A0 3=C2=A0=C2=A0 1:11 26.27% firefox
=C2=A01066 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1=C2=A0 46=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 371M=C2=A0=C2=A0 328M select=C2=
=A0 3=C2=A0=C2=A0 0:17=C2=A0 3.08% Xorg
=C2=A01209 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 26=C2=
=A0 44=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 289M=C2=A0=C2=A0 162M ucond=C2=A0=C2=
=A0 1=C2=A0=C2=A0 0:14=C2=A0 0.00% thunderbir
=C2=A01211 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1=C2=A0 44=C2=A0=C2=A0=C2=A0 0 18348K=C2=A0 4896K select=C2=A0 2=C2=A0=C2=
=A0 0:01=C2=A0 0.00% imapd
=C2=A01216 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1=C2=A0 44=C2=A0=C2=A0=C2=A0 0 18348K=C2=A0 4672K select=C2=A0 1=C2=A0=C2=
=A0 0:00=C2=A0 0.00% imapd
=C2=A0 864 root=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=
=A0 44=C2=A0=C2=A0=C2=A0 0=C2=A0 8080K=C2=A0 1404K select=C2=A0 0=C2=A0=C2=
=A0 0:00=C2=A0 0.00% moused------------------------------------- vs -------=
--------------------------------

10.2-Release top output (2 in a couple of minutes away):
last pid:=C2=A0 1088;=C2=A0 load averages:=C2=A0 1.93,=C2=A0 1.07,=C2=A0 0.=
53=C2=A0=C2=A0=C2=A0 up 0+00:05:16=C2=A0 22:49:12
58 processes:=C2=A0 3 running, 55 sleeping
CPU: 19.9% user,=C2=A0 0.0% nice, 61.0% system,=C2=A0 0.3% interrupt, 18.8%=
 idle
Mem: 402M Active, 513M Inact, 528M Wired, 192K Cache, 821M Buf, 6440M Free
Swap: 8192M Total, 8192M Free

=C2=A0 PID USERNAME=C2=A0=C2=A0=C2=A0 THR PRI NICE=C2=A0=C2=A0 SIZE=C2=A0=
=C2=A0=C2=A0 RES STATE=C2=A0=C2=A0 C=C2=A0=C2=A0 TIME=C2=A0=C2=A0=C2=A0 WCP=
U COMMAND
=C2=A0 951 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 75=C2=
=A0 20=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 711M=C2=A0=C2=A0 365M uwait=C2=A0=C2=
=A0 3=C2=A0=C2=A0 1:17 115.23% firefox
=C2=A01083 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1=C2=A0 89=C2=A0=C2=A0=C2=A0 0 36688K=C2=A0 5988K CPU0=C2=A0=C2=A0=C2=A0 0=
=C2=A0=C2=A0 0:47=C2=A0 55.37% imapd
=C2=A01081 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1=C2=A0 88=C2=A0=C2=A0=C2=A0 0 36688K=C2=A0 5988K CPU2=C2=A0=C2=A0=C2=A0 2=
=C2=A0=C2=A0 0:47=C2=A0 52.59% imapd
=C2=A01077 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 44=C2=
=A0 21=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 555M=C2=A0=C2=A0 271M uwait=C2=A0=C2=
=A0 1=C2=A0=C2=A0 0:19=C2=A0 21.14% thunderbi
=C2=A0 923 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
5=C2=A0 20=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 460M=C2=A0=C2=A0 363M uwait=C2=
=A0=C2=A0 0=C2=A0=C2=A0 0:09=C2=A0=C2=A0 2.20% Xorg
=C2=A0 777 root=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1=C2=
=A0 20=C2=A0=C2=A0=C2=A0 0 16728K=C2=A0 2236K select=C2=A0 2=C2=A0=C2=A0 0:=
00=C2=A0=C2=A0 0.00% moused

last pid:=C2=A0 1090;=C2=A0 load averages:=C2=A0 3.67,=C2=A0 2.11,=C2=A0 1.=
04=C2=A0=C2=A0=C2=A0 up 0+00:07:51=C2=A0 22:51:47
58 processes:=C2=A0 3 running, 55 sleeping
CPU: 19.9% user,=C2=A0 0.0% nice, 63.8% system,=C2=A0 0.6% interrupt, 15.7%=
 idle
Mem: 604M Active, 592M Inact, 576M Wired, 192K Cache, 820M Buf, 6110M Free
Swap: 8192M Total, 8192M Free

=C2=A0 PID USERNAME=C2=A0=C2=A0=C2=A0 THR PRI NICE=C2=A0=C2=A0 SIZE=C2=A0=
=C2=A0=C2=A0 RES STATE=C2=A0=C2=A0 C=C2=A0=C2=A0 TIME=C2=A0=C2=A0=C2=A0 WCP=
U COMMAND
=C2=A0 951 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 73=C2=
=A0 20=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 708M=C2=A0=C2=A0 364M uwait=C2=A0=C2=
=A0 2=C2=A0=C2=A0 4:22 112.79% firefox
=C2=A01083 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1 101=C2=A0=C2=A0=C2=A0 0 36688K=C2=A0 5988K CPU2=C2=A0=C2=A0=C2=A0 2=C2=A0=
=C2=A0 2:46=C2=A0 94.78% imapd
=C2=A01081 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
1 101=C2=A0=C2=A0=C2=A0 0 36688K=C2=A0 5988K CPU0=C2=A0=C2=A0=C2=A0 0=C2=A0=
=C2=A0 2:46=C2=A0 94.48% imapd
=C2=A01077 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 41=C2=
=A0 24=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 767M=C2=A0=C2=A0 481M uwait=C2=A0=C2=
=A0 3=C2=A0=C2=A0 1:02=C2=A0 34.62% thunderbi
=C2=A0 923 jin=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
5=C2=A0 20=C2=A0=C2=A0=C2=A0 0=C2=A0=C2=A0 452M=C2=A0=C2=A0 355M uwait=C2=
=A0=C2=A0 1=C2=A0=C2=A0 0:12=C2=A0=C2=A0 2.10% Xorg
=20


     On Saturday, August 15, 2015 10:01 PM, Jin Guojun <jguojun@sbcglobal.n=
et> wrote:
  =20

 A machine with AMD A8-6600K with Radeon + Nvidia GeForce 210 graphic card.=
It works with FreeBSD 8.4-R .. 10.1-R well; however, after upgraded to 10.2=
-R,=20
X Window seems having problem in doing configuration and running server.
In X -configure, the xorg.conf.new generated correctly, but have error at t=
he end says "number of screen s does not match number of devices. It found =
two screens and two devices (see log below), so not sure what is the proble=
m.

When startx, moving window around and scrolling window (using sliding bar) =
are very sluggish.When exist X window, server generate a non-error error:
[=C2=A0 2700.740] (EE) Server terminated successfully (0). Closing log file=
.

Does this mean that a Xorg 7.7_2 has some defect?
Does anyone encounter the similar issue in 10.2-Release?
-Jin



  =20

   


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1438075251.3208029.1439959548687.JavaMail.yahoo>