Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2018 Mac mini up to 64GB
Handpicked deals...
$1250 $750
SAVE $500

$1199 $1099
SAVE $100

$3099 $1999
SAVE $1100

$3199 $2099
SAVE $1100

$4199 $2899
SAVE $1300

$2299 $1499
SAVE $800

$3399 $2399
SAVE $1000

$3198 $2198
SAVE $1000

$799 $799
SAVE $0

$5499 $4999
SAVE $500

$1799 $1199
SAVE $600

$719 $299
SAVE $420

$1799 $1199
SAVE $600

$795 $344
SAVE $451

$1997 $897
SAVE $1100

$1100 $900
SAVE $200

$348 $278
SAVE $70

$348 $278
SAVE $70

$3099 $1999
SAVE $1100

$2099 $1799
SAVE $300

$699 $499
SAVE $200

$1699 $1299
SAVE $400

$2999 $2599
SAVE $400

$1699 $1443
SAVE $256

$2798 $2498
SAVE $300

$2399 $2199
SAVE $200

$3798 $1898
SAVE $1900

$2840 $2498
SAVE $342

$2497 $1897
SAVE $600

$2498 $1798
SAVE $700

$3297 $1997
SAVE $1300

$2798 $2498
SAVE $300

$2998 $2498
SAVE $500

$1398 $1198
SAVE $200

$898 $798
SAVE $100

$1299 $939
SAVE $360

$4499 $2699
SAVE $1800

$4999 $4599
SAVE $400

$2199 $1899
SAVE $300

$2799 $2299
SAVE $500

$3099 $1999
SAVE $1100

$1998 $1298
SAVE $700

$249 $149
SAVE $100

$2844 $2297
SAVE $547

$1199 $1099
SAVE $100

$1999 $1399
SAVE $600

$999 $949
SAVE $50

New Mac Pro?

Consult with Lloyd today—


System configuration for CPU, GPU, memory, SSD, backup, RAID, optimizing performance, workflow.
For YOUR optimal workflow

Avoid costly mistakes in throwing money at the problem for less performance and/or buying the wrong machine for your own needs!

Optimizing Developer Builds Performance

Software developers are always looking for a faster way to build their code. The answer to faster builds is surprisingly simple, but it does depend on the type of build.

Two very different types of builds are documented here.

Building the GlassFish V3 application server

The GlassFish V3 application server is an open-source Java EE enterprise server consisting of a large number of modules. Its build system is complex, based on the popular maven 2.0 environment. Yet it is more or less brain-dead in terms of exploiting system resources: it runs single-threaded for most of its invocation, though some internal threading does occur, making dual-core systems worthwhile.

I tested the GlassFish V3 build as of mid-December 2008. I did an initial build, which downloads all dependencies from internet maven repositories. I then repeated the following command five or six times, to verify consistency in results: "mvn clean; mvn -o install". The "-o" flat tells maven not to access the network; it builds locally.

The systems were clones of each other, and both used the same model Hitachi 320GB hard drive, so the runtime environment was nearly identical.

OWC Sizzling Savings

Hot Deals all Week Long

4TB SSD only $348.

LIMITED TIME OFFERS, quantities limited, new deals every day!.

Results

The results are striking: the fast Hitachi 320GB hard drive was just as fast as a RAM disk, and faster than any external eSATA solution. This is not too surprising, given Mac OS X caching, and the fact that builds do lots of small I/Os, which are not efficient for eSATA on the MacBook Pro, and do not benefit from the striped reads or writes from a RAID (32K stripe size).

Bottom line

(a) So long as the internal hard drive remains fast (not too full), builds will run at top speed without any special effort; a RAM disk (risky in the event of a crash) offers no meaningful help.

(b) External eSATA does not help and a striped RAID actually degrades performance.

(c) Build speed scale closely with CPU clock speed.

Build GlassFish V3
Configuration Build time (seconds)
MBP 2.4GHz, 4GB, internal drive 15% full 188
196, 185, 189, 183, 189
MBP 2.4GHz, 6GB, internal drive 15% full

194

191, 196, 196

MBP 2.4GHz, 6GB, eSata*

194

192, 195

MBP 2.4GHz, 6GB, eSATA stripe**

204
204, 202, 206

MBP 2.4GHz, RAM disk 187
186, 187, 187, 176
 
MBP 2.8GHz, 4GB, internal drive 14% full 154
156, 149, 157, 151, 155
MBP 2.8GHz, 4GB, eSATA stripe** 155
155, 154
MBP 2.8GHz, 4GB, RAM disk

150
150, 150, 150, 148, 150

* Single 1TB Western Digital RE3 via Sonnet SATA Pro, FirmTek SeriTek/2EN2 Details.

** Striped dual 1TB Western Digital RE3 via Sonnet SATA Pro, FirmTek SeriTek/2EN2 Details.

The MacBook Pro 2.8GHz (2008 unibody) showed a 22% performance advantage over the previous generation 2.4GHz model. But this is not very impressive: its clock speed is 17% faster, accounting for most of the difference; its faster memory and larger CPU cache must account for the rest. It means that a previous generation MBP at the same clock speed would perform at effectively the same speed, so get a refurbished at a huge discount while they last (late 2008/early 2009).

Which Camera System 📷 is Best?
Which Lenses to Choose?🌈


Avoid costly mistakes and get the ideal system for your needs: diglloyd photographic consulting.

Building with Apple’s XCode

XCode is Apple’s integrated development environment. It is highly efficient, using all available CPU cores and fully exploits a quad-core Mac Pro at 400% CPU usage (an 8 core system would likely be fully exploited as well).

For this test, I built a universal binary DiskTester (32/64 bit for PowerPC and Intel), which means the entire application is built 4 times for the four combinations.

Bottom line: XCode scales linearly with the number of cores! Fast builds means as many CPU cores as possible. Build speed also scales ~linearly with the clock speed, but that is of minor importance relative to adding even a single extra core.

Build DiskTester 64/32 bit for Intel and PPC
Configuration Build time (seconds)
MBP 2.4GHz, internal drive 15% full 170
170, 171, 169
MBP 2.8GHz, internal drive 15% full

141
141, 141, 141

Mac Pro, RAM disk

73
73, 73

Mac Pro*

73
73, 73

Mac Pro, core #4 disabled 97
Mac Pro, cores #2, #4 disabled 146
Mac Pro, cores #2, #3, #4 disabled 283

* MacPro is 2006-vintage quad-core 3.0GHz

Upgrade Your Mac Memory
At much lower cost than Apple, with more options.
Lloyd recommends 64GB for iMac or Mac Pro for photography/videography.

Conclusions

For the GlassFish V3 build, the dominant factor is CPU speed, multiple cores are of little relevance due to the inefficiencies of its maven-based build.

For XCode, the dominant factor is the number of CPU cores, with CPU speed a secondary factor.

Save Big $$$$ on Memory for 2019 Mac Pro

Up to 65% better pricing than Apple

Lloyd recommends 32GB RDIMMS for most users.



Save the tax, we pay you back, instantly!
View all handpicked deals...

NEC PA271Q-BK 27" 16:9 Color-Critical IPS Monitor
$1199 $1099
SAVE $100

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__