Re: UI responsiveness
Re: UI responsiveness
- Subject: Re: UI responsiveness
- From: Gilbert Mackall <email@hidden>
- Date: Thu, 13 Mar 2003 21:59:10 -0500
>
You need to understand what your machine is doing when it lags.
>
It it swapping? Is CPU usage high or low? Is it blocked somewhere?
>
>
Run top, CPU Monitor and/or iPulse, and get to know your machine
>
better.
>
Simon,
I have been running top and it does not seem to me that swapping or
high loading is an issue. It seems like, that while in a loop user
events are being ignored. Bellow is a what top looks like while my
program is running, iSpectrum is the name of the application.
Processes: 50 total, 3 running, 47 sleeping... 133 threads
21:57:48
Load Avg: 1.28, 0.73, 0.49 CPU usage: 52.6% user, 27.6% sys,
19.7% idle
SharedLibs: num = 110, resident = 28.8M code, 2.65M data, 8.40M
LinkEdit
MemRegions: num = 4289, resident = 81.0M + 11.0M private, 87.5M shared
PhysMem: 50.1M wired, 240M active, 30.6M inactive, 321M used, 191M
free
VM: 2.66G + 72.1M 15211(0) pageins, 8970(0) pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE
VSIZE
1200 iTunes 8.8% 3:36.31 8 167 251 8.54M- 13.9M 16.7M-
125M-
1192 SecurityAg 0.0% 0:00.90 2 74 105 1.34M 6.76M 4.19M
100M
1186 Safari 0.0% 7:43.79 6 170 432 26.2M 18.1M 37.1M
159M
1140 iSpectrum 27.3% 34:08.32 4 151 182 8.90M 11.5M 11.2M
126M
1090 Project Bu 0.0% 0:08.35 5 94 268 11.4M 11.6M 19.5M
117M
1083 top 8.8% 12:46.37 1 14 18 288K 348K 376K
13.6M
1082 tcsh 0.0% 0:00.02 1 10 16 328K 604K 760K
5.73M
483 Mail 0.0% 1:21.85 4 177 222 6.91M 16.1M 12.9M
117M
480 Terminal 83.7% 1:56.70 4 82 173 3.15M+ 7.76M 7.36M+
105M+
479 AppleSpell 0.0% 0:00.41 1 28 23 464K 1.01M 1.15M
15.0M
472 iChatAgent 0.0% 0:00.56 3 58 34 612K 1.78M 2.08M
80.4M
468 EyeTV Help 0.0% 0:00.09 1 48 41 416K 2.22M 1.92M
80.7M
465 Transport 0.0% 0:00.41 2 92 97 796K 2.81M 2.56M
93.7M
464 Palm Deskt 1.7% 2:05.11 1 44 92 908K 5.38M 3.48M
97.2M
461 Finder 0.0% 0:07.87 1 79 141 3.26M 15.0M 9.95M
119M
460 SystemUISe 1.7% 1:05.59 1 161 117 1.76M 5.49M 3.73M
99.6M
459 Dock 0.0% 0:13.53 2 100 149 1.14M 12.8M 9.96M
104M
448 pbs 0.0% 0:05.08 2 43 29 920K 964K 1.73M
14.9M
445 TabletDriv 0.0% 0:26.20 1 75 56 544K 1.87M 1.77M
89.6M
434 slpd 0.0% 0:04.41 8 35 31 188K 520K 600K
17.8M
430 AppleFileS 0.0% 0:01.93 2 48 26 1004K 1.66M 1.69M
18.9M
412 DirectoryS 0.0% 0:00.68 3 59 136 604K 3.20M 3.21M
21.0M
407 cron 0.0% 0:00.05 1 8 15 72K 348K 164K
13.5M
404 cupsd 0.0% 0:01.98 1 8 17 744K 500K 1.02M
3.44M
394 inetd 0.0% 0:00.00 1 8 13 44K 328K 112K
1.28M
386 ntpd 0.0% 0:02.18 1 8 15 108K 492K 312K
1.52M
384 loginwindo 0.0% 0:03.27 5 192 179 2.66M 14.1M 12.6M
101M
378 automount 0.0% 0:00.02 2 22 21 132K 432K 536K
14.7M
370 nfsiod 0.0% 0:00.00 1 8 12 8K 332K 80K
1.27M
369 nfsiod 0.0% 0:00.00 1 8 12 8K 332K 80K
1.27M
368 nfsiod 0.0% 0:00.00 1 8 12 8K 332K 80K
1.27M
Gilbert Mackall
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.