Date: Tue, 27 May 2008 21:32:50 -0700 From: Chuck Swiger <cswiger@mac.com> To: Unga <unga888@yahoo.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: sched_ule performance on single CPU Message-ID: <85506AE6-A37B-4644-B854-89397FFD6E19@mac.com> In-Reply-To: <501295.26204.qm@web57008.mail.re3.yahoo.com> References: <501295.26204.qm@web57008.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 27, 2008, at 7:51 PM, Unga wrote: > Appreciate if Chuck Swiger could enlighten us again on > what priority X run on Mac OSX? realtime or normal? The X11 server seems to run with mildly elevated priority (46, where realtime is > 60 or so); something like an xterm runs with normal/ default priority of 31: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME PRI COMMAND root 69 0.0 0.2 79700 3904 ?? Ss 16May08 0:02.74 63 /usr/sbin/coreaudiod cswiger 89 0.0 0.1 350800 2308 ?? S 16May08 0:00.70 63 /usr/sbin/UserEventAgent -l Aqua root 37 0.0 0.0 599664 704 ?? Ss 16May08 0:00.01 63 /sbin/dynamic_pager -F /private/var/vm/swapfile windowserver57 0.4 3.2 477116 66272 ?? Ss 16May08 51:38.50 63 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ CoreGraphics.framework/Resources/WindowServer -daemon cswiger 31 0.0 1.0 454876 19936 ?? Ss 16May08 2:41.97 63 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/ loginwindow console cswiger 2142 0.0 3.5 530720 73700 ?? S Fri07PM 75:16.23 62 /Applications/iTunes.app/Contents/MacOS/iTunes -psn_0_884952 [ ... ] cswiger 6449 0.0 0.4 437152 8456 s02 S+ 9:16PM 0:06.87 46 /usr/X11/bin/X/Applications/Utilities/X11.app/Contents/MacOS/X11 - auth /Users/cswiger/.Xauthority -launchd :1 cswiger 6461 0.0 0.3 83768 6060 s03 S 9:17PM 0:00.10 31 xterm cswiger 6467 0.0 0.1 356520 2512 ?? S 9:17PM 0:00.05 31 quartz-wm [ ...the above may wrap poorly, curse you format=flowed MIME type... ] Note that realtime tasks like iTunes uses up a lot of CPU time compared with normal processes; it's even using more CPU time than the WindowServer has. (This is from a MBP with a 2.33 GHz Core2Duo, running 10.5.2...) -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85506AE6-A37B-4644-B854-89397FFD6E19>