Jump to content

WOW - Xbench


scousi
 Share

24 posts in this topic

Recommended Posts

I tried this trick from a posting on Macintouch.com

 

MacInTouch Reader] The XBench scores are not directly comparable. The PPC binary portion of XBench 1.2 was compiled against 10.4, while the Intel binary portion of XBench 1.2 was compiled on 10.4. This means that the Intel code is running into the coalesced update limitations.

You can perform an "even" test between the PPC and Intel systems by disabling Coalesced Updates on the Intel iMac before running Xbench. Open "/Developer/Applications/Performance Tools/Quartz Debug.app", choose "Tools -> Show Beam Sync Tools" and choose "Disable Beam Synchronization". (You can do this on the PPC mac, but I don't expect it to make a difference).

 

My score went up from 60 to 88! Not sure what it does though.

 

Celeond D 2.68 O/C to 3.79.

Link to comment
Share on other sites

Turning that option off actually disables QE and/or CI :P.

 

 

My bad, I think I posted the same quote on win2osx but never posted here..

 

http://developer.apple.com/technotes/tn2005/tn2133.html

 

 

Coalesced Updates

 

Mac OS X 10.4 introduces a new behavior of coalescing updates that enables Quartz to more efficiently update the frame buffer during each display refresh. In addition to increasing system efficiency, Coalescing updates improved visual consistency and eliminates "tearing" during scrolling and animation. To coalesce updates, the Quartz window server composites all window buffers into a single offscreen frame buffer before flushing it to the screen. When your application issues a flush command, the system doesn't actually flush that content until the next available display refresh. This allows all updates for multiple applications to happen at the same time. Window server operations (window resize or move, for example) are handled in the same manner—coalesced into a system-wide screen update.

 

It has something to do with our limited screen refresh rates (60hz) :)

Edited by domino
Link to comment
Share on other sites

Turning that option off actually disables QE and/or CI :P.

My bad, I think I posted the same quote on win2osx but never posted here..

 

http://developer.apple.com/technotes/tn2005/tn2133.html

It has something to do with our limited screen refresh rates (60hz) :)

 

It's apparently broken and Apple hasn't fixed it (Maybe in 10.4.4). Anyways, you can make it permanent by setting the deferredUpdates value to 0 in the /Library/System/Preferences/com.apple.windowsweevwe.plist file. It's under Compositor.

Link to comment
Share on other sites

It's apparently broken and Apple hasn't fixed it (Maybe in 10.4.4). Anyways, you can make it permanent by setting the deferredUpdates value to 0 in the /Library/System/Preferences/com.apple.windowsweevwe.plist file. It's under Compositor.

 

 

Mus have been blind!

It's

 

/Library/System/Preferences/com.apple.windowserver.plist

Link to comment
Share on other sites

The PPC binary portion of XBench 1.2 was compiled against 10.4, while the Intel binary portion of XBench 1.2 was compiled on 10.4.

Umm... what?

 

My Xbench went from 80.5 -> 104.63 by disabling Beam Sync. I got almost another point by enabling QE 2D:

 

Results	105.59	
System Info		
	Xbench Version		1.2
	System Version		10.4.3 (8F1111g)
	Physical RAM		4096 MB
	Model		ADP2,1
	Drive Type		WDC WD360GD-00FLC0
CPU Test	61.68	
	GCD Loop	85.40	4.50 Mops/sec
	Floating Point Basic	72.63	1.73 Gflop/sec
	vecLib FFT	44.48	1.47 Gflop/sec
	Floating Point Library	59.20	10.31 Mops/sec
Thread Test	153.82	
	Computation	143.90	2.92 Mops/sec, 4 threads
	Lock Contention	165.21	7.11 Mlocks/sec, 4 threads
Memory Test	122.77	
	System	106.15	
		Allocate	76.92	282.47 Kalloc/sec
		Fill	127.25	6187.02 MB/sec
		Copy	135.08	2790.01 MB/sec
	Stream	145.57	
		Copy	141.48	2922.16 MB/sec
		Scale	139.91	2890.44 MB/sec
		Add	151.51	3227.53 MB/sec
		Triad	150.12	3211.36 MB/sec
Quartz Graphics Test	95.70	
	Line	101.88	6.78 Klines/sec [50% alpha]
	Rectangle	94.04	28.08 Krects/sec [50% alpha]
	Circle	94.27	7.68 Kcircles/sec [50% alpha]
	Bezier	99.35	2.51 Kbeziers/sec [50% alpha]
	Text	89.89	5.62 Kchars/sec
OpenGL Graphics Test	181.17	
	Spinning Squares	181.17	229.83 frames/sec
User Interface Test	181.12	
	Elements	181.12	831.23 refresh/sec
Disk Test	71.72	
	Sequential	108.04	
		Uncached Write	90.88	55.80 MB/sec [4K blocks]
		Uncached Write	113.47	64.20 MB/sec [256K blocks]
		Uncached Read	110.66	32.39 MB/sec [4K blocks]
		Uncached Read	122.39	61.51 MB/sec [256K blocks]
	Random	53.68	
		Uncached Write	19.14	2.03 MB/sec [4K blocks]
		Uncached Write	123.13	39.42 MB/sec [256K blocks]
		Uncached Read	122.12	0.87 MB/sec [4K blocks]
		Uncached Read	167.71	31.12 MB/sec [256K blocks]

Edited by bofors
Link to comment
Share on other sites

bench global result went from 38 to 50 disabling beam sync here too....

Results	50.78	
System Info		
	Xbench Version		1.2
	System Version		10.4.3 (8F1111g)
	Physical RAM		512 MB
	Model		ADP2,1
	Drive Type		Maxtor 6Y080L0
