Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X.org / X11.app source code distribution available; cursor fix binary, too




On Oct 31, 2007, at 8:41 AM, Aaron Bannert wrote:


On Oct 30, 2007, at 7:27 PM, Ben Byer wrote:

I was able to successfully build and run Xquartz using your above instructions and your tarball. Can't do -arch x86_64 yet though (fails while building crAppleWM.m -> crAppleWM.o).

Yeah; we have not made any effort to build Xquartz as 64-bit because it doesn't seem like there's much benefit to do so -- X11 client apps, sure, but a 64-bit client can talk to a 32-bit server.

I can think of one big benefit, and possibly another:

1) x86_64 has twice as many general registers.

2) Darwin's VM avoids mapping x86_64 pages into the same virtual address range as the kernel (which is allowed on 32-bit archs under Darwin, basically a tradeoff in performance so Photoshop can allocate all 4GB of mem). This basically means that x86_64 has potentially much cheaper context switches, which is something I'm guessing X11 does a *lot* of, so that could be a big win for interactivity across the whole system. I could be wrong about the nitty gritty details of Darwin's VM, but it's definitely worth testing out.

So it may not be top priority now given feature bugs, but after those are handled we'll probably see a nice bump in speed when we go to 64-bit X11.


Fair enough -- right now, if it were the only 64-bit process, we'd pay a memory consumption hit by loading 64-bit frameworks which would not otherwise be necessary. Eventually, that will cease to be an issue (if more things run as 64-bit binaries).

If you want to try playing with it, just nuke crAppleWM -- it's only needed if you don't have libXplugin, and it's superceded by xprAppleWm.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer


_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >X.org / X11.app source code distribution available; cursor fix binary, too (From: Ben Byer <email@hidden>)
 >Re: X.org / X11.app source code distribution available; cursor fix binary, too (From: Aaron Bannert <email@hidden>)
 >Re: X.org / X11.app source code distribution available; cursor fix binary, too (From: Ben Byer <email@hidden>)
 >Re: X.org / X11.app source code distribution available; cursor fix binary, too (From: Aaron Bannert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.