CPU Test	50.19	
	GCD Loop	81.09	4.27 Mops/sec
	Floating Point Basic	56.74	1.35 Gflop/sec
	vecLib FFT	32.85	1.08 Gflop/sec
	Floating Point Library	51.80	9.02 Mops/sec
Thread Test	57.07	
	Computation	42.42	859.40 Kops/sec, 4 threads
	Lock Contention	87.18	3.75 Mlocks/sec, 4 threads
Memory Test	40.27	
	System	37.23	
		Allocate	39.64	145.56 Kalloc/sec
		Fill	39.72	1931.32 MB/sec
		Copy	33.13	684.29 MB/sec
	Stream	43.87	
		Copy	41.69	861.16 MB/sec
		Scale	41.51	857.68 MB/sec
		Add	46.40	988.34 MB/sec
		Triad	46.39	992.35 MB/sec
Quartz Graphics Test	89.30	
	Line	65.08	4.33 Klines/sec [50% alpha]
	Rectangle	82.03	24.49 Krects/sec [50% alpha]
	Circle	80.85	6.59 Kcircles/sec [50% alpha]
	Bezier	77.33	1.95 Kbeziers/sec [50% alpha]
	Text	318.70	19.94 Kchars/sec
OpenGL Graphics Test	28.99	
	Spinning Squares	28.99	36.78 frames/sec
User Interface Test	71.55	
	Elements	71.55	328.38 refresh/sec
Disk Test	62.89	
	Sequential	94.60	
		Uncached Write	92.88	57.03 MB/sec [4K blocks]
		Uncached Write	97.18	54.98 MB/sec [256K blocks]
		Uncached Read	82.66	24.19 MB/sec [4K blocks]
		Uncached Read	109.52	55.05 MB/sec [256K blocks]
	Random	47.10	
		Uncached Write	18.32	1.94 MB/sec [4K blocks]
		Uncached Write	92.33	29.56 MB/sec [256K blocks]
		Uncached Read	85.31	0.60 MB/sec [4K blocks]
		Uncached Read	128.30	23.81 MB/sec [256K blocks]

 

DS

Link to comment
Share on other sites

So, does anybody know how to set OS X to disable Beam Synchronization on boot?

 

I assume there is some plist (like that to enable Quartz Extreme 2d) that needs to be edited but I do not know (and I already looked in /Library/Preferences/com.apple.windowserver.plist).

 

Do we need a special thread for this tangent?

 

EDIT 3: Nevermind, I just found it:

Force Quit the Quartz Debug application (you need to force quit to make the changes "stick;" regular quitting will re-enable Beam Sync upon quitting)

 

http://www.macosxhints.com/article.php?sto...050518113854620

 

This also works:

sudo defaults write /Library/Preferences/com.apple.windowserver Compositor -dict deferredUpdates 0

http://www.macosxhints.com/comment.php?mod...rder=&pid=58254

 

NOTE: After rebooting, relaunching Quartz Debug will re-enable Beam Sych. So to verify that Beam Sync. is actually disabled, open com.apple.windowserver.plist with /Developer/Application/Utitlies/Property List Editor.app and look for Root->Compositor->deferredUpdates to be set to 0.

 

One more thing, this Beam Sync. speed trick may only work on LCD displays.

Edited by bofors
Link to comment
Share on other sites

  • 2 weeks later...
i don't have this file:

 

com.apple.windowserver.plist

 

anywhere on my hard-drive. is it created when a driver kext is loaded?

On the install DVD durring install, it has a button that says "custom" or something like that at the bottom on the last step before you click install. But you can still do it from the dvd, i think, open on desktop, find the folder that says packages if not in there maybe in some exrtras folder or something, then just click it and it will start the install.

 

 

I'll have to try this trick I ran xbench two times the first was low like fifty something, the second time though it was 79 and the only thing that had changed was I had reinstalled it onto a maxtor 100 mb sata drive where before it was on a very old maxtor pata... that and itunes had expired so I had dropped it the trash can.

Link to comment
Share on other sites

  • 2 months later...

Open terminal and copy/past :

 

sudo defaults write /Library/Preferences/com.apple.windowserver Compositor -dict deferredUpdates 0

 

type your password and ok

 

 

repair permission, reboot

 

it's permanent.

Link to comment
Share on other sites

  • 1 month later...

I went to the .plist file to enable quartz 2d extreme and this is what it shows:

 

 

 

bplist00Ó _Quartz2DExtremeEnabled[DisplaySets_CGSInterocitorSelectMode¡¡ß ! "$% &' ( (% *+, -'_UnmirroredOriginX_RefreshRate16.16XMirrorIDYDisplayID_StereoBlueLineS

ncVActive_UnmirroredWidthTUnitWIOFlags_UnmirroredHeightXMirrored_DisplaySe

ialNumberTModeWOriginX^UnmirroredModeUWidthXIsStereoWOriginYUDepth_DisplayProd

ctID_IODisplayLocation_UnmirroredOriginY_DisplayVendorIDVHeight<^€%_†IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/P0P1@1/IOPCI2PCIBridge/display@0/OMNI,CALLISTO/CallistoFB/display0/AppleDisplayunkn(4OPRT‡›®·ÁÖÝïôü.3;JPYagzŽ¢´»½ÂÇÈÊÍÐ

ÕÖØÝf.k

 

 

 

 

... I don't see anywhere to set a value to "yes" (I do appologize if its right in front of my face... i'm still a relative noob at this stuff)

 

thanks a million.

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...
 Share

×
×
  • Create New...